mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-18 17:38:00 +00:00
Replace the calculations for the payload length in qtnf_cmd_band_fill_iftype with struct_size() and size_sub(). While the payload length does not get directly passed to an allocation function, the performed calculation is still calculating the size of a flexible array structure (minus the size of a header structure). Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Cc: Igor Mitsyanko <imitsyanko@quantenna.com> Cc: Sergey Matyukevich <geomatsi@gmail.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230307230212.3735818-1-jacob.e.keller@intel.com |
||
|---|---|---|
| .. | ||
| pcie | ||
| bus.h | ||
| cfg80211.c | ||
| cfg80211.h | ||
| commands.c | ||
| commands.h | ||
| core.c | ||
| core.h | ||
| debug.c | ||
| debug.h | ||
| event.c | ||
| event.h | ||
| Kconfig | ||
| Makefile | ||
| qlink_util.c | ||
| qlink_util.h | ||
| qlink.h | ||
| qtn_hw_ids.h | ||
| shm_ipc_defs.h | ||
| shm_ipc.c | ||
| shm_ipc.h | ||
| switchdev.h | ||
| trans.c | ||
| trans.h | ||
| util.c | ||
| util.h | ||