From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Chad Dupuis <chad.dupuis@qlogic.com>
Cc: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
linux-driver@qlogic.com,
"James E.J. Bottomley" <JBottomley@parallels.com>
Subject: Re: [PATCH 2/2] scsi: qla2xxx: print MAC via %pMR
Date: Tue, 28 May 2013 11:44:42 +0300 [thread overview]
Message-ID: <1369730682.29283.220.camel@smile> (raw)
In-Reply-To: <alpine.WNT.2.00.1207260822340.4880@N5102REMCQXM4BS.qlogic.org>
On Thu, 2012-07-26 at 08:23 -0400, Chad Dupuis wrote:
>
> On Thu, 12 Jul 2012, Andy Shevchenko wrote:
>
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > ---
> > drivers/scsi/qla2xxx/qla_attr.c | 5 +----
> > 1 file changed, 1 insertion(+), 4 deletions(-)
> >
> > diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c
> > index 5ab9530..095ba85 100644
> > --- a/drivers/scsi/qla2xxx/qla_attr.c
> > +++ b/drivers/scsi/qla2xxx/qla_attr.c
> > @@ -1193,10 +1193,7 @@ qla2x00_vn_port_mac_address_show(struct device *dev,
> > if (!IS_CNA_CAPABLE(vha->hw))
> > return snprintf(buf, PAGE_SIZE, "\n");
> >
> > - return snprintf(buf, PAGE_SIZE, "%02x:%02x:%02x:%02x:%02x:%02x\n",
> > - vha->fcoe_vn_port_mac[5], vha->fcoe_vn_port_mac[4],
> > - vha->fcoe_vn_port_mac[3], vha->fcoe_vn_port_mac[2],
> > - vha->fcoe_vn_port_mac[1], vha->fcoe_vn_port_mac[0]);
> > + return snprintf(buf, PAGE_SIZE, "%pMR\n", vha->fcoe_vn_port_mac);
> > }
> >
> > static ssize_t
> >
>
> Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
James, do you have any comments on this patch and patch 1/2?
--
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy
prev parent reply other threads:[~2013-05-28 8:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-12 7:51 [PATCH 1/2] scsi: use kernel's '%pM' format option to print MAC Andy Shevchenko
2012-07-12 7:51 ` [PATCH 2/2] scsi: qla2xxx: print MAC via %pMR Andy Shevchenko
2012-07-26 12:23 ` Chad Dupuis
2013-05-28 8:44 ` Andy Shevchenko [this message]
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=1369730682.29283.220.camel@smile \
--to=andriy.shevchenko@linux.intel.com \
--cc=JBottomley@parallels.com \
--cc=chad.dupuis@qlogic.com \
--cc=linux-driver@qlogic.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).