aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-07-03 11:48:46 +0000
committerMartin K. Petersen <[email protected]>2023-07-06 01:41:57 +0000
commit47699a2b63caaa0de4841d4402627c2fdf3452a6 (patch)
treebab8353b76c7edce9892803725963ca525cdad13 /tools/perf/scripts/python/sctop.py
parentscsi: ufs: ufs-mediatek: Add dependency for RESET_CONTROLLER (diff)
downloadkernel-47699a2b63caaa0de4841d4402627c2fdf3452a6.tar.gz
kernel-47699a2b63caaa0de4841d4402627c2fdf3452a6.zip
scsi: aacraid: Avoid -Warray-bounds warning
The one-element array in aac_aifcmd is actually meant as a flexible array, and causes an overflow warning that can be avoided using the normal flex arrays: drivers/scsi/aacraid/commsup.c:1166:17: error: array index 1 is past the end of the array (that has type 'u8[1]' (aka 'unsigned char[1]'), cast to '__le32 *' (aka 'unsigned int *')) [-Werror,-Warray-bounds] (((__le32 *)aifcmd->data)[1] == cpu_to_le32(3)); ^ ~ Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions