WSL2-Linux-Kernel/drivers/net/ipa
Alex Elder cb631a6398 net: ipa: use struct_size() for the interconnect array
In review for commit 8ee7ec4890 ("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>
2022-03-11 22:50:07 -08:00
..
Kconfig net: ipa: add an interconnect dependency 2022-03-02 22:14:05 -08:00
Makefile
gsi.c
gsi.h
gsi_private.h
gsi_reg.h
gsi_trans.c net: ipa: introduce gsi_channel_trans_idle() 2022-02-04 10:16:08 +00:00
gsi_trans.h net: ipa: introduce gsi_channel_trans_idle() 2022-02-04 10:16:08 +00:00
ipa.h
ipa_cmd.c
ipa_cmd.h
ipa_data-v3.1.c
ipa_data-v3.5.1.c
ipa_data-v4.2.c
ipa_data-v4.5.c
ipa_data-v4.9.c
ipa_data-v4.11.c
ipa_data.h
ipa_endpoint.c net: ipa: determine replenish doorbell differently 2022-02-04 10:16:08 +00:00
ipa_endpoint.h net: ipa: determine replenish doorbell differently 2022-02-04 10:16:08 +00:00
ipa_gsi.c
ipa_gsi.h
ipa_interrupt.c
ipa_interrupt.h
ipa_main.c
ipa_mem.c
ipa_mem.h
ipa_modem.c
ipa_modem.h
ipa_power.c net: ipa: use struct_size() for the interconnect array 2022-03-11 22:50:07 -08:00
ipa_power.h
ipa_qmi.c
ipa_qmi.h
ipa_qmi_msg.c
ipa_qmi_msg.h
ipa_reg.c
ipa_reg.h
ipa_resource.c
ipa_resource.h
ipa_smp2p.c
ipa_smp2p.h
ipa_sysfs.c
ipa_sysfs.h
ipa_table.c
ipa_table.h
ipa_uc.c
ipa_uc.h
ipa_version.h