summaryrefslogtreecommitdiffstats
path: root/fs/kernfs/symlink.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2015-09-07 10:38:03 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-09-15 09:48:32 -0300
commit01ca9fd41d6f2ad796a6b109b5253e06b6ae6dc7 (patch)
tree59da19c7f1b5d716a0442229e40af73844b09b89 /fs/kernfs/symlink.c
parent9bae1e8c3fe5359ce17309b894f54667fd563e98 (diff)
downloadop-kernel-dev-01ca9fd41d6f2ad796a6b109b5253e06b6ae6dc7.zip
op-kernel-dev-01ca9fd41d6f2ad796a6b109b5253e06b6ae6dc7.tar.gz
tools: Add err.h with ERR_PTR PTR_ERR interface
Adding part of the kernel's <linux/err.h> interface: inline void * __must_check ERR_PTR(long error); inline long __must_check PTR_ERR(__force const void *ptr); inline bool __must_check IS_ERR(__force const void *ptr); It will be used to propagate error through pointers in following patches. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Reviewed-by: Raphael Beamonte <raphael.beamonte@gmail.com> Cc: David Ahern <dsahern@gmail.com> Cc: Matt Fleming <matt@codeblueprint.co.uk> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1441615087-13886-2-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'fs/kernfs/symlink.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud