mbox series

[scsi-next,v2,0/2] scsi: add megasas_dcmd_timeout helper

Message ID cover.1720056514.git.mengfanhui@kylinos.cn (mailing list archive)
Headers show
Series scsi: add megasas_dcmd_timeout helper | expand

Message

Fanhui Meng July 4, 2024, 1:40 a.m. UTC
This patch set contains small cleanups for megaraid_sas. Patch 1 adds
a new helper megasas_dcmd_timeout() to reduce duplicate code. Patch 2
makes dcmd_timeout_ocr_possible() static.

Fanhui Meng (2):
  scsi: megaraid_sas: Add megasas_dcmd_timeout helper
  scsi: megaraid_sas: make dcmd_timeout_ocr_possible static

 drivers/scsi/megaraid/megaraid_sas.h      |   2 +
 drivers/scsi/megaraid/megaraid_sas_base.c | 203 ++++------------------
 2 files changed, 38 insertions(+), 167 deletions(-)