From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 8 Nov 2019 10:32:41 -0500 Subject: [U-Boot] [PATCH 2/3] linux err: make ERR_PTR/PTR_ERR architecture specific In-Reply-To: <20191022192948.11080-3-simon.k.r.goldschmidt@gmail.com> References: <20191022192948.11080-1-simon.k.r.goldschmidt@gmail.com> <20191022192948.11080-3-simon.k.r.goldschmidt@gmail.com> Message-ID: <20191108153241.GD19317@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: