[PATCH] scsi: replace strict_strtoul() with kstrtoul()

2013-06-01 Thread Jingoo Han
The usage of strict_strtoul() is not preferred, because strict_strtoul() is obsolete. Thus, kstrtoul() should be used. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/pmcraid.c|2 +- drivers/scsi/scsi_sysfs.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

[PATCH] [SCSI] libsas: Cocci spatch ptr_ret.spatch

2013-06-01 Thread Thomas Meyer
Signed-off-by: Thomas Meyer tho...@m3y3r.de --- diff -u -p a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c --- a/drivers/scsi/libsas/sas_scsi_host.c +++ b/drivers/scsi/libsas/sas_scsi_host.c @@ -1093,9 +1093,7 @@ int sas_init_queue(struct sas_ha_struct

Re: [PATCH] [SCSI] libsas: Cocci spatch ptr_ret.spatch

2013-06-01 Thread James Bottomley
On Sat, 2013-06-01 at 11:59 +0200, Thomas Meyer wrote: Signed-off-by: Thomas Meyer tho...@m3y3r.de --- diff -u -p a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c --- a/drivers/scsi/libsas/sas_scsi_host.c +++ b/drivers/scsi/libsas/sas_scsi_host.c @@ -1093,9

Re: [PATCH v3 0/6] scsi_debug: bug fixes and cleanups for data integrity support

2013-06-01 Thread Akinobu Mita
2013/5/29 Martin K. Petersen martin.peter...@oracle.com: I have some patches pending as part of my next DIF/DIX update that makes some of these things more palatable at the block/SCSI level. Akinobu voiced interest in finishing the scsi_debug work on top of my code. Yes. I'm interested in

[PATCH] [SCSI] ufs: fix register address in UIC error interrupt handling

2013-06-01 Thread Akinobu Mita
In UIC error interrupt handling, it checks if UIC data link layer error code indicates PA_INIT_ERROR in order to determine whether a fatal error handling is needed or not. But the code tries to read UIC data link layer error code from wrong REG_UIC_ERROR_CODE_PHY_ADAPTER_LAYER, it should be