mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-24 19:59:25 +07:00
df75786b92
Make use of the struct_size() helper instead of an open-coded version in order to avoid any potential type mistakes, in particular in the context in which this code is being used. So, change the following form: sizeof(*tbl) + num_entries * sizeof(struct wmi_bss_roam_info) to : struct_size(tbl, info, num_entries) This code was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> |
||
---|---|---|
.. | ||
bmi.c | ||
bmi.h | ||
cfg80211.c | ||
cfg80211.h | ||
common.h | ||
core.c | ||
core.h | ||
debug.c | ||
debug.h | ||
hif-ops.h | ||
hif.c | ||
hif.h | ||
htc_mbox.c | ||
htc_pipe.c | ||
htc-ops.h | ||
htc.h | ||
init.c | ||
Kconfig | ||
main.c | ||
Makefile | ||
recovery.c | ||
sdio.c | ||
target.h | ||
testmode.c | ||
testmode.h | ||
trace.c | ||
trace.h | ||
txrx.c | ||
usb.c | ||
wmi.c | ||
wmi.h |