Commit 7f53c55
i3c: master: use kzalloc_flex
Simplifies allocations by using a flexible array member in this struct.
Add __counted_by to get extra runtime analysis.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260312001534.24423-1-rosenp@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>1 parent eaa1d09 commit 7f53c55
1 file changed
Lines changed: 4 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2820 | 2820 | | |
2821 | 2821 | | |
2822 | 2822 | | |
2823 | | - | |
2824 | 2823 | | |
2825 | 2824 | | |
2826 | 2825 | | |
| 2826 | + | |
2827 | 2827 | | |
2828 | 2828 | | |
2829 | 2829 | | |
| |||
2851 | 2851 | | |
2852 | 2852 | | |
2853 | 2853 | | |
2854 | | - | |
2855 | 2854 | | |
2856 | 2855 | | |
2857 | 2856 | | |
| |||
2874 | 2873 | | |
2875 | 2874 | | |
2876 | 2875 | | |
2877 | | - | |
| 2876 | + | |
2878 | 2877 | | |
2879 | 2878 | | |
2880 | 2879 | | |
| 2880 | + | |
| 2881 | + | |
2881 | 2882 | | |
2882 | 2883 | | |
2883 | 2884 | | |
2884 | 2885 | | |
2885 | | - | |
2886 | | - | |
2887 | | - | |
2888 | | - | |
2889 | | - | |
2890 | | - | |
2891 | 2886 | | |
2892 | 2887 | | |
2893 | 2888 | | |
| |||
2906 | 2901 | | |
2907 | 2902 | | |
2908 | 2903 | | |
2909 | | - | |
2910 | 2904 | | |
2911 | 2905 | | |
2912 | 2906 | | |
| |||
0 commit comments