staging: gasket: core: use bool type for ns_capable result
authorTodd Poynor <toddpoynor@google.com>
Tue, 31 Jul 2018 20:24:46 +0000 (13:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Aug 2018 18:07:03 +0000 (20:07 +0200)
commite02fed16b3f430d89cdb9b2eda69906dafb507b3
treed90c514b7827ae500242d41c06f3bef06f521eb8
parent4287dbaa7c3ef0db9d8258c9f505b4149c21a393
staging: gasket: core: use bool type for ns_capable result

When gasket core was converted from using capable() to use ns_capable()
instead, the type of the variable holding the result should have been
converted from int to bool.

Reported-by: Dmitry Torokhov <dtor@chromium.org>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_core.c