* [freescale-fslc:pr/639 3281/24603] drivers/input/touchscreen/max11801_ts.c:148:5: warning: no previous prototype for function 'max11801_read_adc'
@ 2023-08-31 6:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-31 6:01 UTC (permalink / raw)
To: Otavio Salvador; +Cc: oe-kbuild-all
Hi Robin,
FYI, the error/warning still remains.
tree: https://github.com/Freescale/linux-fslc pr/639
head: 857fbf7cebaba3b1ffccc558deee1d13ac0e11d7
commit: a414ba2296620d52817e64d747124b9f8efd2507 [3281/24603] MLK-11703-1: input: touchscreen: max11801_ts: Add DCM mode for max11801 ADC
config: riscv-randconfig-r015-20230831 (https://download.01.org/0day-ci/archive/20230831/202308311331.OoFDdmJW-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230831/202308311331.OoFDdmJW-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/202308311331.OoFDdmJW-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/input/touchscreen/max11801_ts.c:148:5: warning: no previous prototype for function 'max11801_read_adc' [-Wmissing-prototypes]
u32 max11801_read_adc(void)
^
drivers/input/touchscreen/max11801_ts.c:148:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
u32 max11801_read_adc(void)
^
static
1 warning generated.
vim +/max11801_read_adc +148 drivers/input/touchscreen/max11801_ts.c
147
> 148 u32 max11801_read_adc(void)
149 {
150 u32 adc_data;
151
152 if (!max11801_client) {
153 pr_err("FAIL max11801_client not initialize\n");
154 return -1;
155 }
156 adc_data = max11801_dcm_sample_aux(max11801_client);
157
158 return adc_data;
159 }
160 EXPORT_SYMBOL_GPL(max11801_read_adc);
161
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-31 6:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-31 6:01 [freescale-fslc:pr/639 3281/24603] drivers/input/touchscreen/max11801_ts.c:148:5: warning: no previous prototype for function 'max11801_read_adc' 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.