mbox series

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

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

Message

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

Changes from v1:
* 2nd patch: Modified to use bitmap helper functions and number of bits
* 1st/3rd patches: Reflected a comment on the list and added Reviewed-by tags

Shin'ichiro Kawasaki (3):
  scsi: mpi3mr: fix alltgt_info copy size in mpi3mr_get_all_tgt_info
  scsi: mpi3mr: use number of bits to manage bitmap sizes
  scsi: mpi3mr: fix missing mrioc->evtack_cmds initialization

 drivers/scsi/mpi3mr/mpi3mr.h     | 10 +----
 drivers/scsi/mpi3mr/mpi3mr_app.c |  9 ++++-
 drivers/scsi/mpi3mr/mpi3mr_fw.c  | 68 +++++++++++++-------------------
 drivers/scsi/mpi3mr/mpi3mr_os.c  |  4 ++
 4 files changed, 42 insertions(+), 49 deletions(-)