aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorHaowen Bai <[email protected]>2022-03-28 02:48:59 +0000
committerChuck Lever <[email protected]>2022-03-28 03:25:52 +0000
commit5f7b839d47dbc74cf4a07beeab5191f93678673e (patch)
treeca707a0a1073765be8f885c173a076ecad7c53f2 /scripts/gcc-plugins/randomize_layout_plugin.c
parentnfsd: fix using the correct variable for sizeof() (diff)
downloadkernel-5f7b839d47dbc74cf4a07beeab5191f93678673e.tar.gz
kernel-5f7b839d47dbc74cf4a07beeab5191f93678673e.zip
SUNRPC: Return true/false (not 1/0) from bool functions
Return boolean values ("true" or "false") instead of 1 or 0 from bool functions. This fixes the following warnings from coccicheck: ./fs/nfsd/nfs2acl.c:289:9-10: WARNING: return of 0/1 in function 'nfsaclsvc_encode_accessres' with return type bool ./fs/nfsd/nfs2acl.c:252:9-10: WARNING: return of 0/1 in function 'nfsaclsvc_encode_getaclres' with return type bool Signed-off-by: Haowen Bai <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions