linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Compile warning with current kernel and netfs
@ 2021-05-11  2:01 Steve French
  2021-05-11  2:07 ` Matthew Wilcox
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Steve French @ 2021-05-11  2:01 UTC (permalink / raw)
  To: David Howells; +Cc: linux-fsdevel, CIFS

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-05-11 19:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11  2:01 Compile warning with current kernel and netfs Steve French
2021-05-11  2:07 ` Matthew Wilcox
2021-05-11  3:28   ` Steve French
2021-05-11  3:30 ` Steve French
2021-05-11 13:03 ` David Howells
2021-05-11 19:41   ` Steve French

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).