From: James Smart <James.Smart@Emulex.Com>
To: linux-scsi@vger.kernel.org
Subject: [PATCH] scsi_transport_fc.c : .29 merge fix for FC passthru patch
Date: Tue, 7 Apr 2009 13:48:42 -0400 [thread overview]
Message-ID: <1239126522.8975.2.camel@ogier> (raw)
James,
It appears that the latest merge of scsi-misc-2.6 picked up a kernel change
that killed the bus_id element from struct device.
Here's a quick patch to resolve the inconsistency. I assumed this was easier
than regen-ing the fc pass-thru patch.
This patch to be applied on top of the fc-pass-thru patch.
-- james s
Signed-off-by: James Smart <james.smart@emulex.com>
---
scsi_transport_fc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff -upNr a/drivers/scsi/scsi_transport_fc.c b/drivers/scsi/scsi_transport_fc.c
--- a/drivers/scsi/scsi_transport_fc.c 2009-04-07 13:38:38.000000000 -0400
+++ b/drivers/scsi/scsi_transport_fc.c 2009-04-07 13:39:18.000000000 -0400
@@ -3920,7 +3920,7 @@ fc_bsg_rportadd(struct Scsi_Host *shost,
if (!q) {
printk(KERN_ERR "%s: bsg interface failed to "
"initialize - no request queue\n",
- dev->bus_id);
+ dev->kobj.name);
return -ENOMEM;
}
@@ -3933,7 +3933,7 @@ fc_bsg_rportadd(struct Scsi_Host *shost,
if (err) {
printk(KERN_ERR "%s: bsg interface failed to "
"initialize - register queue\n",
- dev->bus_id);
+ dev->kobj.name);
blk_cleanup_queue(q);
return err;
}
next reply other threads:[~2009-04-07 17:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-07 17:48 James Smart [this message]
2009-04-07 17:58 ` [PATCH] scsi_transport_fc.c : .29 merge fix for FC passthru patch 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=1239126522.8975.2.camel@ogier \
--to=james.smart@emulex.com \
--cc=linux-scsi@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.