diff options
| author | Alex Elder <[email protected]> | 2022-03-11 16:24:23 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-03-12 06:50:07 +0000 |
| commit | cb631a6398192f79f33a2480517c272120985020 (patch) | |
| tree | 5cb4538b60f7b4c578065add9b553c8500f730a1 /drivers/net/dsa/dsa_loop.c | |
| parent | Merge tag 'wireless-next-2022-03-11' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
| download | kernel-cb631a6398192f79f33a2480517c272120985020.tar.gz kernel-cb631a6398192f79f33a2480517c272120985020.zip | |
net: ipa: use struct_size() for the interconnect array
In review for commit 8ee7ec4890e2b ("net: ipa: embed interconnect
array in the power structure"), Jakub Kicinski suggested that a
follow-up patch use struct_size() when computing the size of the
IPA power structure, which ends with a flexible array member.
Do that.
Suggested-by: Jakub Kicinski <[email protected]>
Signed-off-by: Alex Elder <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions
