All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Thomas Weißschuh" <linux@weissschuh.net>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH RFC 7/7] treewide: sysctl: migrate proc_dointvec to proc_handler_new
Date: Sun, 26 Nov 2023 00:48:25 +0800	[thread overview]
Message-ID: <202311252331.C9ABVKC2-lkp@intel.com> (raw)
In-Reply-To: <20231125-const-sysctl-v1-7-5e881b0e0290@weissschuh.net>

Hi Thomas,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on 0f5cc96c367f2e780eb492cc9cab84e3b2ca88da]

url:    https://github.com/intel-lab-lkp/linux/commits/Thomas-Wei-schuh/sysctl-add-helper-sysctl_run_handler/20231125-205506
base:   0f5cc96c367f2e780eb492cc9cab84e3b2ca88da
patch link:    https://lore.kernel.org/r/20231125-const-sysctl-v1-7-5e881b0e0290%40weissschuh.net
patch subject: [PATCH RFC 7/7] treewide: sysctl: migrate proc_dointvec to proc_handler_new
config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20231125/202311252331.C9ABVKC2-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231125/202311252331.C9ABVKC2-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/202311252331.C9ABVKC2-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/scsi/scsi_sysctl.c:20:27: error: initialization of 'int (*)(struct ctl_table *, int,  void *, size_t *, loff_t *)' {aka 'int (*)(struct ctl_table *, int,  void *, long unsigned int *, long long int *)'} from incompatible pointer type 'int (*)(const struct ctl_table *, int,  void *, size_t *, loff_t *)' {aka 'int (*)(const struct ctl_table *, int,  void *, long unsigned int *, long long int *)'} [-Werror=incompatible-pointer-types]
      20 |           .proc_handler = proc_dointvec },
         |                           ^~~~~~~~~~~~~
   drivers/scsi/scsi_sysctl.c:20:27: note: (near initialization for 'scsi_table[0].proc_handler')
   cc1: some warnings being treated as errors


vim +20 drivers/scsi/scsi_sysctl.c

^1da177e4c3f41 Linus Torvalds    2005-04-16  13  
^1da177e4c3f41 Linus Torvalds    2005-04-16  14  
592749e4d05fb6 Joe Perches       2014-06-06  15  static struct ctl_table scsi_table[] = {
894d2491153a9f Eric W. Biederman 2009-11-05  16  	{ .procname	= "logging_level",
^1da177e4c3f41 Linus Torvalds    2005-04-16  17  	  .data		= &scsi_logging_level,
^1da177e4c3f41 Linus Torvalds    2005-04-16  18  	  .maxlen	= sizeof(scsi_logging_level),
^1da177e4c3f41 Linus Torvalds    2005-04-16  19  	  .mode		= 0644,
6d4561110a3e9f Eric W. Biederman 2009-11-16 @20  	  .proc_handler	= proc_dointvec },
^1da177e4c3f41 Linus Torvalds    2005-04-16  21  };
^1da177e4c3f41 Linus Torvalds    2005-04-16  22  

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

  reply	other threads:[~2023-11-25 16:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20231125125305eucas1p2ebdf870dd8ef46ea9d346f727b832439@eucas1p2.samsung.com>
2023-11-25 12:52 ` [PATCH RFC 0/7] sysctl: constify sysctl ctl_tables Thomas Weißschuh
2023-11-25 12:52   ` [PATCH RFC 1/7] sysctl: add helper sysctl_run_handler Thomas Weißschuh
2023-11-25 12:52   ` [PATCH RFC 2/7] bpf: cgroup: call proc handler through helper Thomas Weißschuh
2023-11-25 12:52   ` [PATCH RFC 3/7] sysctl: add proc_handler_new to struct ctl_table Thomas Weißschuh
2023-11-25 12:52   ` [PATCH RFC 4/7] net: sysctl: add new sysctl table handler to debug message Thomas Weißschuh
2023-11-25 12:52   ` [PATCH RFC 5/7] treewide: sysctl: migrate proc_dostring to proc_handler_new Thomas Weißschuh
2023-11-25 15:17     ` kernel test robot
2023-11-25 16:48     ` kernel test robot
2023-11-25 12:52   ` [PATCH RFC 6/7] treewide: sysctl: migrate proc_dobool " Thomas Weißschuh
2023-11-25 12:52   ` [PATCH RFC 7/7] treewide: sysctl: migrate proc_dointvec " Thomas Weißschuh
2023-11-25 16:48     ` kernel test robot [this message]
2023-11-27 10:13   ` [PATCH RFC 0/7] sysctl: constify sysctl ctl_tables Joel Granados
2023-11-28  8:18     ` Thomas Weißschuh
2023-12-01 16:31       ` Joel Granados
2023-12-03 15:37         ` Thomas Weißschuh
2023-12-04  8:43           ` Joel Granados

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=202311252331.C9ABVKC2-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux@weissschuh.net \
    --cc=oe-kbuild-all@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.