Skip to content

Commit 388962e

Browse files
zhengbin13smfrench
authored andcommitted
fs/cifs/smb2pdu.c: Make SMB2_notify_init static
Fix sparse warnings: fs/cifs/smb2pdu.c:3200:1: warning: symbol 'SMB2_notify_init' was not declared. Should it be static? Reported-by: Hulk Robot <[email protected]> Signed-off-by: zhengbin <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent d2f1542 commit 388962e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/cifs/smb2pdu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3181,7 +3181,7 @@ SMB2_get_srv_num(const unsigned int xid, struct cifs_tcon *tcon,
31813181
* See MS-SMB2 2.2.35 and 2.2.36
31823182
*/
31833183

3184-
int
3184+
static int
31853185
SMB2_notify_init(const unsigned int xid, struct smb_rqst *rqst,
31863186
struct cifs_tcon *tcon, u64 persistent_fid, u64 volatile_fid,
31873187
u32 completion_filter, bool watch_tree)

0 commit comments

Comments
 (0)