public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@suse.de>
To: jack wang <jack_wang@usish.com>
Cc: linux-scsi@vger.kernel.org,
	'Srinivas Naga Venkatasatya Pasagadugula' <satyasrinivasp@hcl.in>,
	'Tom Peng' <tom_peng@usish.com>, 'andy yan' <andyysj@gmail.com>,
	aoqingyun@usish.com
Subject: Re: [PATCH] libsas: do not set res = 0 in sas_ex_discover_dev()
Date: Fri, 06 Nov 2009 13:12:27 -0600	[thread overview]
Message-ID: <1257534748.2715.265.camel@mulgrave.site> (raw)
In-Reply-To: <9363F2E7DE9C4DBAB057D40324240F96@usish.com.cn>

On Thu, 2009-11-05 at 15:56 +0800, jack wang wrote:
> Hi, James
> 
> What is the status of this this patch .  we have test it  Srinivas
> have confirmed it does work.
> 
> Please consider to include it in your rc-fixes tree.

OK, this one never actually made it to the list.  I think this was
because all the patches contained text/html attachments which the list
kills sight unseen because it thinks they're spam.  You really have to
make sure you only send text plain and patch attachments for them to get
through.

For simplicity, the patch is below for list review.

James

---

From: jack wang <jack_wang@usish.com>
Subject: [PATCH] libsas: do not set res = 0 in sas_ex_discover_dev()

We should not set res to 0 in function sas_ex_discover_dev  in order to let
it discover it further when wide port hotplug in .

Signed-off-by: Tom Peng <tom_peng@usish.com>
Signed-off-by: Jack Wang <jack_wang@usish.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
---
 drivers/scsi/libsas/sas_expander.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/libsas/sas_expander.c b/drivers/scsi/libsas/sas_expander.c
index b338195..33cf988 100644
--- a/drivers/scsi/libsas/sas_expander.c
+++ b/drivers/scsi/libsas/sas_expander.c
@@ -960,7 +960,6 @@ static int sas_ex_discover_dev(struct domain_device *dev, int phy_id)
 
 			}
 		}
-		res = 0;
 	}
 
 	return res;
-- 
1.6.4.2




  parent reply	other threads:[~2009-11-06 19:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-16 11:44 LIBSAS:Issue with cascading of edge expanders Srinivas Naga Venkatasatya Pasagadugula
     [not found] ` <e938503f0910181843q1569ca1eo34b3af884cefb45e@mail.gmail.com>
     [not found]   ` <63412251C6BA4D16B1721701D56292B8@usish.com.cn>
     [not found]     ` <6B62480106F2B34D8404CF2FDAA4D9EF38546AA598@CHN-HCLT-EVS06.HCLT.CORP.HCL.IN>
     [not found]       ` <9363F2E7DE9C4DBAB057D40324240F96@usish.com.cn>
2009-11-06 19:12         ` James Bottomley [this message]
2009-11-06 22:36           ` Re: [PATCH] libsas: do not set res = 0 in sas_ex_discover_dev() jack_wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1257534748.2715.265.camel@mulgrave.site \
    --to=james.bottomley@suse.de \
    --cc=andyysj@gmail.com \
    --cc=aoqingyun@usish.com \
    --cc=jack_wang@usish.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=satyasrinivasp@hcl.in \
    --cc=tom_peng@usish.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox