From: kernel test robot <lkp@intel.com>
To: John Johansen <john.johansen@canonical.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Georgia Garcia <georgia.garcia@canonical.com>
Subject: [linux-next:master 10056/11507] security/apparmor/apparmorfs.c:1469:1: warning: unused variable 'seq_ns_compress_min_fops'
Date: Sat, 01 Aug 2026 04:29:15 +0800 [thread overview]
Message-ID: <202608010404.4hcTn1py-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 415606a7be939835db9b0d6b711887586646346d
commit: 1c5f27e845e84f58ed6bbe3e6bc12d6a013e74b5 [10056/11507] apparmor: Fix build failure when ZSTD_DECOMPRESS is not enabled
config: powerpc-randconfig-001-20260801 (https://download.01.org/0day-ci/archive/20260801/202608010404.4hcTn1py-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260801/202608010404.4hcTn1py-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/202608010404.4hcTn1py-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> security/apparmor/apparmorfs.c:1469:1: warning: unused variable 'seq_ns_compress_min_fops' [-Wunused-const-variable]
1469 | SEQ_NS_FOPS(compress_min);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
security/apparmor/apparmorfs.c:1391:37: note: expanded from macro 'SEQ_NS_FOPS'
1391 | static const struct file_operations seq_ns_ ##NAME ##_fops = { \
| ^~~~~~~~~~~~~~~~~~~~~~
<scratch space>:132:1: note: expanded from here
132 | seq_ns_compress_min_fops
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> security/apparmor/apparmorfs.c:1470:1: warning: unused variable 'seq_ns_compress_max_fops' [-Wunused-const-variable]
1470 | SEQ_NS_FOPS(compress_max);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
security/apparmor/apparmorfs.c:1391:37: note: expanded from macro 'SEQ_NS_FOPS'
1391 | static const struct file_operations seq_ns_ ##NAME ##_fops = { \
| ^~~~~~~~~~~~~~~~~~~~~~
<scratch space>:140:1: note: expanded from here
140 | seq_ns_compress_max_fops
| ^~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
vim +/seq_ns_compress_min_fops +1469 security/apparmor/apparmorfs.c
2218d08123362c Jon Tourville 2022-07-11 1464
40cde7fcc344bc John Johansen 2017-06-09 1465 SEQ_NS_FOPS(stacked);
40cde7fcc344bc John Johansen 2017-06-09 1466 SEQ_NS_FOPS(nsstacked);
64c8697045f877 John Johansen 2017-05-25 1467 SEQ_NS_FOPS(level);
64c8697045f877 John Johansen 2017-05-25 1468 SEQ_NS_FOPS(name);
2218d08123362c Jon Tourville 2022-07-11 @1469 SEQ_NS_FOPS(compress_min);
2218d08123362c Jon Tourville 2022-07-11 @1470 SEQ_NS_FOPS(compress_max);
3e3e569539864d John Johansen 2017-01-16 1471
5d5182cae40115 John Johansen 2017-05-09 1472
:::::: The code at line 1469 was first introduced by commit
:::::: 2218d08123362c63bab257caf5ec3bc1a6e87ae9 apparmor: expose compression level limits in sysfs
:::::: TO: Jon Tourville <jon.tourville@canonical.com>
:::::: CC: John Johansen <john.johansen@canonical.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-07-31 20:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202608010404.4hcTn1py-lkp@intel.com \
--to=lkp@intel.com \
--cc=georgia.garcia@canonical.com \
--cc=john.johansen@canonical.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.