Re: [PATCH] scsi: megaraid_sas: Prevent future %p disaster

From: Rasmus Villemoes
Date: Tue May 12 2015 - 10:04:15 EST


On Tue, Feb 10 2015, Kashyap Desai <kashyap.desai@xxxxxxxxxxxxx> wrote:

> Acked-by: Kashyap Desai <kashyap.desai@xxxxxxxxxxxxx>
>
>> -----Original Message-----
>> From: Rasmus Villemoes [mailto:linux@xxxxxxxxxxxxxxxxxx]
>> Sent: Friday, February 06, 2015 8:04 PM
>> To: Kashyap Desai; Sumit Saxena; Uday Lingala; James E.J. Bottomley
>> Cc: Rasmus Villemoes; megaraidlinux.pdl@xxxxxxxxxxxxx; linux-
>> scsi@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
>> 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@xxxxxxxxxxxxxxxxxx>

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.

Rasmus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/