summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_cong.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-03-11 17:24:23 +0100
committerJakub Kicinski <kuba@kernel.org>2022-03-12 07:50:07 +0100
commitcb631a6398192f79f33a2480517c272120985020 (patch)
tree5cb4538b60f7b4c578065add9b553c8500f730a1 /net/ipv4/tcp_cong.c
parentMerge tag 'wireless-next-2022-03-11' of git://git.kernel.org/pub/scm/linux/ke... (diff)
downloadlinux-cb631a6398192f79f33a2480517c272120985020.tar.xz
linux-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 <kuba@kernel.org> Signed-off-by: Alex Elder <elder@linaro.org> Link: https://lore.kernel.org/r/20220311162423.872645-1-elder@linaro.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_cong.c')
0 files changed, 0 insertions, 0 deletions