linux-next: build warning after merge of the cifs tree

From: Stephen Rothwell
Date: Thu Jul 18 2019 - 19:16:46 EST

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")

Stephen Rothwell

Attachment: pgpMT0PAwnopp.pgp
Description: OpenPGP digital signature