From: kernel test robot <lkp@intel.com>
To: Romain Gantois <romain.gantois@bootlin.com>,
Wolfram Sang <wsa-dev@sang-engineering.com>,
Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>,
Luca Ceresoli <luca.ceresoli@bootlin.com>,
Andi Shyti <andi.shyti@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Derek Kiernan <derek.kiernan@amd.com>,
Dragan Cvetic <dragan.cvetic@amd.com>,
Arnd Bergmann <arnd@arndb.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Linus Walleij <linus.walleij@linaro.org>,
Bartosz Golaszewski <brgl@bgdev.pl>
Cc: oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Kory Maincent <kory.maincent@bootlin.com>,
linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, linux-gpio@vger.kernel.org,
Romain Gantois <romain.gantois@bootlin.com>
Subject: Re: [PATCH v8 9/9] misc: add FPC202 dual port controller driver
Date: Sun, 2 Mar 2025 04:31:48 +0800 [thread overview]
Message-ID: <202503020450.UW2PuA6X-lkp@intel.com> (raw)
In-Reply-To: <20250227-fpc202-v8-9-b7994117fbe2@bootlin.com>
Hi Romain,
kernel test robot noticed the following build errors:
[auto build test ERROR on 2014c95afecee3e76ca4a56956a936e23283f05b]
url: https://github.com/intel-lab-lkp/linux/commits/Romain-Gantois/dt-bindings-misc-Describe-TI-FPC202-dual-port-controller/20250227-182532
base: 2014c95afecee3e76ca4a56956a936e23283f05b
patch link: https://lore.kernel.org/r/20250227-fpc202-v8-9-b7994117fbe2%40bootlin.com
patch subject: [PATCH v8 9/9] misc: add FPC202 dual port controller driver
config: sparc-randconfig-r051-20250302 (https://download.01.org/0day-ci/archive/20250302/202503020450.UW2PuA6X-lkp@intel.com/config)
compiler: sparc-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250302/202503020450.UW2PuA6X-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/202503020450.UW2PuA6X-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
drivers/misc/ti_fpc202.c: In function 'fpc202_read':
>> drivers/misc/ti_fpc202.c:104:15: error: implicit declaration of function 'i2c_smbus_read_byte_data' [-Wimplicit-function-declaration]
104 | val = i2c_smbus_read_byte_data(priv->client, reg);
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/misc/ti_fpc202.c: In function 'fpc202_write':
>> drivers/misc/ti_fpc202.c:110:16: error: implicit declaration of function 'i2c_smbus_write_byte_data' [-Wimplicit-function-declaration]
110 | return i2c_smbus_write_byte_data(priv->client, reg, value);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/misc/ti_fpc202.c: At top level:
>> drivers/misc/ti_fpc202.c:433:1: warning: data definition has no type or storage class
433 | module_i2c_driver(fpc202_driver);
| ^~~~~~~~~~~~~~~~~
>> drivers/misc/ti_fpc202.c:433:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Wimplicit-int]
>> drivers/misc/ti_fpc202.c:433:1: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type]
>> drivers/misc/ti_fpc202.c:424:26: warning: 'fpc202_driver' defined but not used [-Wunused-variable]
424 | static struct i2c_driver fpc202_driver = {
| ^~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for I2C_ATR
Depends on [n]: I2C [=n]
Selected by [y]:
- TI_FPC202 [=y]
vim +/i2c_smbus_read_byte_data +104 drivers/misc/ti_fpc202.c
99
100 static int fpc202_read(struct fpc202_priv *priv, u8 reg)
101 {
102 int val;
103
> 104 val = i2c_smbus_read_byte_data(priv->client, reg);
105 return val;
106 }
107
108 static int fpc202_write(struct fpc202_priv *priv, u8 reg, u8 value)
109 {
> 110 return i2c_smbus_write_byte_data(priv->client, reg, value);
111 }
112
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2025-03-01 20:32 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-27 10:21 [PATCH v8 0/9] misc: Support TI FPC202 dual-port controller Romain Gantois
2025-02-27 10:21 ` [PATCH v8 1/9] dt-bindings: misc: Describe TI FPC202 dual port controller Romain Gantois
2025-02-27 10:21 ` [PATCH v8 2/9] media: i2c: ds90ub960: Replace aliased clients list with address list Romain Gantois
2025-02-27 10:21 ` [PATCH v8 3/9] media: i2c: ds90ub960: Protect alias_use_mask with a mutex Romain Gantois
2025-02-27 10:21 ` [PATCH v8 4/9] i2c: use client addresses directly in ATR interface Romain Gantois
2025-02-27 10:21 ` [PATCH v8 5/9] i2c: move ATR alias pool to a separate struct Romain Gantois
2025-02-27 10:21 ` [PATCH v8 6/9] i2c: rename field 'alias_list' of struct i2c_atr_chan to 'alias_pairs' Romain Gantois
2025-02-27 10:21 ` [PATCH v8 7/9] i2c: support per-channel ATR alias pools Romain Gantois
2025-02-27 10:21 ` [PATCH v8 8/9] i2c: Support dynamic address translation Romain Gantois
2025-02-27 10:21 ` [PATCH v8 9/9] misc: add FPC202 dual port controller driver Romain Gantois
2025-03-01 19:57 ` kernel test robot
2025-03-01 20:31 ` kernel test robot [this message]
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=202503020450.UW2PuA6X-lkp@intel.com \
--to=lkp@intel.com \
--cc=andi.shyti@kernel.org \
--cc=arnd@arndb.de \
--cc=brgl@bgdev.pl \
--cc=conor+dt@kernel.org \
--cc=derek.kiernan@amd.com \
--cc=devicetree@vger.kernel.org \
--cc=dragan.cvetic@amd.com \
--cc=gregkh@linuxfoundation.org \
--cc=kory.maincent@bootlin.com \
--cc=krzk@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=luca.ceresoli@bootlin.com \
--cc=mchehab@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh@kernel.org \
--cc=romain.gantois@bootlin.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=wsa-dev@sang-engineering.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