Alexey V. Vissarionov eced3d368f scsi: hpsa: Fix allocation size for scsi_host_alloc()
[ Upstream commit bbbd25499100c810ceaf5193c3cfcab9f7402a33 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-01 08:34:36 +01:00
..
2022-08-04 19:47:37 -07:00
2022-08-04 19:47:37 -07:00
2022-05-23 23:24:10 -04:00
2022-10-07 12:33:18 -07:00
2022-10-07 12:33:18 -07:00
2021-01-22 21:14:08 -05:00
2022-02-22 21:11:02 -05:00
2021-01-22 21:14:08 -05:00
2022-07-26 22:13:29 -04:00
2022-09-01 01:02:10 -04:00
2022-12-31 13:32:35 +01:00
2022-02-22 21:11:02 -05:00
2021-04-13 00:20:48 -04:00
2022-06-27 22:56:21 -04:00
2022-01-25 00:09:41 -05:00
2022-02-22 21:11:02 -05:00
2021-03-24 23:03:43 -04:00
2022-10-07 12:33:18 -07:00
2022-10-07 12:33:18 -07:00
2022-01-22 08:33:37 +02:00
2022-09-01 01:02:10 -04:00
2022-05-08 14:28:18 -04:00
2022-09-30 07:51:13 -06:00
2021-12-22 23:41:13 -05:00
2022-06-28 06:30:26 -06:00
2022-10-07 12:33:18 -07:00
2021-04-13 00:20:48 -04:00
2022-10-07 12:33:18 -07:00