Commit 5616015f authored by kernel test robot's avatar kernel test robot Committed by Namjae Jeon
Browse files

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: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarNamjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 5ce07165
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7713,7 +7713,7 @@ bool smb2_is_sign_req(struct ksmbd_work *work, unsigned int command)
	    command != SMB2_OPLOCK_BREAK_HE)
		return true;

	return 0;
	return false;
}

/**