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

From: Sergey Senozhatsky
Date: Mon May 13 2019 - 22:27:09 EST


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