From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Dan Carpenter <error27@gmail.com>
Subject: [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
Date: Mon, 21 Oct 2024 22:19:17 +0800 [thread overview]
Message-ID: <202410212221.65cVVMvV-lkp@intel.com> (raw)
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
reply other threads:[~2024-10-21 14:19 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=202410212221.65cVVMvV-lkp@intel.com \
--to=lkp@intel.com \
--cc=error27@gmail.com \
--cc=oe-kbuild@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.