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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux