cifsd: fix boolreturn.cocci warnings
authorkernel test robot <lkp@intel.com>
Wed, 12 May 2021 00:24:37 +0000 (09:24 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Wed, 12 May 2021 00:25:53 +0000 (09:25 +0900)
commit5616015f548a9beda791d8d607e1b17ebdc1e09d
treebfa4d9b8da5e5f4e147493544db48007608653be
parent5ce071659302aa8d0eed18bfa289c7dfaf459b63
cifsd: fix boolreturn.cocci warnings

fs/cifsd/smb2pdu.c:8098:8-9: WARNING: return of 0/1 in function
'smb2_is_sign_req' 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

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/smb2pdu.c