Re: [PATCH 1/9] dm-mpath: check kstrdup return value in parse_hw_handler

2015-05-01 Thread Martin K. Petersen
Christoph == Christoph Hellwig h...@lst.de writes: -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line unsubscribe linux-scsi in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 7/9] scsi_dh: kill struct scsi_dh_data

2015-05-01 Thread Martin K. Petersen
Christoph == Christoph Hellwig h...@lst.de writes: Christoph Add a -handler and a -handler_data field to struct Christoph scsi_device and kill this indirection. Also move struct Christoph scsi_device_handler to scsi_dh.h so that changes to it don't Christoph require rebuilding every SCSI LLDD.

Re: [PATCH 4/9] dm-mpath, scsi_dh: request scsi_dh modules in scsi_dh, not dm-mpath

2015-05-01 Thread Mike Snitzer
On Thu, Apr 30 2015 at 1:32pm -0400, Christoph Hellwig h...@lst.de wrote: This way we can reused the same code any attachment method, not just those requested from dm-mpath. Signed-off-by: Christoph Hellwig h...@lst.de Acked-by: Mike Snitzer snit...@redhat.com -- To unsubscribe from this

[PATCH v4 1/4] target: Fix inconsistent address passed to kunmap_atomic() in sbc_dif_copy_prot()

2015-05-01 Thread Akinobu Mita
In sbc_dif_copy_prot(), the addresses passed to kunmap_atomic() are inconsistent with the addresses which are mapped by kmap_atomic(). That could be problematic if an SG element has its length larger than PAGE_SIZE as kunmap_atomic() will attempt to unmap different page. Signed-off-by: Akinobu

Re: [PATCH 09/11] drivers/scsi: include module.h for modular ufshcd-pltfrm code

2015-05-01 Thread Paul Gortmaker
On 15-04-30 10:35 PM, James Bottomley wrote: On Thu, 2015-04-30 at 21:47 -0400, Paul Gortmaker wrote: This file is built off of a tristate Kconfig option and also contains modular function calls so it should explicitly include module.h to avoid compile breakage during header shuffles done in