mbox series

[0/3] scsi: mpi3mr: fix issues found by KASAN

Message ID 20221212015706.2609544-1-shinichiro.kawasaki@wdc.com (mailing list archive)
Headers show
Series scsi: mpi3mr: fix issues found by KASAN | expand

Message

Shinichiro Kawasaki Dec. 12, 2022, 1:57 a.m. UTC
While I downloaded new firmware to eHBA-9600 on KASAN enabled kernel,
I observed three BUGs. This series addresses them.

Shin'ichiro Kawasaki (3):
  scsi: mpi3mr: fix alltgt_info copy size in mpi3mr_get_all_tgt_info
  scsi: mpi3mr: fix bitmap memory size calculation
  scsi: mpi3mr: fix missing mrioc->evtack_cmds initialization

 drivers/scsi/mpi3mr/mpi3mr_app.c |  9 ++++++++-
 drivers/scsi/mpi3mr/mpi3mr_fw.c  | 25 ++++++++++---------------
 drivers/scsi/mpi3mr/mpi3mr_os.c  |  4 ++++
 3 files changed, 22 insertions(+), 16 deletions(-)