[PATCH] isci: add CONFIG_PM_SLEEP to suspend/resume functions

2013-03-26 Thread Jingoo Han
' defined but not used [-Wunused-function] drivers/scsi/isci/init.c:743:12: warning: 'isci_resume' defined but not used [-Wunused-function] Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/isci/init.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers

[PATCH RESEND 1/2] [SCSI] a4000t: use module_platform_driver_probe()

2013-05-02 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/a4000t.c | 15 +-- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/drivers/scsi/a4000t.c b/drivers/scsi

[PATCH RESEND 2/2] [SCSI] a3000: use module_platform_driver_probe()

2013-05-02 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Acked-by: Geert Uytterhoeven ge...@linux-m68k.org Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/a3000.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff

[PATCH] scsi: use platform_{get,set}_drvdata()

2013-05-23 Thread Jingoo Han
after device_release or on probe failure. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/jazz_esp.c |4 ++-- drivers/scsi/qlogicpti.c |4 ++-- drivers/scsi/sni_53c710.c |4 ++-- drivers/scsi/sun3x_esp.c |4 ++-- drivers/scsi/sun_esp.c|6 ++ 5 files

[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 V2] scsi: replace strict_strtoul() with kstrtoul()

2013-06-03 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 --- Changes since v1: - Used return code from kstrtoul(). drivers/scsi/pmcraid.c|6 -- drivers/scsi/scsi_sysfs.c

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

2013-07-19 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|6 -- drivers/scsi/scsi_sysfs.c |6 -- 2 files changed, 8 insertions(+), 4 deletions

[PATCH] target: replace strict_strto*() with kstrto*()

2013-07-19 Thread Jingoo Han
The usage of strict_strtoul() and strict_strtoull() is not preferred, because strict_strtoul() and strict_strtoull() are obsolete. Thus, kstrtoul() and kstrtoull() should be used. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/target/iscsi/iscsi_target_configfs.c |8

[PATCH 35/35] sgiwd93: use dev_get_platdata()

2013-07-30 Thread Jingoo Han
Use the wrapper function for retrieving the platform data instead of accessing dev-platform_data directly. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/sgiwd93.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/sgiwd93.c b/drivers/scsi

[PATCH 1/8] [SCSI] scsi_sysfs: Staticize local symbols

2013-08-06 Thread Jingoo Han
it be static? Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/scsi_sysfs.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c index 7e50061..043150e 100644 --- a/drivers/scsi/scsi_sysfs.c +++ b/drivers/scsi

[PATCH 2/8] [SCSI] tgt: add __user annotation

2013-08-06 Thread Jingoo Han
Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/scsi_tgt_lib.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/scsi_tgt_lib.c b/drivers/scsi/scsi_tgt_lib.c index 84a1fdf..bd82ea6 100644 --- a/drivers/scsi/scsi_tgt_lib.c +++ b/drivers/scsi

[PATCH 3/8] [SCSI] dc395x: use NULL instead of 0

2013-08-06 Thread Jingoo Han
) Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/dc395x.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c index e73445b..3b09c16 100644 --- a/drivers/scsi/dc395x.c +++ b/drivers/scsi/dc395x.c @@ -1526,7

[PATCH 4/8] [SCSI] megaraid: add missing __iomem annotation

2013-08-06 Thread Jingoo Han
:got void *noident drivers/scsi/megaraid.c:4653:26: warning: incorrect type in argument 1 (different address spaces) drivers/scsi/megaraid.c:4653:26:expected void volatile [noderef] asn:2*addr drivers/scsi/megaraid.c:4653:26:got void *noident Signed-off-by: Jingoo Han jg1@samsung.com

[PATCH 5/8] [SCSI] initio: Staticize local symbols

2013-08-06 Thread Jingoo Han
'initio_bus_device_reset' was not declared. Should it be static? Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/initio.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/drivers/scsi/initio.c b/drivers/scsi/initio.c index 1befc26..527b247 100644

[PATCH 6/8] [SCSI] 3w-sas: add missing __iomem annotation

2013-08-06 Thread Jingoo Han
:expected void *reg drivers/scsi/3w-sas.c:1328:55:got unsigned char [noderef] asn:2* Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/3w-sas.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/3w-sas.c b/drivers/scsi/3w-sas.c index c845bdb..0d9c722

[PATCH 7/8] [SCSI] osst: Staticize local symbols

2013-08-06 Thread Jingoo Han
it be static? drivers/scsi/osst.c:5766:1: warning: symbol 'dev_attr_file_count' was not declared. Should it be static? Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/osst.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/osst.c b

[PATCH 8/8] [SCSI] aic94xx: fix bit masking

2013-08-06 Thread Jingoo Han
Bit masking should happen before casting (u16), thus parentheses are necessary in order to fix the following sparse warning: drivers/scsi/aic94xx/aic94xx_seq.c:748:35: warning: cast truncates bits from constant value (93ef7f becomes ef7f) Signed-off-by: Jingoo Han jg1@samsung.com

Re: [PATCH 3/8] [SCSI] dc395x: use NULL instead of 0

2013-08-07 Thread Jingoo Han
On Wednesday, August 07, 2013 3:50 PM, Oliver Neukum wrote: On Wed, 2013-08-07 at 12:55 +0900, Jingoo Han wrote: @@ -4183,15 +4183,17 @@ static void check_eeprom(struct NvRamType *eeprom, unsigned long io_port) */ dprintkl(KERN_WARNING

Re: [PATCH 3/8] [SCSI] dc395x: use NULL instead of 0

2013-08-07 Thread Jingoo Han
On Wednesday, August 07, 2013 3:50 PM, Oliver Neukum wrote: On Wed, 2013-08-07 at 12:55 +0900, Jingoo Han wrote: @@ -4183,15 +4183,17 @@ static void check_eeprom(struct NvRamType *eeprom, unsigned long io_port) */ dprintkl(KERN_WARNING

Re: [PATCH 3/8] [SCSI] dc395x: use NULL instead of 0

2013-08-07 Thread Jingoo Han
-Original Message- From: Julian Calaby [mailto:julian.cal...@gmail.com] Sent: Wednesday, August 07, 2013 5:21 PM To: Jingoo Han Cc: Oliver Neukum; James Bottomley; Ali Akcaagac; Jamie Lenehan; dc3...@twibble.org; James Bottomley; linux-scsi Subject: Re: [PATCH 3/8] [SCSI] dc395x

Re: [PATCH 3/8] [SCSI] dc395x: use NULL instead of 0

2013-08-07 Thread Jingoo Han
On Wed, Wednesday, August 07, 2013 5:40 PM, Julian Calaby wrote: On Wed, Aug 7, 2013 at 6:36 PM, Jingoo Han jg1@samsung.com wrote: On Wednesday, August 07, 2013 5:21 PM, Julian Calaby wrote: On Wed, Aug 7, 2013 at 5:45 PM, Jingoo Han jg1@samsung.com wrote: On Wednesday, August 07

[PATCH V2 1/8] [SCSI] scsi_sysfs: Staticize local symbols

2013-08-07 Thread Jingoo Han
it be static? Signed-off-by: Jingoo Han jg1@samsung.com --- No changes since v1: drivers/scsi/scsi_sysfs.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c index 7e50061..043150e 100644 --- a/drivers/scsi/scsi_sysfs.c

[PATCH V2 2/8] [SCSI] tgt: add __user annotation

2013-08-07 Thread Jingoo Han
Signed-off-by: Jingoo Han jg1@samsung.com --- No changes since v1: drivers/scsi/scsi_tgt_lib.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/scsi_tgt_lib.c b/drivers/scsi/scsi_tgt_lib.c index 84a1fdf..bd82ea6 100644 --- a/drivers/scsi/scsi_tgt_lib.c

[PATCH V2 4/8] [SCSI] megaraid: add missing __iomem annotation

2013-08-07 Thread Jingoo Han
:got void *noident drivers/scsi/megaraid.c:4653:26: warning: incorrect type in argument 1 (different address spaces) drivers/scsi/megaraid.c:4653:26:expected void volatile [noderef] asn:2*addr drivers/scsi/megaraid.c:4653:26:got void *noident Signed-off-by: Jingoo Han jg1@samsung.com

[PATCH V2 5/8] [SCSI] initio: Staticize local symbols

2013-08-07 Thread Jingoo Han
'initio_bus_device_reset' was not declared. Should it be static? Signed-off-by: Jingoo Han jg1@samsung.com --- No changes since v1: drivers/scsi/initio.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/drivers/scsi/initio.c b/drivers/scsi/initio.c index

[PATCH V2 6/8] [SCSI] 3w-sas: add missing __iomem annotation

2013-08-07 Thread Jingoo Han
:expected void *reg drivers/scsi/3w-sas.c:1328:55:got unsigned char [noderef] asn:2* Signed-off-by: Jingoo Han jg1@samsung.com --- No changes since v1: drivers/scsi/3w-sas.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/3w-sas.c b/drivers/scsi/3w-sas.c

[PATCH V2 7/8] [SCSI] osst: Staticize local symbols

2013-08-07 Thread Jingoo Han
it be static? drivers/scsi/osst.c:5766:1: warning: symbol 'dev_attr_file_count' was not declared. Should it be static? Signed-off-by: Jingoo Han jg1@samsung.com --- No changes since v1: drivers/scsi/osst.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH V2 8/8] [SCSI] aic94xx: fix bit masking

2013-08-07 Thread Jingoo Han
Bit masking should happen before casting (u16), thus parentheses are necessary in order to fix the following sparse warning: drivers/scsi/aic94xx/aic94xx_seq.c:748:35: warning: cast truncates bits from constant value (93ef7f becomes ef7f) Signed-off-by: Jingoo Han jg1@samsung.com

[PATCH] messages: fusion: Staticize local symbols

2013-08-12 Thread Jingoo Han
/mptsas.c:5327:1: warning: symbol 'mptsas_shutdown' was not declared. Should it be static? Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/message/fusion/mptbase.c |2 +- drivers/message/fusion/mptsas.c |6 +++--- drivers/message/fusion/mptspi.c |2 +- 3 files changed, 5

[PATCH] scsi: Remove unnecesary label

2014-10-23 Thread Jingoo Han
Since commit scsi: Fix error handling in SCSI_IOCTL_SEND_COMMAND, the 'out' label is not used anymore. Thus, remove the unnecesary label. Cc: Jan Kara j...@suse.cz Signed-off-by: Jingoo Han jg1@samsung.com --- block/scsi_ioctl.c |1 - 1 file changed, 1 deletion(-) diff --git a/block

[PATCH 1/2] [SCSI] a4000t: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/a4000t.c | 15 +-- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/drivers/scsi/a4000t.c b/drivers/scsi

[PATCH 2/2] [SCSI] a3000: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/a3000.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/scsi/a3000.c b/drivers/scsi/a3000.c

[PATCH RESEND] scsi: use platform_{get,set}_drvdata()

2013-08-21 Thread Jingoo Han
, unnecessary dev_set_drvdata() is removed, because the driver core clears the driver data to NULL after device_release or on probe failure. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/jazz_esp.c |4 ++-- drivers/scsi/qlogicpti.c |4 ++-- drivers/scsi/sni_53c710.c |4

Re: [PATCH 2/8] zfcp: cleanup use of obsolete strict_strto* functions

2013-08-21 Thread Jingoo Han
On Thursday, August 22, 2013 12:05 AM, Steffen Maier wrote: From: Martin Peschke mpesc...@linux.vnet.ibm.com strict_strtoul and friends are obsolete. Use kstrtoul functions instead. Signed-off-by: Martin Peschke mpesc...@linux.vnet.ibm.com Cc: Jingoo Han jg1@samsung.com Reviewed

[PATCH 1/3] [SCSI] osst: Remove casting the return value which is a void pointer

2013-09-08 Thread Jingoo Han
Casting the return value which is a void pointer is redundant. The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/osst.c | 12 ++-- 1 file changed, 6 insertions(+), 6

[PATCH 2/3] [SCSI] ufs: Remove casting the return value which is a void pointer

2013-09-08 Thread Jingoo Han
Casting the return value which is a void pointer is redundant. The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/ufs/ufshcd-pci.c |2 +- 1 file changed, 1 insertion(+), 1

[PATCH 3/3] [SCSI] be2iscsi: Remove casting the return value which is a void pointer

2013-09-08 Thread Jingoo Han
Casting the return value which is a void pointer is redundant. The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/be2iscsi/be_main.c |2 +- 1 file changed, 1 insertion(+), 1

[PATCH 00/20] [SCSI] remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
Since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound), the driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. ---

[PATCH 01/20] [SCSI] lpfc 8.3.42: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/lpfc/lpfc_init.c |3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH 02/20] [SCSI] arcmsr: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/arcmsr/arcmsr_hba.c |1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 03/20] [SCSI] atp870u: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/atp870u.c |2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH 04/20] [SCSI] bfa: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/bfa/bfad.c |1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 05/20] [SCSI] csiostor: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/csiostor/csio_init.c |2 -- 1 file changed, 2 deletions(-) diff

[PATCH 07/20] [SCSI] gdth: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/gdth.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers

[PATCH 06/20] [SCSI] fnic: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/fnic/fnic_main.c |1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 08/20] [SCSI] hpsa: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/hpsa.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers

[PATCH 09/20] [SCSI] megaraid: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/megaraid/megaraid_mbox.c |6 -- drivers/scsi/megaraid

[PATCH 10/20] [SCSI] mvumi: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/mvumi.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers

[PATCH 11/20] [SCSI] mvsas: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/mvsas/mv_init.c |1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 12/20] [SCSI] pm80xx: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/pm8001/pm8001_init.c |1 - 1 file changed, 1 deletion(-) diff

[PATCH 13/20] [SCSI] pmcraid: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/pmcraid.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers

[PATCH 14/20] [SCSI] qla2xxx: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/qla2xxx/qla_os.c |1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 15/20] [SCSI] qla4xxx: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/qla4xxx/ql4_os.c |1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 16/20] [SCSI] stex: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/stex.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers

[PATCH 17/20] [SCSI] ufs: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/ufs/ufshcd-pci.c |1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 19/20] [SCSI] dc395x: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/dc395x.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers

[PATCH 20/20] [SCSI] tmscsim: remove unnecessary pci_set_drvdata()

2013-09-22 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/tmscsim.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers

[PATCH] [SCSI] remove unnecessary pci_set_drvdata()

2013-09-23 Thread Jingoo Han
-by: Jingoo Han jg1@samsung.com Cc: James Bottomley jbottom...@parallels.com --- drivers/scsi/arcmsr/arcmsr_hba.c |1 - drivers/scsi/atp870u.c|2 -- drivers/scsi/bfa/bfad.c |1 - drivers/scsi/csiostor/csio_init.c |2 -- drivers/scsi

Re: [PATCH 00/20] [SCSI] remove unnecessary pci_set_drvdata()

2013-09-23 Thread Jingoo Han
On Tuesday, September 24, 2013 3:55 AM, James Bottomley wrote: On Mon, 2013-09-23 at 09:54 +0900, Jingoo Han wrote: Since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound), the driver core clears the driver data to NULL after

[PATCH 26/39] scsi: remove DEFINE_PCI_DEVICE_TABLE macro

2013-12-02 Thread Jingoo Han
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/scsi/BusLogic.c |2 +- drivers/scsi/be2iscsi/be_main.c |2 +- drivers/scsi/csiostor/csio_init.c|2 +- drivers/scsi/isci/init.c