
8 Nov
2019
8 Nov
'19
4:32 p.m.
On Tue, Oct 22, 2019 at 09:29:47PM +0200, Simon Goldschmidt wrote:
This patch changes ERR_PTR/PTR_ERR to use CONFIG_ERR_PTR_OFFSET to map errno values into a pointer region that cannot contain valid pointers.
IS_ERR and IS_ERR_OR_NULL have to be converted to use PTR_ERR, too, for this to work.
Signed-off-by: Simon Goldschmidt simon.k.r.goldschmidt@gmail.com
Applied to u-boot/master, thanks!
--
Tom