diff options
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | 2019-10-22 21:29:47 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-11-07 18:01:13 -0500 |
commit | 8c59ca93b839261863f0db2295a2b6b4dd4f175e (patch) | |
tree | 6ff0c0ed9e6e72d041506d7507c1c842e6439b29 /drivers/ddr/imx/imx8m/ddr_init.c | |
parent | 93db2b83ed515fd5700b6c5abb0fba612ef2cdcb (diff) | |
download | u-boot-8c59ca93b839261863f0db2295a2b6b4dd4f175e.tar.gz u-boot-8c59ca93b839261863f0db2295a2b6b4dd4f175e.tar.xz u-boot-8c59ca93b839261863f0db2295a2b6b4dd4f175e.zip |
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>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions