linux-next: build warning after merge of the cifs tree
Subsystems (3)
Hi all,
After merging the cifs tree, today's linux-next build (x86_64 allmodconfig) produced this warning:
fs/cifs/smb2ops.c: In function 'open_shroot':fs/cifs/smb2ops.c:762:28: warning: passing argument 5 of 'smb2_parse_contexts' makes pointer from integer without a cast [-Wint-conversion]
oparms.fid->lease_key, oplock, NULL);
^~~~~~
In file included from fs/cifs/smb2ops.c:16:
fs/cifs/smb2proto.h:234:11: note: expected '__u8 *' {aka 'unsigned char *'} but argument is of type 'u8' {aka 'unsigned char'}
__u8 *oplock, struct smb2_file_all_info *buf);
~~~~~~^~~~~~Introduced by commit
bf63aef07199 ("smb3: optimize open to not send query file internal info")
Signature · 2 lines
Cheers, Stephen Rothwell
This typo has been fixed (earlier this afternoon) in cifs-2.6.git for-next
Quoted 22 lines · Stephen Rothwell
Hi all,
After merging the cifs tree, today's linux-next build (
x86_64allmodconfig) produced this warning:
fs/cifs/smb2ops.c: In function 'open_shroot':fs/cifs/smb2ops.c:762:28: warning: passing argument 5 of 'smb2_parse_contexts' makes pointer from integer without a cast [-Wint-conversion]oparms.fid->lease_key, oplock, NULL); ^~~~~~ In file included from fs/cifs/smb2ops.c:16: fs/cifs/smb2proto.h:234:11: note: expected '__u8 *' {aka 'unsigned char *'} but argument is of type 'u8' {aka 'unsigned char'} __u8 *oplock, struct smb2_file_all_info *buf); ~~~~~~^~~~~~Introduced by commit
bf63aef07199("smb3: optimize open to not send query file internal info")--
Cheers,
Stephen Rothwell
Signature · 3 lines
Thanks, Steve