From: Ashutosh Naik <ashutosh.naik@gmail.com>
To: James Bottomley <James.Bottomley@hansenpartnership.com>
Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org,
Andrew Morton <akpm@osdl.org>,
pjones@redhat.com, konradr@linux.vnet.ibm.com,
ketuzsezr@darnok.org, "Vishnu V. Mandyam" <vishnu@chelsio.com>,
open-iscsi@googlegroups.com
Subject: Re: [PATCH]ibft: Fix the display of a few fields in the NIC attribute structure in sysfs
Date: Sat, 11 Apr 2009 23:43:48 +0530 [thread overview]
Message-ID: <81083a450904111113k4f2dd50et18585bf3c2dce8f2@mail.gmail.com> (raw)
In-Reply-To: <1239472568.3416.11.camel@mulgrave.int.hansenpartnership.com>
[-- Attachment #1: Type: text/plain, Size: 808 bytes --]
On Sat, Apr 11, 2009 at 11:26 PM, James Bottomley
<James.Bottomley@hansenpartnership.com> wrote:
> What do these signoffs mean?
I am reattaching the patch here:
Description:This patch fixes the display of a few fields in the iBFT
NIC attribute
structure in sysfs.
Signed-off-by: Ashutosh Naik <ashutosh.naik@gmail.com>
Cc: Vishnu V<vishnu@chelsio.com>
> The second question is who picks this up? The drivers/firmware
> directory doesn't seem to have a dedicated tree, so I can take this
> through the SCSI tree if required or Andrew can take it through -mm.
This is used for display of the various structures of the iBFT table
via sysfs and can be picked up by any iSCSI initiator driver module
that uses the information in the iBFT table to boot over iSCSI, such
as open-iscsi.
[-- Attachment #2: iscsi_ibft_c_fix_nic_attribute_display_in_sysfs.txt --]
[-- Type: text/plain, Size: 641 bytes --]
diff -ruN linux-2.6.29.1-orig/drivers/firmware/iscsi_ibft.c linux-2.6.29.1/drivers/firmware/iscsi_ibft.c
--- linux-2.6.29.1-orig/drivers/firmware/iscsi_ibft.c 2009-04-11 18:25:40.000000000 +0530
+++ linux-2.6.29.1/drivers/firmware/iscsi_ibft.c 2009-04-11 18:33:42.000000000 +0530
@@ -754,11 +754,11 @@
rc = 1;
break;
case ibft_eth_ip_addr:
- if (!memcmp(nic->dhcp, nulls, sizeof(nic->dhcp)))
+ if (memcmp(nic->ip_addr, nulls, sizeof(nic->ip_addr)))
rc = 1;
break;
case ibft_eth_subnet_mask:
- if (!memcmp(nic->dhcp, nulls, sizeof(nic->dhcp)))
+ if (nic->subnet_mask_prefix)
rc = 1;
break;
case ibft_eth_origin:
next prev parent reply other threads:[~2009-04-11 18:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-11 13:29 Ashutosh Naik
2009-04-11 17:34 ` Konrad Rzeszutek
2009-04-11 17:56 ` James Bottomley
2009-04-11 18:13 ` Ashutosh Naik [this message]
2009-04-12 13:06 ` Konrad Rzeszutek
2009-04-15 21:37 ` Andrew Morton
2009-04-20 15:59 ` Ashutosh Naik
2009-04-20 16:00 ` Ashutosh Naik
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=81083a450904111113k4f2dd50et18585bf3c2dce8f2@mail.gmail.com \
--to=ashutosh.naik@gmail.com \
--cc=James.Bottomley@hansenpartnership.com \
--cc=akpm@osdl.org \
--cc=ketuzsezr@darnok.org \
--cc=konradr@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=open-iscsi@googlegroups.com \
--cc=pjones@redhat.com \
--cc=vishnu@chelsio.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
all inboxes | Powered by JetHome®