public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Love <robert.w.love@intel.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	James Bottomley <James.Bottomley@HansenPartnership.com>,
	"Leech, Christopher" <christopher.leech@intel.com>
Subject: Re: [PATCH] fcoe: convert to %pM
Date: Wed, 15 Jul 2009 15:06:15 -0700	[thread overview]
Message-ID: <1247695575.23392.5.camel@fritz> (raw)
In-Reply-To: <1247671274.10754.5.camel@johannes.local>

On Wed, 2009-07-15 at 08:21 -0700, Johannes Berg wrote:
> print_mac is being deprecated, and %pM makes for smaller
> code anyway.
> 
> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

Thanks Johannes.

Acked-by: Robert Love <robert.w.love@intel.com>

> ---
>  drivers/scsi/fcoe/libfcoe.c |    6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> --- wireless-testing.orig/drivers/scsi/fcoe/libfcoe.c	2009-07-15 17:12:02.000000000 +0200
> +++ wireless-testing/drivers/scsi/fcoe/libfcoe.c	2009-07-15 17:12:17.000000000 +0200
> @@ -1104,7 +1104,6 @@ static void fcoe_ctlr_timeout(unsigned l
>  	struct fcoe_fcf *sel;
>  	struct fcoe_fcf *fcf;
>  	unsigned long next_timer = jiffies + msecs_to_jiffies(FIP_VN_KA_PERIOD);
> -	DECLARE_MAC_BUF(buf);
>  	u8 send_ctlr_ka;
>  	u8 send_port_ka;
>  
> @@ -1128,9 +1127,8 @@ static void fcoe_ctlr_timeout(unsigned l
>  		fcf = sel;		/* the old FCF may have been freed */
>  		if (sel) {
>  			printk(KERN_INFO "libfcoe: host%d: FIP selected "
> -			       "Fibre-Channel Forwarder MAC %s\n",
> -			       fip->lp->host->host_no,
> -			       print_mac(buf, sel->fcf_mac));
> +			       "Fibre-Channel Forwarder MAC %pM\n",
> +			       fip->lp->host->host_no, sel->fcf_mac);
>  			memcpy(fip->dest_addr, sel->fcf_mac, ETH_ALEN);
>  			fip->port_ka_time = jiffies +
>  					    msecs_to_jiffies(FIP_VN_KA_PERIOD);
> 
> 


      reply	other threads:[~2009-07-15 22:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-15 15:21 [PATCH] fcoe: convert to %pM Johannes Berg
2009-07-15 22:06 ` Robert Love [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=1247695575.23392.5.camel@fritz \
    --to=robert.w.love@intel.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=christopher.leech@intel.com \
    --cc=johannes@sipsolutions.net \
    --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