From: kernel test robot <lkp@intel.com>
To: Meng Tang <tangmeng@uniontech.com>,
mcgrof@kernel.org, keescook@chromium.org, yzaikin@google.com,
ebiederm@xmission.com, willy@infradead.org
Cc: kbuild-all@lists.01.org, nixiaoming@huawei.com,
nizhen@uniontech.com, zhanglianjie@uniontech.com,
sujiaxun@uniontech.com, linux-kernel@vger.kernel.org,
linux-fsdevel@vger.kernel.org, Meng Tang <tangmeng@uniontech.com>
Subject: Re: [PATCH v5 1/2] fs/proc: optimize register ctl_tables
Date: Tue, 8 Mar 2022 19:22:51 +0800 [thread overview]
Message-ID: <202203081905.IbWENTfU-lkp@intel.com> (raw)
In-Reply-To: <20220304112341.19528-1-tangmeng@uniontech.com>
Hi Meng,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on mcgrof/sysctl-next]
[also build test WARNING on jack-fs/fsnotify rostedt-trace/for-next kees/for-next/pstore linus/master v5.17-rc7 next-20220308]
[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]
url: https://github.com/0day-ci/linux/commits/Meng-Tang/fs-proc-optimize-register-ctl_tables/20220307-150704
base: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git sysctl-next
config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20220308/202203081905.IbWENTfU-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/1c32e4182bcc38ac7cf4385267fa8b4ca2d7d97a
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Meng-Tang/fs-proc-optimize-register-ctl_tables/20220307-150704
git checkout 1c32e4182bcc38ac7cf4385267fa8b4ca2d7d97a
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=um SUBARCH=i386 SHELL=/bin/bash fs/proc/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> fs/proc/proc_sysctl.c:1442: warning: expecting prototype for register_sysctl(). Prototype was for register_sysctl_with_num() instead
vim +1442 fs/proc/proc_sysctl.c
1f87f0b52b1d65 Eric W. Biederman 2012-01-06 1428
fea478d4101a42 Eric W. Biederman 2012-01-20 1429 /**
fea478d4101a42 Eric W. Biederman 2012-01-20 1430 * register_sysctl - register a sysctl table
fea478d4101a42 Eric W. Biederman 2012-01-20 1431 * @path: The path to the directory the sysctl table is in.
fea478d4101a42 Eric W. Biederman 2012-01-20 1432 * @table: the table structure
1c32e4182bcc38 Meng Tang 2022-03-04 1433 * @register_by_num: register single one and table must be without child
fea478d4101a42 Eric W. Biederman 2012-01-20 1434 *
fea478d4101a42 Eric W. Biederman 2012-01-20 1435 * Register a sysctl table. @table should be a filled in ctl_table
fea478d4101a42 Eric W. Biederman 2012-01-20 1436 * array. A completely 0 filled entry terminates the table.
fea478d4101a42 Eric W. Biederman 2012-01-20 1437 *
fea478d4101a42 Eric W. Biederman 2012-01-20 1438 * See __register_sysctl_table for more details.
fea478d4101a42 Eric W. Biederman 2012-01-20 1439 */
1c32e4182bcc38 Meng Tang 2022-03-04 1440 struct ctl_table_header *register_sysctl_with_num(const char *path,
1c32e4182bcc38 Meng Tang 2022-03-04 1441 struct ctl_table *table, int register_by_num)
fea478d4101a42 Eric W. Biederman 2012-01-20 @1442 {
1c32e4182bcc38 Meng Tang 2022-03-04 1443 return __register_sysctl_table_with_num(&sysctl_table_root.default_set,
1c32e4182bcc38 Meng Tang 2022-03-04 1444 path, table, register_by_num);
fea478d4101a42 Eric W. Biederman 2012-01-20 1445 }
1c32e4182bcc38 Meng Tang 2022-03-04 1446 EXPORT_SYMBOL(register_sysctl_with_num);
fea478d4101a42 Eric W. Biederman 2012-01-20 1447
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next prev parent reply other threads:[~2022-03-08 11:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-04 11:23 [PATCH v5 1/2] fs/proc: optimize register ctl_tables Meng Tang
2022-03-04 11:23 ` [PATCH v5 2/2] fs/proc: sysctl: remove register ctl_table end with empty Meng Tang
2022-03-08 11:22 ` kernel test robot [this message]
2023-01-09 18:00 ` [PATCH v5 1/2] fs/proc: optimize register ctl_tables Luis Chamberlain
2023-01-19 0:10 ` Luis Chamberlain
2023-03-02 1:12 ` Luis Chamberlain
2023-03-02 2:45 ` Meng Tang
2023-03-02 19:52 ` Luis Chamberlain
2023-03-02 2:56 ` Meng Tang
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=202203081905.IbWENTfU-lkp@intel.com \
--to=lkp@intel.com \
--cc=ebiederm@xmission.com \
--cc=kbuild-all@lists.01.org \
--cc=keescook@chromium.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mcgrof@kernel.org \
--cc=nixiaoming@huawei.com \
--cc=nizhen@uniontech.com \
--cc=sujiaxun@uniontech.com \
--cc=tangmeng@uniontech.com \
--cc=willy@infradead.org \
--cc=yzaikin@google.com \
--cc=zhanglianjie@uniontech.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;
as well as URLs for NNTP newsgroup(s).