Re: linux-next: build warning after merge of the cifs tree
From: Steve French
Date: Thu Jul 18 2019 - 19:38:24 EST
This typo has been fixed (earlier this afternoon) in cifs-2.6.git for-next
On Thu, Jul 18, 2019 at 6:16 PM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> 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")
>
> --
> Cheers,
> Stephen Rothwell
--
Thanks,
Steve