[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202501091228.9APcsnSs-lkp@intel.com>
Date: Thu, 9 Jan 2025 13:05:49 +0800
From: kernel test robot <lkp@...el.com>
To: John Erasmus Mari Geronimo <johnerasmusmari.geronimo@...log.com>,
devicetree@...r.kernel.org, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Jonathan Corbet <corbet@....net>
Subject: Re: [PATCH 1/3] hwmon: (max31827) refactor enum chips to chip info
Hi John,
kernel test robot noticed the following build warnings:
[auto build test WARNING on adc52dd4078067fabf1431036ba180eafd8a7eee]
url: https://github.com/intel-lab-lkp/linux/commits/John-Erasmus-Mari-Geronimo/hwmon-max31827-refactor-enum-chips-to-chip-info/20250108-162739
base: adc52dd4078067fabf1431036ba180eafd8a7eee
patch link: https://lore.kernel.org/r/20250108082531.15467-2-johnerasmusmari.geronimo%40analog.com
patch subject: [PATCH 1/3] hwmon: (max31827) refactor enum chips to chip info
config: hexagon-randconfig-001-20250109 (https://download.01.org/0day-ci/archive/20250109/202501091228.9APcsnSs-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250109/202501091228.9APcsnSs-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/202501091228.9APcsnSs-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/hwmon/max31827.c:93:40: warning: tentative definition of variable with internal linkage has incomplete non-array type 'const struct max31827_chip_info' [-Wtentative-definition-incomplete-type]
static const struct max31827_chip_info max31827;
^
drivers/hwmon/max31827.c:93:21: note: forward declaration of 'struct max31827_chip_info'
static const struct max31827_chip_info max31827;
^
drivers/hwmon/max31827.c:94:40: warning: tentative definition of variable with internal linkage has incomplete non-array type 'const struct max31827_chip_info' [-Wtentative-definition-incomplete-type]
static const struct max31827_chip_info max31828;
^
drivers/hwmon/max31827.c:93:21: note: forward declaration of 'struct max31827_chip_info'
static const struct max31827_chip_info max31827;
^
drivers/hwmon/max31827.c:95:40: warning: tentative definition of variable with internal linkage has incomplete non-array type 'const struct max31827_chip_info' [-Wtentative-definition-incomplete-type]
static const struct max31827_chip_info max31829;
^
drivers/hwmon/max31827.c:93:21: note: forward declaration of 'struct max31827_chip_info'
static const struct max31827_chip_info max31827;
^
drivers/hwmon/max31827.c:96:40: warning: tentative definition of variable with internal linkage has incomplete non-array type 'const struct max31827_chip_info' [-Wtentative-definition-incomplete-type]
static const struct max31827_chip_info max31875;
^
drivers/hwmon/max31827.c:93:21: note: forward declaration of 'struct max31827_chip_info'
static const struct max31827_chip_info max31827;
^
drivers/hwmon/max31827.c:602:1: error: expected expression
static const struct max31827_chip_info max31829 = {
^
drivers/hwmon/max31827.c:677:23: error: expected '}'
MODULE_LICENSE("GPL");
^
drivers/hwmon/max31827.c:598:51: note: to match this '{'
static const struct max31827_chip_info max31828 = {
^
drivers/hwmon/max31827.c:677:23: error: expected ';' after top level declarator
MODULE_LICENSE("GPL");
^
;
4 warnings and 3 errors generated.
vim +93 drivers/hwmon/max31827.c
91
92 struct max31827_state;
> 93 static const struct max31827_chip_info max31827;
94 static const struct max31827_chip_info max31828;
95 static const struct max31827_chip_info max31829;
96 static const struct max31827_chip_info max31875;
97
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists