[PATCH] vsprintf: Do not break early boot with probing addresses

Sergey Senozhatsky sergey.senozhatsky.work at gmail.com
Tue May 14 12:25:26 AEST 2019


On (05/14/19 11:07), Sergey Senozhatsky wrote:
> How about this:
> 
> 	if ptr < PAGE_SIZE		-> "(null)"

No, this is totally stupid. Forget about it. Sorry.


> 	if IS_ERR_VALUE(ptr)		-> "(fault)"

But Steven's "(fault)" is nice.

	-ss


More information about the Linuxppc-dev mailing list