summaryrefslogtreecommitdiff
path: root/Documentation/sysctl/kernel.txt
diff options
context:
space:
mode:
authorManfred Spraul <manfred@colorfullife.com>2018-08-10 13:27:02 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2018-08-13 04:12:13 +1000
commitf900cbae36e93504e3f9ff327f067357e120dff3 (patch)
tree019c14bdf78db52fd76d210ed4fd6ab17fcaaf88 /Documentation/sysctl/kernel.txt
parentcec016b25251d1876de4b8b3d92b684bc2947176 (diff)
downloadlinux-next-f900cbae36e93504e3f9ff327f067357e120dff3.tar.gz
ipc/util.c: update return value of ipc_getref from int to bool
ipc_getref has still a return value of type "int", matching the atomic_t interface of atomic_inc_not_zero()/atomic_add_unless(). ipc_getref now uses refcount_inc_not_zero, which has a return value of type "bool". Therefore, update the return code to avoid implicit conversions. Link: http://lkml.kernel.org/r/20180712185241.4017-13-manfred@colorfullife.com Signed-off-by: Manfred Spraul <manfred@colorfullife.com> Cc: Davidlohr Bueso <dave@stgolabs.net> Cc: Davidlohr Bueso <dbueso@suse.de> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: Kees Cook <keescook@chromium.org> Cc: Michael Kerrisk <mtk.manpages@gmail.com> Cc: Michal Hocko <mhocko@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'Documentation/sysctl/kernel.txt')
0 files changed, 0 insertions, 0 deletions