Thread (11 messages) flat view 11 messages, 3 authors, 2021-03-24

Re: [RFC patch] vsprintf: Allow %pe to print non PTR_ERR %pe uses as decimal

From: Joe Perches <joe@perches.com>
Date: 2021-03-24 22:46:55
Also in: dri-devel, lkml

On Wed, 2021-03-24 at 23:36 +0100, Rasmus Villemoes wrote:
On 24/03/2021 23.18, Joe Perches wrote:
quoted
There's no silly game here.  %pe would either print a string or a value.
A hashed value, that is, never the raw value.
There is value in printing the raw value.
As discussed, it can simplify the code.

The worry about exposing a ptr value is IMO overstated.

It's trivial to inspect the uses and _all_ %p<FOO> uses need inspection
and validation at acceptance anyway.



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help