[U-Boot] [PATCH 2/3] linux err: make ERR_PTR/PTR_ERR architecture specific

Tom Rini trini at konsulko.com
Fri Nov 8 15:32:41 UTC 2019


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 at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191108/5da820fb/attachment.sig>


More information about the U-Boot mailing list