[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204191348.SKAmnWmG-lkp@intel.com>
Date: Tue, 19 Apr 2022 13:14:02 +0800
From: kernel test robot <lkp@...el.com>
To: Ingo Molnar <mingo@...nel.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [mingo-tip:sched/headers 1541/2356]
drivers/input/touchscreen/imagis.c:358:34: error: use of undeclared
identifier 'imagis_of_match'
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head: af93551cf39027d176f30b9beafc60a4c130998a
commit: 63245bf3e0db1d416f39a3ccb1311f94f37697f5 [1541/2356] headers/deps: i2c: Optimize <linux/i2c.h> header dependencies
config: x86_64-randconfig-a011-20220418 (https://download.01.org/0day-ci/archive/20220419/202204191348.SKAmnWmG-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 429cbac0390654f90bba18a41799464adf31a5ec)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=63245bf3e0db1d416f39a3ccb1311f94f37697f5
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip sched/headers
git checkout 63245bf3e0db1d416f39a3ccb1311f94f37697f5
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/ drivers/ sound/soc/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
drivers/input/touchscreen/imagis.c:79:8: error: unknown type name 'irqreturn_t'
static irqreturn_t imagis_interrupt(int irq, void *dev_id)
^
drivers/input/touchscreen/imagis.c:133:9: error: use of undeclared identifier 'IRQ_HANDLED'
return IRQ_HANDLED;
^
drivers/input/touchscreen/imagis.c:164:2: error: implicit declaration of function 'enable_irq' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
enable_irq(ts->client->irq);
^
drivers/input/touchscreen/imagis.c:171:2: error: implicit declaration of function 'disable_irq' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
disable_irq(ts->client->irq);
^
drivers/input/touchscreen/imagis.c:171:2: note: did you mean 'disable_TSC'?
arch/x86/include/asm/tsc.h:20:13: note: 'disable_TSC' declared here
extern void disable_TSC(void);
^
drivers/input/touchscreen/imagis.c:295:10: error: implicit declaration of function 'devm_request_threaded_irq' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
error = devm_request_threaded_irq(dev, i2c->irq,
^
drivers/input/touchscreen/imagis.c:297:8: error: use of undeclared identifier 'IRQF_ONESHOT'
IRQF_ONESHOT | IRQF_NO_AUTOEN,
^
drivers/input/touchscreen/imagis.c:297:23: error: use of undeclared identifier 'IRQF_NO_AUTOEN'
IRQF_ONESHOT | IRQF_NO_AUTOEN,
^
drivers/input/touchscreen/imagis.c:358:21: error: implicit declaration of function 'of_match_ptr' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
.of_match_table = of_match_ptr(imagis_of_match),
^
>> drivers/input/touchscreen/imagis.c:358:34: error: use of undeclared identifier 'imagis_of_match'
.of_match_table = of_match_ptr(imagis_of_match),
^
9 errors generated.
vim +/imagis_of_match +358 drivers/input/touchscreen/imagis.c
a23ba3c043db9a Markuss Broks 2022-03-14 353
a23ba3c043db9a Markuss Broks 2022-03-14 354 static struct i2c_driver imagis_ts_driver = {
a23ba3c043db9a Markuss Broks 2022-03-14 355 .driver = {
a23ba3c043db9a Markuss Broks 2022-03-14 356 .name = "imagis-touchscreen",
a23ba3c043db9a Markuss Broks 2022-03-14 357 .pm = &imagis_pm_ops,
a23ba3c043db9a Markuss Broks 2022-03-14 @358 .of_match_table = of_match_ptr(imagis_of_match),
a23ba3c043db9a Markuss Broks 2022-03-14 359 },
a23ba3c043db9a Markuss Broks 2022-03-14 360 .probe_new = imagis_probe,
a23ba3c043db9a Markuss Broks 2022-03-14 361 };
a23ba3c043db9a Markuss Broks 2022-03-14 362
:::::: The code at line 358 was first introduced by commit
:::::: a23ba3c043db9a2e8c967a3ff66dcedc5725afdf Input: add Imagis touchscreen driver
:::::: TO: Markuss Broks <markuss.broks@...il.com>
:::::: CC: Dmitry Torokhov <dmitry.torokhov@...il.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists