mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Hongru Zhang <zhanghongru06@gmail.com>,
	paul@paul-moore.com, stephen.smalley.work@gmail.com,
	omosnace@redhat.com
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	selinux@vger.kernel.org, Hongru Zhang <zhanghongru@xiaomi.com>
Subject: Re: [PATCH] selinux: Make avc cache slot size configurable during boot
Date: Sun, 7 Sep 2025 12:31:34 +0800	[thread overview]
Message-ID: <202509071211.k5n864Gr-lkp@intel.com> (raw)
In-Reply-To: <20250905100454.685866-1-zhanghongru@xiaomi.com>

Hi Hongru,

kernel test robot noticed the following build warnings:

[auto build test WARNING on pcmoore-selinux/next]
[also build test WARNING on linus/master v6.17-rc4 next-20250905]
[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/Hongru-Zhang/selinux-Make-avc-cache-slot-size-configurable-during-boot/20250905-180729
base:   https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git next
patch link:    https://lore.kernel.org/r/20250905100454.685866-1-zhanghongru%40xiaomi.com
patch subject: [PATCH] selinux: Make avc cache slot size configurable during boot
config: i386-randconfig-063-20250907 (https://download.01.org/0day-ci/archive/20250907/202509071211.k5n864Gr-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250907/202509071211.k5n864Gr-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/202509071211.k5n864Gr-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> security/selinux/avc.c:37:5: sparse: sparse: symbol 'avc_cache_slots' was not declared. Should it be static?

vim +/avc_cache_slots +37 security/selinux/avc.c

    36	
  > 37	int avc_cache_slots __ro_after_init = 512;
    38	#define AVC_DEF_CACHE_THRESHOLD		512
    39	#define AVC_CACHE_RECLAIM		16
    40	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2025-09-07  4:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-05 10:04 Hongru Zhang
2025-09-05 16:45 ` Paul Moore
2025-09-08  7:19   ` Hongru Zhang
2025-09-07  4:31 ` kernel test robot [this message]
2025-09-08 13:45 ` Stephen Smalley
2025-09-11 13:06   ` Hongru Zhang
2025-09-11 13:23     ` Stephen Smalley
2025-09-11 13:25       ` Stephen Smalley
2025-09-12 10:59         ` Hongru Zhang
2025-09-12 12:35           ` Stephen Smalley
2025-09-19 13:58             ` Hongru Zhang
2025-09-19 14:33               ` Stephen Smalley
2025-09-20  7:50                 ` Hongru Zhang
2025-09-22 12:29                   ` Stephen Smalley
2025-09-22 12:49                     ` Hongru Zhang

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=202509071211.k5n864Gr-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=omosnace@redhat.com \
    --cc=paul@paul-moore.com \
    --cc=selinux@vger.kernel.org \
    --cc=stephen.smalley.work@gmail.com \
    --cc=zhanghongru06@gmail.com \
    --cc=zhanghongru@xiaomi.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

all inboxes | Powered by JetHome®