[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202310281420.see2fNLh-lkp@intel.com>
Date: Sat, 28 Oct 2023 14:29:03 +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 v2 2/2] iio: light: Add support for APDS9306 Light Sensor
Hi Subhajit,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 611da07b89fdd53f140d7b33013f255bf0ed8f34]
url: https://github.com/intel-lab-lkp/linux/commits/Subhajit-Ghosh/dt-bindings-iio-light-Avago-APDS9306/20231027-154954
base: 611da07b89fdd53f140d7b33013f255bf0ed8f34
patch link: https://lore.kernel.org/r/20231027074545.6055-3-subhajit.ghosh%40tweaklogic.com
patch subject: [PATCH v2 2/2] iio: light: Add support for APDS9306 Light Sensor
config: alpha-allmodconfig (https://download.01.org/0day-ci/archive/20231028/202310281420.see2fNLh-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/20231028/202310281420.see2fNLh-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/202310281420.see2fNLh-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/iio/light/apds9306.c:110: warning: cannot understand function prototype: 'const int apds9306_repeat_rate_freq[][2] = '
>> drivers/iio/light/apds9306.c:123: warning: cannot understand function prototype: 'const int apds9306_repeat_rate_period[] = '
vim +110 drivers/iio/light/apds9306.c
106
107 /**
108 * apds9306_repeat_rate_freq - Sampling Frequency in uHz
109 */
> 110 static const int apds9306_repeat_rate_freq[][2] = {
111 {40, 0},
112 {20, 0},
113 {10, 0},
114 {5, 0},
115 {2, 0},
116 {1, 0},
117 {0, 500000},
118 };
119
120 /**
121 * apds9306_repeat_rate_period - Sampling period in uSec
122 */
> 123 static const int apds9306_repeat_rate_period[] = {
124 25000, 50000, 100000, 200000, 500000, 1000000, 2000000
125 };
126 static_assert(ARRAY_SIZE(apds9306_repeat_rate_freq) ==
127 ARRAY_SIZE(apds9306_repeat_rate_period));
128
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists