* [freescale-fslc:pr/642 1577/30000] arch/mips/include/asm/uaccess.h:90:16: error: implicit declaration of function 'uaccess_kernel'
@ 2023-11-29 18:32 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-11-29 18:32 UTC (permalink / raw)
To: Otavio Salvador; +Cc: oe-kbuild-all
Hi Gao,
FYI, the error/warning still remains.
tree: https://github.com/Freescale/linux-fslc pr/642
head: c8b7cf62c7fea8456dec789d550b8006d73b8f04
commit: b5805df1b1a6c25d66b734c9249ac30c5f419b9d [1577/30000] MLK-14392-1 input: touch: add focaltech touch screen support
config: mips-allmodconfig (https://download.01.org/0day-ci/archive/20231130/202311300047.uhtRcbBV-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231130/202311300047.uhtRcbBV-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/202311300047.uhtRcbBV-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/input/touchscreen/focaltech_touch/focaltech_core.h:55,
from drivers/input/touchscreen/focaltech_touch/focaltech_core.c:34:
arch/mips/include/asm/uaccess.h: In function 'eva_kernel_access':
>> arch/mips/include/asm/uaccess.h:90:16: error: implicit declaration of function 'uaccess_kernel' [-Werror=implicit-function-declaration]
90 | return uaccess_kernel();
| ^~~~~~~~~~~~~~
drivers/input/touchscreen/focaltech_touch/focaltech_core.c: In function 'fts_parse_dt':
drivers/input/touchscreen/focaltech_touch/focaltech_core.c:970:31: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]
970 | if (pdata->reset_gpio < 0)
| ^
drivers/input/touchscreen/focaltech_touch/focaltech_core.c:976:29: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]
976 | if (pdata->irq_gpio < 0)
| ^
drivers/input/touchscreen/focaltech_touch/focaltech_core.c: At top level:
drivers/input/touchscreen/focaltech_touch/focaltech_core.c:1328:12: warning: 'fts_ts_resume' defined but not used [-Wunused-function]
1328 | static int fts_ts_resume(struct device *dev)
| ^~~~~~~~~~~~~
drivers/input/touchscreen/focaltech_touch/focaltech_core.c:1267:12: warning: 'fts_ts_suspend' defined but not used [-Wunused-function]
1267 | static int fts_ts_suspend(struct device *dev)
| ^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from drivers/input/touchscreen/focaltech_touch/focaltech_core.h:55,
from drivers/input/touchscreen/focaltech_touch/focaltech_esdcheck.c:38:
arch/mips/include/asm/uaccess.h: In function 'eva_kernel_access':
>> arch/mips/include/asm/uaccess.h:90:16: error: implicit declaration of function 'uaccess_kernel' [-Werror=implicit-function-declaration]
90 | return uaccess_kernel();
| ^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/uaccess_kernel +90 arch/mips/include/asm/uaccess.h
^1da177e4c3f41 include/asm-mips/uaccess.h Linus Torvalds 2005-04-16 76
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 77 /*
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 78 * eva_kernel_access() - determine whether kernel memory access on an EVA system
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 79 *
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 80 * Determines whether memory accesses should be performed to kernel memory
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 81 * on a system using Extended Virtual Addressing (EVA).
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 82 *
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 83 * Return: true if a kernel memory access on an EVA system, else false.
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 84 */
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 85 static inline bool eva_kernel_access(void)
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 86 {
97f2645f358b41 arch/mips/include/asm/uaccess.h Masahiro Yamada 2016-08-03 87 if (!IS_ENABLED(CONFIG_EVA))
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 88 return false;
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 89
db68ce10c4f0a2 arch/mips/include/asm/uaccess.h Al Viro 2017-03-20 @90 return uaccess_kernel();
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 91 }
^1da177e4c3f41 include/asm-mips/uaccess.h Linus Torvalds 2005-04-16 92
:::::: The code at line 90 was first introduced by commit
:::::: db68ce10c4f0a27c1ff9fa0e789e5c41f8c4ea63 new helper: uaccess_kernel()
:::::: TO: Al Viro <viro@zeniv.linux.org.uk>
:::::: CC: Al Viro <viro@zeniv.linux.org.uk>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread* [freescale-fslc:pr/642 1577/30000] arch/mips/include/asm/uaccess.h:90:16: error: implicit declaration of function 'uaccess_kernel'
@ 2023-10-14 10:48 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-10-14 10:48 UTC (permalink / raw)
To: Otavio Salvador; +Cc: oe-kbuild-all
tree: https://github.com/Freescale/linux-fslc pr/642
head: c8b7cf62c7fea8456dec789d550b8006d73b8f04
commit: b5805df1b1a6c25d66b734c9249ac30c5f419b9d [1577/30000] MLK-14392-1 input: touch: add focaltech touch screen support
config: mips-allmodconfig (https://download.01.org/0day-ci/archive/20231014/202310141846.x87cTfWe-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231014/202310141846.x87cTfWe-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/202310141846.x87cTfWe-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/input/touchscreen/focaltech_touch/focaltech_core.h:55,
from drivers/input/touchscreen/focaltech_touch/focaltech_core.c:34:
arch/mips/include/asm/uaccess.h: In function 'eva_kernel_access':
>> arch/mips/include/asm/uaccess.h:90:16: error: implicit declaration of function 'uaccess_kernel' [-Werror=implicit-function-declaration]
90 | return uaccess_kernel();
| ^~~~~~~~~~~~~~
drivers/input/touchscreen/focaltech_touch/focaltech_core.c: In function 'fts_parse_dt':
drivers/input/touchscreen/focaltech_touch/focaltech_core.c:970:31: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]
970 | if (pdata->reset_gpio < 0)
| ^
drivers/input/touchscreen/focaltech_touch/focaltech_core.c:976:29: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]
976 | if (pdata->irq_gpio < 0)
| ^
drivers/input/touchscreen/focaltech_touch/focaltech_core.c: At top level:
drivers/input/touchscreen/focaltech_touch/focaltech_core.c:1328:12: warning: 'fts_ts_resume' defined but not used [-Wunused-function]
1328 | static int fts_ts_resume(struct device *dev)
| ^~~~~~~~~~~~~
drivers/input/touchscreen/focaltech_touch/focaltech_core.c:1267:12: warning: 'fts_ts_suspend' defined but not used [-Wunused-function]
1267 | static int fts_ts_suspend(struct device *dev)
| ^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from drivers/input/touchscreen/focaltech_touch/focaltech_core.h:55,
from drivers/input/touchscreen/focaltech_touch/focaltech_esdcheck.c:38:
arch/mips/include/asm/uaccess.h: In function 'eva_kernel_access':
>> arch/mips/include/asm/uaccess.h:90:16: error: implicit declaration of function 'uaccess_kernel' [-Werror=implicit-function-declaration]
90 | return uaccess_kernel();
| ^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/uaccess_kernel +90 arch/mips/include/asm/uaccess.h
^1da177e4c3f41 include/asm-mips/uaccess.h Linus Torvalds 2005-04-16 76
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 77 /*
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 78 * eva_kernel_access() - determine whether kernel memory access on an EVA system
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 79 *
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 80 * Determines whether memory accesses should be performed to kernel memory
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 81 * on a system using Extended Virtual Addressing (EVA).
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 82 *
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 83 * Return: true if a kernel memory access on an EVA system, else false.
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 84 */
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 85 static inline bool eva_kernel_access(void)
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 86 {
97f2645f358b41 arch/mips/include/asm/uaccess.h Masahiro Yamada 2016-08-03 87 if (!IS_ENABLED(CONFIG_EVA))
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 88 return false;
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 89
db68ce10c4f0a2 arch/mips/include/asm/uaccess.h Al Viro 2017-03-20 @90 return uaccess_kernel();
12060666f5c065 arch/mips/include/asm/uaccess.h Paul Burton 2015-05-24 91 }
^1da177e4c3f41 include/asm-mips/uaccess.h Linus Torvalds 2005-04-16 92
:::::: The code at line 90 was first introduced by commit
:::::: db68ce10c4f0a27c1ff9fa0e789e5c41f8c4ea63 new helper: uaccess_kernel()
:::::: TO: Al Viro <viro@zeniv.linux.org.uk>
:::::: CC: Al Viro <viro@zeniv.linux.org.uk>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-29 18:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-29 18:32 [freescale-fslc:pr/642 1577/30000] arch/mips/include/asm/uaccess.h:90:16: error: implicit declaration of function 'uaccess_kernel' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2023-10-14 10:48 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.