commit | b5a044ee777d332e468c592587d728c0fdb06f6a | [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 | 9c05511f3a4f1258b46f8ed7a341fd56306eab7e [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>