Re: [PATCH] scsi: cxlflash: fix assignment of the backend operations

2018-07-05 Thread Matthew R. Ochs
On Thu, Jul 05, 2018 at 07:26:23AM +0200, Cédric Le Goater wrote: > commit cd43c221bb5e ("scsi: cxlflash: Isolate external module > dependencies") introduced the use of ifdefs to avoid compilation > errors when one of the possible backend driver, CXL or OCXL, is not > compiled. > > Unfortunately,

Re: [PATCH] scsi: sd_zbc: Fix variable type and bogus comment

2018-07-05 Thread Bart Van Assche
On 07/02/18 23:23, Damien Le Moal wrote: Fix the description of sd_zbc_check_zone_size() to correctly explain that the returned value is a number of device blocks, not bytes. Additionally, the 32 bits "ret" variable used in this function may truncate the 64 bits zone_blocks variable value upon

[PATCH] qedf: Send the driver state to MFW.

2018-07-05 Thread Chad Dupuis
From: Saurav Kashyap Need to notify firmware when driver is loaded and unloaded. Signed-off-by: Saurav Kashyap Signed-off-by: Chad Dupuis --- drivers/scsi/qedf/qedf_main.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/scsi/qedf/qedf_main.c

[PATCH] scsi: ses: Guard against page 10 descriptors changes while processing them

2018-07-05 Thread Stefano Brivio
SAS page 10 descriptors might change once we re-read them in ses_enclosure_data_process(), causing out-of-bound reads such as this one found by KASAN: [ 321.349000] sd 1:2:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK [ 321.357723] sd 1:2:0:0: [sdb] tag#0 CDB: