Commit 83d460c9 authored by Yuri Karpov's avatar Yuri Karpov Committed by Greg Kroah-Hartman
Browse files

scsi: hpsa: Fix allocation size for Scsi_Host private data



[ Upstream commit 504e2bed ]

struct Scsi_Host private data contains pointer to struct ctlr_info.

Restore allocation of only 8 bytes to store pointer in struct Scsi_Host
private data area.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: bbbd2549 ("scsi: hpsa: Fix allocation size for scsi_host_alloc()")
Signed-off-by: default avatarYuri Karpov <YKarpov@ispras.ru>
Link: https://lore.kernel.org/r/20240312170447.743709-1-YKarpov@ispras.ru


Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a3f5c440
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment