diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2017-04-06 06:55:19 -0700 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2017-04-07 08:58:35 +1000 |
commit | b9c42ac76ea13ab6d07681ff3079b3a242333764 (patch) | |
tree | b8b0f5b87f3517d001e4008fd88b25064c421cc2 /kernel/reboot.c | |
parent | 08eff49d63ca2bf4cd98c4bdc07dc9d07d52f8f5 (diff) | |
download | linux-stable-b9c42ac76ea13ab6d07681ff3079b3a242333764.tar.gz linux-stable-b9c42ac76ea13ab6d07681ff3079b3a242333764.tar.bz2 linux-stable-b9c42ac76ea13ab6d07681ff3079b3a242333764.zip |
apparmor: fix boolreturn.cocci warnings
security/apparmor/lib.c:132:9-10: WARNING: return of 0/1 in function 'aa_policy_init' with return type bool
Return statements in functions returning bool should use
true/false instead of 1/0.
Generated by: scripts/coccinelle/misc/boolreturn.cocci
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'kernel/reboot.c')
0 files changed, 0 insertions, 0 deletions