[PATCH] SCSI: dtc: Fixed a brace issue on return 0

2015-06-28 Thread Rudhresh
From: rudhresh rudhresh...@gmail.com Return is not a function so parenthesis is not required Signed-off-by: Rudhresh rudhresh...@gmail.com --- drivers/scsi/dtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/dtc.c b/drivers/scsi/dtc.c index

Re: [PATCH v2] mpt2sas: Abort initialization if no memory I/O resources detected

2015-06-28 Thread Sreekanth Reddy
Hi Timothy, Thanks for the patch. I feel there is some code redundancy after including this patch, I mean to say is twice we are checking for (ioc-chip == NULL). So I am working on to reduce this redundancy. Soon I will post a new patch. Thanks, Sreekanth On Sun, Jun 28, 2015 at 7:00 AM,

Re: [PATCH] SCSI-OSD: Delete an unnecessary check before the function call put_disk

2015-06-28 Thread Boaz Harrosh
On 06/24/2015 05:16 PM, SF Markus Elfring wrote: From: Markus Elfring elfr...@users.sourceforge.net Date: Wed, 24 Jun 2015 16:06:21 +0200 The put_disk() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was

[PATCH] SCSI: DTC: Removed 0 initialization for statics

2015-06-28 Thread Rudhresh
Removed unneccessary initialization of zero to a static variable Signed-off-by: Rudhresh Kumar J rudhre...@cdac.in --- drivers/scsi/dtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/dtc.c b/drivers/scsi/dtc.c index 4c74c7b..99164d6 100644 ---

[PATCH 1/1] SCSI/bfa: Use port pointer after NULL check

2015-06-28 Thread Maninder Singh
Currently port pointer is derefrenced before NULL check. So NULL check is misleading, Thus it is better to use port pointer after NULL Check. Signed-off-by: Maninder Singh maninder...@samsung.com Reviewed-by: Akhilesh Kumar akhiles...@samsung.com --- drivers/scsi/bfa/bfa_fcs_lport.c |3 ++-