diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-05-02 19:52:17 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 18:44:02 -0400 |
commit | 468138d78510688fb5476f98d23f11ac6a63229a (patch) | |
tree | 5f235bc85343bf3f314201a1d281881625d67abe /include/linux/flat.h | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff) |
binfmt_flat: flat_{get,put}_addr_from_rp() should be able to fail
on MMU targets EFAULT is possible here. Make both return 0 or error,
passing what used to be the return value of flat_get_addr_from_rp()
by reference.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/flat.h')
-rw-r--r-- | include/linux/flat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/flat.h b/include/linux/flat.h index 2c1eb15c4ba4..7d542dfd0def 100644 --- a/include/linux/flat.h +++ b/include/linux/flat.h @@ -9,8 +9,8 @@ #ifndef _LINUX_FLAT_H #define _LINUX_FLAT_H -#include <asm/flat.h> #include <uapi/linux/flat.h> +#include <asm/flat.h> /* * While it would be nice to keep this header clean, users of older |