commit | 8c59ca93b839261863f0db2295a2b6b4dd4f175e | [log] [tgz] |
---|---|---|
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | Tue Oct 22 21:29:47 2019 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Nov 07 18:01:13 2019 -0500 |
tree | 6ff0c0ed9e6e72d041506d7507c1c842e6439b29 | |
parent | 93db2b83ed515fd5700b6c5abb0fba612ef2cdcb [diff] |
linux err: make ERR_PTR/PTR_ERR architecture specific 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>