Re: Compile warning with current kernel and netfs

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

 



Steve French <smfrench@xxxxxxxxx> wrote:

>   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

Yeah - that's a bit the checker doesn't know how to support.  It's meant to
make enum netfs_read_source-type struct members take less space.  I think gcc
and clang are both fine with it.

David




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

  Powered by Linux