Skip to content

Improve const and reserved command handling

Bart Van Assche linux-scsi 1 version Applied

Status from this message: Applied to 6.17/scsi-staging, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3scsi: core: Make scsi_cmd_to_rq() accept const argumentsdrivers/scsi/scsi_logging.c include/scsi/scsi_cmnd.h+10 -94 replies
2/3scsi: core: Make scsi_cmd_priv() accept const argumentsinclude/scsi/scsi_cmnd.h+4 -42 replies
3/3scsi: core: Use scsi_cmd_priv() instead of open-coding itdrivers/scsi/scsi_lib.c+1 -13 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchJohn Garry
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Improve const and reserved command handling

Hi Martin,

This patch series includes three cleanup patches for the SCSI core that do not modify any functionality. Please consider these patches for the next merge window.

Thanks,

Bart.

Bart Van Assche (3):
scsi: core: Make scsi_cmd_to_rq() accept const arguments
scsi: core: Make scsi_cmd_priv() accept const arguments
scsi: core: Use scsi_cmd_priv() instead of open-coding it

 drivers/scsi/scsi_lib.c     |  2 +-
 drivers/scsi/scsi_logging.c | 10 +++++-----
 include/scsi/scsi_cmnd.h    | 17 +++++++++--------
 3 files changed, 15 insertions(+), 14 deletions(-)