All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 10056/11507] security/apparmor/apparmorfs.c:1469:1: warning: unused variable 'seq_ns_compress_min_fops'
@ 2026-07-31 20:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-31 20:29 UTC (permalink / raw)
  To: John Johansen; +Cc: llvm, oe-kbuild-all, Georgia Garcia

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-31 20:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-31 20:29 [linux-next:master 10056/11507] security/apparmor/apparmorfs.c:1469:1: warning: unused variable 'seq_ns_compress_min_fops' kernel test robot

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.