mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ursula Braun <ubraun@linux.vnet.ibm.com>
To: Joe Perches <joe@perches.com>
Cc: Kashyap Desai <kashyap.desai@avagotech.com>,
	Sumit Saxena <sumit.saxena@avagotech.com>,
	Uday Lingala <uday.lingala@avagotech.com>,
	"James E.J. Bottomley" <JBottomley@parallels.com>,
	"PDL,MEGARAIDLINUX" <megaraidlinux.pdl@avagotech.com>,
	linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
	Rasmus Villemoes <linux@rasmusvillemoes.dk>,
	Eugene Crosser <Eugene.Crosser@ru.ibm.com>,
	Ursula Braun <ursula.braun@de.ibm.com>
Subject: Re: [PATCH] scsi: megaraid_sas: Prevent future %p disaster
Date: Mon, 18 May 2015 12:05:20 +0200	[thread overview]
Message-ID: <1431943520.7490.6.camel@BR9GV9YG.de.ibm.com> (raw)
In-Reply-To: <OF651E5409.7FC1198E-ONC1257E49.0034C44E-C1257E49.0034D9A0@de.ibm.com>


Joe,

thanks, we will add your qeth patch to our local library and submit it
with one of our next shipments.

Regards, Ursula Braun
> 
> From:        Joe Perches <joe@perches.com> 
> To:        Rasmus Villemoes <linux@rasmusvillemoes.dk>, Evgeny
> Cherkashin/Russia/IBM@IBMRU, Frank Blaschka
> <frank.blaschka@de.ibm.com>, Ursula Braun <ursula.braun@de.ibm.com> 
> Cc:        Kashyap Desai <kashyap.desai@avagotech.com>, Sumit Saxena
> <sumit.saxena@avagotech.com>, Uday Lingala
> <uday.lingala@avagotech.com>, "James E.J. Bottomley"
> <JBottomley@parallels.com>, "PDL,MEGARAIDLINUX"
> <megaraidlinux.pdl@avagotech.com>, linux-scsi@vger.kernel.org,
> linux-kernel@vger.kernel.org 
> Date:        05/12/2015 05:52 PM 
> Subject:        Re: [PATCH] scsi: megaraid_sas: Prevent future %p
> disaster 
> 
> ______________________________________________________________________
> 
> 
> 
> On Tue, 2015-05-12 at 16:04 +0200, Rasmus Villemoes wrote:
> > On Tue, Feb 10 2015, Kashyap Desai <kashyap.desai@avagotech.com>
> wrote:
> > 
> > > Acked-by: Kashyap Desai <kashyap.desai@avagotech.com>
> > >
> > >> -----Original Message-----
> > >> From: Rasmus Villemoes [mailto:linux@rasmusvillemoes.dk]
> > >> Sent: Friday, February 06, 2015 8:04 PM
> > >> To: Kashyap Desai; Sumit Saxena; Uday Lingala; James E.J.
> Bottomley
> > >> Cc: Rasmus Villemoes; megaraidlinux.pdl@avagotech.com; linux-
> > >> scsi@vger.kernel.org; linux-kernel@vger.kernel.org
> > >> Subject: [PATCH] scsi: megaraid_sas: Prevent future %p disaster
> > >>
> > >> There is currently no %po format extension, so currently the
> letters
> > > "on" are
> > >> simply skipped and the pointer is printed as expected (while
> missing the
> > > word
> > >> on). However, it is probably only a matter of time before someone
> comes
> > > up
> > >> with a %po extension, at which point this is likely to fail
> > > spectacularly.
> > >>
> > >> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
> > 
> > Any chance either this minimal fix or Joe's more thorough cleanup
> could
> > get applied? There's still no %po extension, but there's certainly a
> lot
> > of proposals for more %p extensions flying around LKML, so I still
> think
> > the "only a matter of time" holds.
> 
> There's also this one with %pM6:
> ---
> drivers/s390/net/qeth_l2_main.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/s390/net/qeth_l2_main.c
> b/drivers/s390/net/qeth_l2_main.c
> index 0ea0869..dc783047 100644
> --- a/drivers/s390/net/qeth_l2_main.c
> +++ b/drivers/s390/net/qeth_l2_main.c
> @@ -1420,8 +1420,8 @@ static void qeth_bridge_emit_host_event(struct
> qeth_card *card,
>                                                    env[i] = str[i]; i
> ++;
>                                   }
>                                   if (code &
> IPA_ADDR_CHANGE_CODE_MACADDR) {
> -                                                   snprintf(str[i],
> sizeof(str[i]), "MAC=%pM6",
> -
>  &addr_lnid->mac);
> +                                                   snprintf(str[i],
> sizeof(str[i]), "MAC=%pM",
> +
>  addr_lnid->mac);
>                                                    env[i] = str[i]; i
> ++;
>                                   }
>                                   snprintf(str[i], sizeof(str[i]),
> "NTOK_BUSID=%x.%x.%04x",
> 
> 



       reply	other threads:[~2015-05-18 10:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <OF651E5409.7FC1198E-ONC1257E49.0034C44E-C1257E49.0034D9A0@de.ibm.com>
2015-05-18 10:05 ` Ursula Braun [this message]
2015-02-06 14:33 Rasmus Villemoes
2015-02-10 16:46 ` Kashyap Desai
2015-02-10 16:55   ` Joe Perches
2015-02-10 18:38     ` Joe Perches
2015-05-12 14:04   ` Rasmus Villemoes
2015-05-12 14:52     ` Joe Perches
2015-05-12 15:01       ` Joe Perches

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=1431943520.7490.6.camel@BR9GV9YG.de.ibm.com \
    --to=ubraun@linux.vnet.ibm.com \
    --cc=Eugene.Crosser@ru.ibm.com \
    --cc=JBottomley@parallels.com \
    --cc=joe@perches.com \
    --cc=kashyap.desai@avagotech.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linux@rasmusvillemoes.dk \
    --cc=megaraidlinux.pdl@avagotech.com \
    --cc=sumit.saxena@avagotech.com \
    --cc=uday.lingala@avagotech.com \
    --cc=ursula.braun@de.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

all inboxes | Powered by JetHome®