mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kernel/nsproxy.c:264:9: sparse: sparse: dereference of noderef expression
@ 2025-12-18  3:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-18  3:06 UTC (permalink / raw)
  To: Christian Brauner; +Cc: oe-kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   ea1013c1539270e372fc99854bc6e4d94eaeff66
commit: 3a18f809184bc5a1cfad7cde5b8b026e2ff61587 ns: add active reference count
date:   6 weeks ago
config: i386-randconfig-061-20251218 (https://download.01.org/0day-ci/archive/20251218/202512181002.T1MzUgAK-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/20251218/202512181002.T1MzUgAK-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/202512181002.T1MzUgAK-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   kernel/nsproxy.c:264:9: sparse: sparse: no generic selection for 'struct user_namespace *const [noderef] __rcu user_ns'
   kernel/nsproxy.c:269:9: sparse: sparse: no generic selection for 'struct user_namespace *const [noderef] __rcu user_ns'
>> kernel/nsproxy.c:264:9: sparse: sparse: dereference of noderef expression
   kernel/nsproxy.c:269:9: sparse: sparse: dereference of noderef expression

vim +264 kernel/nsproxy.c

   261	
   262	void get_cred_namespaces(struct task_struct *tsk)
   263	{
 > 264		ns_ref_active_get(tsk->real_cred->user_ns);
   265	}
   266	

-- 
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:[~2025-12-18  3:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-18  3:06 kernel/nsproxy.c:264:9: sparse: sparse: dereference of noderef expression kernel test robot

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®