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

Sergey Senozhatsky
2019-05-14T02:25:26Z

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