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

Sergey Senozhatsky sergey.senozhatsky.work at gmail.com
Fri May 10 18:16:35 AEST 2019


On (05/10/19 10:06), Petr Mladek wrote:
[..]
> I am going to send a patch replacing probe_kernel_address() with
> a simple check:
> 
> 	if ((unsigned long)ptr < PAGE_SIZE || IS_ERR_VALUE(ptr))
> 		return "(efault)";

I'm OK with this.
Probing ptrs was a good idea, it just didn't work out.

	-ss


More information about the Linuxppc-dev mailing list