Re: Compile warning with current kernel and netfs

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

 



And forgot to mention that this is on very recent distro, has recent
libraries etc., I had to move to Ubuntu 21.04 due to dependencies of
eBPF and other pieces on newer libc, pahole etc

On Mon, May 10, 2021 at 9:01 PM Steve French <smfrench@xxxxxxxxx> wrote:
>
> Noticed the following netfs related new warning when compiling cifs.ko
> with the current 5.13-rc1
>
>   CC [M]  /home/smfrench/cifs-2.6/fs/cifs/fscache.o
>   CHECK   /home/smfrench/cifs-2.6/fs/cifs/fscache.c
> /home/smfrench/cifs-2.6/fs/cifs/fscache.c: note: in included file
> (through include/linux/fscache.h,
> /home/smfrench/cifs-2.6/fs/cifs/fscache.h):
> ./include/linux/netfs.h:93:15: error: don't know how to apply mode to
> unsigned int enum netfs_read_source
>   CC [M]  /home/smfrench/cifs-2.6/fs/cifs/cache.o
>   CHECK   /home/smfrench/cifs-2.6/fs/cifs/cache.c
> /home/smfrench/cifs-2.6/fs/cifs/cache.c: note: in included file
> (through include/linux/fscache.h,
> /home/smfrench/cifs-2.6/fs/cifs/fscache.h):
> ./include/linux/netfs.h:93:15: error: don't know how to apply mode to
> unsigned int enum netfs_read_source
>
> It doesn't like this enum in include/linux/netfs.h:
>
> enum netfs_read_source {
>         NETFS_FILL_WITH_ZEROES,
>         NETFS_DOWNLOAD_FROM_SERVER,
>         NETFS_READ_FROM_CACHE,
>         NETFS_INVALID_READ,
> } __mode(byte);
>
> --
> Thanks,
>
> Steve



-- 
Thanks,

Steve



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux