[PATCH] drivers: scsi: aic7xxx: made use of kmemdup

2019-09-14 Thread aliasgar . surti500
From: Aliasgar Surti There is usage of kmalloc following memcpy in this driver file. Instead of using these functions, this change is made to use kmemdup which has the same functionality. Signed-off-by: Aliasgar Surti --- drivers/scsi/aic7xxx/aic79xx_core.c | 4 ++-- 1 file changed, 2 inserti

[PATCH] drivers: scsi: aic7xxx: made use of kmemdup instead of kmalloc

2019-09-14 Thread aliasgar . surti500
From: Aliasgar Surti There is usage of kmalloc following memcpy in this driver file. Instead of using these functions, this change is made to use kmemdup which has the same functionality. Signed-off-by: Aliasgar Surti --- drivers/scsi/aic7xxx/aic7xxx_core.c | 4 ++-- 1 file changed, 2 inserti

[PATCH] scsi:ipr: removed unnecessary semicolon from switch case

2019-10-05 Thread aliasgar . surti500
From: Aliasgar Surti Unneeded semicolon is used after the closing braces of switch case. Removed the same. Signed-off-by: Aliasgar Surti --- drivers/scsi/ipr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 079c04bc448a..c463cd

[PATCH] drivers:scsi:bfa: removed unnecessary semicolon

2019-10-05 Thread aliasgar . surti500
From: Aliasgar Surti There is use of unneeded semicolon on multiple places in single file. Removed the same. Signed-off-by: Aliasgar Surti --- drivers/scsi/bfa/bfa_fcs_rport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/bfa/bfa_fcs_rport.c b/drivers/scs

[PATCH] drivers:scsi:bnx2fc: removed unnecessary semicolon

2019-10-05 Thread aliasgar . surti500
From: Aliasgar Surti There is use of unneeded semicolon on multiple places in single file. Removed the same. Signed-off-by: Aliasgar Surti --- drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/