diff options
| author | Simon Goldschmidt <[email protected]> | 2019-10-22 21:29:47 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-11-07 18:01:13 -0500 |
| commit | 8c59ca93b839261863f0db2295a2b6b4dd4f175e (patch) | |
| tree | 6ff0c0ed9e6e72d041506d7507c1c842e6439b29 /include/linux/kernel.h | |
| 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 <[email protected]>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions
