summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexey V. Vissarionov <gremlin@altlinux.org>2023-01-18 06:12:55 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2023-01-18 18:59:46 -0500
commitbbbd25499100c810ceaf5193c3cfcab9f7402a33 (patch)
treebd0c6aa4ce2a8eccded72ad9a73e3366052f048f /include
parent84ed64b1a7a7fcd507598dee7708c1f225123711 (diff)
downloadlinux-bbbd25499100c810ceaf5193c3cfcab9f7402a33.tar.bz2
scsi: hpsa: Fix allocation size for scsi_host_alloc()
The 'h' is a pointer to struct ctlr_info, so it's just 4 or 8 bytes, while the structure itself is much bigger. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: edd163687ea5 ("hpsa: add driver for HP Smart Array controllers.") Link: https://lore.kernel.org/r/20230118031255.GE15213@altlinux.org Signed-off-by: Alexey V. Vissarionov <gremlin@altlinux.org> Acked-by: Don Brace <don.brace@microchip.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions