From: kernel test robot <lkp@intel.com>
To: rick.macklem@gmail.com, linux-nfs@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, Rick Macklem <rmacklem@uoguelph.ca>
Subject: Re: [PATCH v1 5/7] Make nfs4_server_supports_acls() global
Date: Sat, 10 Jan 2026 05:14:04 +0800 [thread overview]
Message-ID: <202601100435.4dwE5mYV-lkp@intel.com> (raw)
In-Reply-To: <20260102232934.1560-6-rick.macklem@gmail.com>
Hi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on trondmy-nfs/linux-next]
[also build test WARNING on linus/master v6.19-rc4 next-20260109]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/rick-macklem-gmail-com/Add-entries-to-the-predefined-client-operations-enum/20260103-073239
base: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next
patch link: https://lore.kernel.org/r/20260102232934.1560-6-rick.macklem%40gmail.com
patch subject: [PATCH v1 5/7] Make nfs4_server_supports_acls() global
config: um-allyesconfig (https://download.01.org/0day-ci/archive/20260110/202601100435.4dwE5mYV-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260110/202601100435.4dwE5mYV-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601100435.4dwE5mYV-lkp@intel.com/
All warnings (new ones prefixed by >>):
fs/nfs/nfs4proc.c: In function 'nfs4_server_supports_acls':
fs/nfs/nfs4proc.c:6083:50: error: 'FATTR4_WORD2_POSIX_DEFAULT_ACL' undeclared (first use in this function)
6083 | return server->attr_bitmask[2] & FATTR4_WORD2_POSIX_DEFAULT_ACL;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/nfs/nfs4proc.c:6083:50: note: each undeclared identifier is reported only once for each function it appears in
fs/nfs/nfs4proc.c:6085:50: error: 'FATTR4_WORD2_POSIX_ACCESS_ACL' undeclared (first use in this function); did you mean 'FATTR4_WORD1_TIME_ACCESS_SET'?
6085 | return server->attr_bitmask[2] & FATTR4_WORD2_POSIX_ACCESS_ACL;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| FATTR4_WORD1_TIME_ACCESS_SET
>> fs/nfs/nfs4proc.c:6087:1: warning: control reaches end of non-void function [-Wreturn-type]
6087 | }
| ^
vim +6087 fs/nfs/nfs4proc.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 6071
2f4c5fc884fcb1 Rick Macklem 2026-01-02 6072 bool nfs4_server_supports_acls(const struct nfs_server *server,
7b8b44eb7710e3 Trond Myklebust 2022-05-14 6073 enum nfs4_acl_type type)
aa1870af92d8f6 J. Bruce Fields 2005-06-22 6074 {
7b8b44eb7710e3 Trond Myklebust 2022-05-14 6075 switch (type) {
7b8b44eb7710e3 Trond Myklebust 2022-05-14 6076 default:
7b8b44eb7710e3 Trond Myklebust 2022-05-14 6077 return server->attr_bitmask[0] & FATTR4_WORD0_ACL;
7b8b44eb7710e3 Trond Myklebust 2022-05-14 6078 case NFS4ACL_DACL:
7b8b44eb7710e3 Trond Myklebust 2022-05-14 6079 return server->attr_bitmask[1] & FATTR4_WORD1_DACL;
7b8b44eb7710e3 Trond Myklebust 2022-05-14 6080 case NFS4ACL_SACL:
7b8b44eb7710e3 Trond Myklebust 2022-05-14 6081 return server->attr_bitmask[1] & FATTR4_WORD1_SACL;
2f4c5fc884fcb1 Rick Macklem 2026-01-02 6082 case NFS4ACL_POSIXDEFAULT:
2f4c5fc884fcb1 Rick Macklem 2026-01-02 6083 return server->attr_bitmask[2] & FATTR4_WORD2_POSIX_DEFAULT_ACL;
2f4c5fc884fcb1 Rick Macklem 2026-01-02 6084 case NFS4ACL_POSIXACCESS:
2f4c5fc884fcb1 Rick Macklem 2026-01-02 6085 return server->attr_bitmask[2] & FATTR4_WORD2_POSIX_ACCESS_ACL;
7b8b44eb7710e3 Trond Myklebust 2022-05-14 6086 }
aa1870af92d8f6 J. Bruce Fields 2005-06-22 @6087 }
aa1870af92d8f6 J. Bruce Fields 2005-06-22 6088
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-01-09 21:14 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-02 23:29 [PATCH v1 0/7] Add NFSv4.2 POSIX ACL support to the client rick.macklem
2026-01-02 23:29 ` [PATCH v1 1/7] Add entries to the predefined client operations enum rick.macklem
2026-01-02 23:29 ` [PATCH v1 2/7] Add new entries for handling POSIX draft ACLs rick.macklem
2026-01-02 23:29 ` [PATCH v1 3/7] Make posix_acl_from_nfsacl() global rick.macklem
2026-01-02 23:29 ` [PATCH v1 4/7] Make three functions global and move them to acl.c rick.macklem
2026-01-02 23:29 ` [PATCH v1 5/7] Make nfs4_server_supports_acls() global rick.macklem
2026-01-03 14:37 ` kernel test robot
2026-01-03 16:04 ` Rick Macklem
2026-01-03 15:15 ` kernel test robot
2026-01-09 21:14 ` kernel test robot [this message]
2026-01-09 21:55 ` kernel test robot
2026-01-09 23:06 ` Rick Macklem
2026-01-09 23:50 ` kernel test robot
2026-01-02 23:29 ` [PATCH v1 6/7] Set SB_POSIXACL if the server supports the extension rick.macklem
2026-01-03 16:25 ` kernel test robot
2026-01-03 16:38 ` Rick Macklem
2026-01-02 23:29 ` [PATCH v1 7/7] Add support for the NFSv4.2 POSIX draft ACL attributes rick.macklem
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=202601100435.4dwE5mYV-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-nfs@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rick.macklem@gmail.com \
--cc=rmacklem@uoguelph.ca \
/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