tree:
https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git
renesas/i2c/new_client_device
head: 0a8ad6d10e079730b0c2c63997db1be3b3fc804d
commit: 45b61c664608299f60e3b139a4bde373f76d818c [5/28] drm/i2c/sil164: convert to use
i2c_new_client_device()
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
git checkout 45b61c664608299f60e3b139a4bde373f76d818c
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/gpu//drm/i2c/sil164_drv.c: In function 'sil164_encoder_init':
> drivers/gpu//drm/i2c/sil164_drv.c:405:21: error: 'client'
redeclared as different kind of symbol
struct i2c_client *client;
^~~~~~
drivers/gpu//drm/i2c/sil164_drv.c:400:40: note: previous definition of 'client'
was here
sil164_encoder_init(struct i2c_client *client,
^~~~~~
vim +/client +405 drivers/gpu//drm/i2c/sil164_drv.c
398
399 static int
400 sil164_encoder_init(struct i2c_client *client,
401 struct drm_device *dev,
402 struct drm_encoder_slave *encoder)
403 {
404 struct sil164_priv *priv;
405 struct i2c_client *client;
406
407 priv = kzalloc(sizeof(*priv), GFP_KERNEL);
408 if (!priv)
409 return -ENOMEM;
410
411 encoder->slave_priv = priv;
412 encoder->slave_funcs = &sil164_encoder_funcs;
413
414 client = sil164_detect_slave(client);
415 if (!IS_ERR(client))
416 priv->duallink_slave = client;
417
418 return 0;
419 }
420
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org