lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202310271158.rRHlxbrM-lkp@intel.com>
Date:   Fri, 27 Oct 2023 11:26:31 +0800
From:   kernel test robot <lkp@...el.com>
To:     Subhajit Ghosh <subhajit.ghosh@...aklogic.com>,
        Jonathan Cameron <jic23@...nel.org>,
        Lars-Peter Clausen <lars@...afoo.de>,
        Rob Herring <robh+dt@...nel.org>,
        Krzysztof Kozlowski <krzk@...nel.org>,
        Conor Dooley <conor+dt@...nel.org>,
        Matti Vaittinen <matti.vaittinen@...rohmeurope.com>,
        Matti Vaittinen <mazziesaccount@...il.com>,
        Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
        Paul Gazzillo <paul@...zz.com>
Cc:     oe-kbuild-all@...ts.linux.dev,
        Subhajit Ghosh <subhajit.ghosh@...aklogic.com>,
        Matt Ranostay <matt@...ostay.sg>,
        Stefan Windfeldt-Prytz <stefan.windfeldt-prytz@...s.com>,
        linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 2/2] iio: light: Add support for APDS9306 Light Sensor

Hi Subhajit,

kernel test robot noticed the following build errors:

[auto build test ERROR on 611da07b89fdd53f140d7b33013f255bf0ed8f34]

url:    https://github.com/intel-lab-lkp/linux/commits/Subhajit-Ghosh/dt-bindings-iio-light-Avago-APDS9306/20231026-223659
base:   611da07b89fdd53f140d7b33013f255bf0ed8f34
patch link:    https://lore.kernel.org/r/20231026143532.39660-3-subhajit.ghosh%40tweaklogic.com
patch subject: [PATCH v1 2/2] iio: light: Add support for APDS9306 Light Sensor
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20231027/202310271158.rRHlxbrM-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231027/202310271158.rRHlxbrM-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310271158.rRHlxbrM-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/iio/light/apds9306.c:1325:10: error: 'struct i2c_driver' has no member named 'probe_new'
    1325 |         .probe_new = apds9306_probe,
         |          ^~~~~~~~~
>> drivers/iio/light/apds9306.c:1325:22: error: initialization of 'const struct i2c_device_id *' from incompatible pointer type 'int (*)(struct i2c_client *)' [-Werror=incompatible-pointer-types]
    1325 |         .probe_new = apds9306_probe,
         |                      ^~~~~~~~~~~~~~
   drivers/iio/light/apds9306.c:1325:22: note: (near initialization for 'apds9306_driver.id_table')
   drivers/iio/light/apds9306.c:1326:21: warning: initialized field overwritten [-Woverride-init]
    1326 |         .id_table = apds9306_id,
         |                     ^~~~~~~~~~~
   drivers/iio/light/apds9306.c:1326:21: note: (near initialization for 'apds9306_driver.id_table')
   cc1: some warnings being treated as errors


vim +1325 drivers/iio/light/apds9306.c

  1317	
  1318	static struct i2c_driver apds9306_driver = {
  1319		.driver = {
  1320			.name = "apds9306",
  1321			.pm = pm_ptr(&apds9306_pm_ops),
  1322			.of_match_table = apds9306_of_match,
  1323			.probe_type = PROBE_PREFER_ASYNCHRONOUS,
  1324		},
> 1325		.probe_new = apds9306_probe,
  1326		.id_table = apds9306_id,
  1327	};
  1328	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ