From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: James Bottomley <James.Bottomley@steeleye.com>
Cc: Swen Schillig <swen@vnet.ibm.com>,
linux-scsi@vger.kernel.org, linux-s390@vger.kernel.org,
christof.schmitt@de.ibm.com
Subject: Re: [PATCH] zfcp: Report FCP LUN to SCSI midlayer
Date: Tue, 19 Jun 2007 14:19:15 +0200 [thread overview]
Message-ID: <4677C9C3.6040609@s5r6.in-berlin.de> (raw)
In-Reply-To: <200706191025.30986.swen@vnet.ibm.com>
Swen Schillig wrote:
> --- a/drivers/scsi/scsi_scan.c
> +++ b/drivers/scsi/scsi_scan.c
> @@ -1213,7 +1213,7 @@ static void scsi_sequential_lun_scan(struct scsi_target *starget,
> * Given a struct scsi_lun of: 0a 04 0b 03 00 00 00 00, this function returns
> * the integer: 0x0b030a04
> **/
> -static int scsilun_to_int(struct scsi_lun *scsilun)
> +int scsilun_to_int(struct scsi_lun *scsilun)
> {
> int i;
> unsigned int lun;
> @@ -1224,6 +1224,7 @@ static int scsilun_to_int(struct scsi_lun *scsilun)
> scsilun->scsi_lun[i + 1]) << (i * 8));
> return lun;
> }
> +EXPORT_SYMBOL(scsilun_to_int);
This export will be useful for fw-sbp2 too.
--
Stefan Richter
-=====-=-=== -==- =--==
http://arcgraph.de/sr/
next prev parent reply other threads:[~2007-06-19 12:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-19 8:25 [PATCH] zfcp: Report FCP LUN to SCSI midlayer Swen Schillig
2007-06-19 8:28 ` Hannes Reinecke
2007-06-19 12:19 ` Stefan Richter [this message]
2007-06-19 17:12 ` Christoph Hellwig
2007-06-20 2:46 ` James Bottomley
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=4677C9C3.6040609@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=James.Bottomley@steeleye.com \
--cc=christof.schmitt@de.ibm.com \
--cc=linux-s390@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=swen@vnet.ibm.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