From: Damien Le Moal <damien.lemoal@xxxxxxx> This series of small patches cleanup code mainly in sd.c and sd_zbc.c, with another small improvement in scsi_error.c. Only the last patch of this series introduces a functional change. All other patches do not change any functionality. Changes from v1: * Dropped white space patch and white space changes in other patches as requested by Bart. * Dropped patch changing handling of sense_valid in sd_done() as requested by James. * Fixed patch 4 (function declaration) to remove checkscript warnings Bart Van Assche (1): sd_zbc: Remove superfluous assignments Damien Le Moal (6): sd: Fix functions description sd: Improve sd_completed_bytes sd: Cleanup sd_done sense data handling scsi: Improve scsi_get_sense_info_fld sd_zbc: Rename sd_zbc_setup_write_cmnd sd_zbc: Do not write lock zones for reset drivers/scsi/scsi_error.c | 38 ++++++++----------- drivers/scsi/sd.c | 97 ++++++++++++++++++++++++----------------------- drivers/scsi/sd.h | 8 ++-- drivers/scsi/sd_zbc.c | 60 +++++++++++------------------ include/scsi/scsi_eh.h | 4 +- 5 files changed, 93 insertions(+), 114 deletions(-) -- 2.9.3