All of lore.kernel.org
 help / color / mirror / Atom feed
* [openeuler:OLK-5.10 22791/30000] kernel/sched/topology.c:1734 (null)() warn: (struct ctl_table)->procname cannot be NULL. Expression : sched_cluster_sysctls[1]->procname
@ 2024-10-21 14:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-21 14:19 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Dan Carpenter

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: kernel@openeuler.org
TO: Aubrey Li <aubrey.li@linux.intel.com>

tree:   https://gitee.com/openeuler/kernel.git OLK-5.10
head:   950c74b8b6db893114b092f9fd2548037daa73f7
commit: f4128ae8e6ff03b4c805707fe75d0345797f7f53 [22791/30000] sched: Add cluster scheduler level for x86
:::::: branch date: 6 hours ago
:::::: commit date: 9 months ago
config: x86_64-randconfig-161-20241013 (https://download.01.org/0day-ci/archive/20241021/202410212221.65cVVMvV-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)

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>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202410212221.65cVVMvV-lkp@intel.com/

smatch warnings:
kernel/sched/topology.c:1734 (null)() warn: (struct ctl_table)->procname cannot be NULL. Expression : sched_cluster_sysctls[1]->procname
kernel/sched/topology.c:1734 (null)() warn: (struct ctl_table)->proc_handler cannot be NULL. Expression : sched_cluster_sysctls[1]->proc_handler

vim +1734 kernel/sched/topology.c

8ce3e706b314091 Tim Chen 2021-12-03  1733  
8ce3e706b314091 Tim Chen 2021-12-03 @1734  static struct ctl_table sched_cluster_sysctls[] = {
8ce3e706b314091 Tim Chen 2021-12-03  1735  	{
8ce3e706b314091 Tim Chen 2021-12-03  1736  		.procname       = "sched_cluster",
8ce3e706b314091 Tim Chen 2021-12-03  1737  		.data           = &sysctl_sched_cluster,
8ce3e706b314091 Tim Chen 2021-12-03  1738  		.maxlen         = sizeof(unsigned int),
8ce3e706b314091 Tim Chen 2021-12-03  1739  		.mode           = 0644,
8ce3e706b314091 Tim Chen 2021-12-03  1740  		.proc_handler   = sched_cluster_handler,
8ce3e706b314091 Tim Chen 2021-12-03  1741  		.extra1         = SYSCTL_ZERO,
8ce3e706b314091 Tim Chen 2021-12-03  1742  		.extra2         = SYSCTL_ONE,
8ce3e706b314091 Tim Chen 2021-12-03  1743  	},
8ce3e706b314091 Tim Chen 2021-12-03  1744  	{}
8ce3e706b314091 Tim Chen 2021-12-03  1745  };
8ce3e706b314091 Tim Chen 2021-12-03  1746  

:::::: The code at line 1734 was first introduced by commit
:::::: 8ce3e706b31409147f035c037055caa68e450ce5 scheduler: Add runtime knob sysctl_sched_cluster

:::::: TO: Tim Chen <tim.c.chen@linux.intel.com>
:::::: CC: Jie Liu <liujie375@h-partners.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:[~2024-10-21 14:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-21 14:19 [openeuler:OLK-5.10 22791/30000] kernel/sched/topology.c:1734 (null)() warn: (struct ctl_table)->procname cannot be NULL. Expression : sched_cluster_sysctls[1]->procname 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.