From: David Howells <dhowells@redhat.com>
To: Steve French <smfrench@gmail.com>
Cc: dhowells@redhat.com,
linux-fsdevel <linux-fsdevel@vger.kernel.org>,
CIFS <linux-cifs@vger.kernel.org>
Subject: Re: Compile warning with current kernel and netfs
Date: Tue, 11 May 2021 14:03:22 +0100 [thread overview]
Message-ID: <2509400.1620738202@warthog.procyon.org.uk> (raw)
In-Reply-To: <CAH2r5ms+NL=J2Wa=wY2doV450qL8S97gnJW_4eSCp1aiz1SEZA@mail.gmail.com>
Steve French <smfrench@gmail.com> 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
next prev parent reply other threads:[~2021-05-11 13:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2021-05-11 19:41 ` Steve French
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2509400.1620738202@warthog.procyon.org.uk \
--to=dhowells@redhat.com \
--cc=linux-cifs@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=smfrench@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).