Re: [PATCH v1] arch/x86: port I/O tracing on x86

From: kernel test robot
Date: Tue Sep 19 2023 - 13:27:09 EST


Hi Dan,

kernel test robot noticed the following build warnings:

[auto build test WARNING on be8b93b5cc7d533eb8c9b0590cdac055ecafe13a]

url: https://github.com/intel-lab-lkp/linux/commits/Dan-Raymond/arch-x86-port-I-O-tracing-on-x86/20230919-015640
base: be8b93b5cc7d533eb8c9b0590cdac055ecafe13a
patch link: https://lore.kernel.org/r/14c27df7-12a3-e432-a741-17672185c092%40foxvalley.net
patch subject: [PATCH v1] arch/x86: port I/O tracing on x86
config: x86_64-buildonly-randconfig-004-20230919 (https://download.01.org/0day-ci/archive/20230920/202309200145.BvT2lk7a-lkp@xxxxxxxxx/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230920/202309200145.BvT2lk7a-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309200145.BvT2lk7a-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> arch/x86/lib/trace_portio.c:6:6: warning: no previous declaration for 'do_trace_portio_read' [-Wmissing-declarations]
void do_trace_portio_read(u32 value, u16 port, char width, long ip_addr)
^~~~~~~~~~~~~~~~~~~~
>> arch/x86/lib/trace_portio.c:13:6: warning: no previous declaration for 'do_trace_portio_write' [-Wmissing-declarations]
void do_trace_portio_write(u32 value, u16 port, char width, long ip_addr)
^~~~~~~~~~~~~~~~~~~~~


vim +/do_trace_portio_read +6 arch/x86/lib/trace_portio.c

5
> 6 void do_trace_portio_read(u32 value, u16 port, char width, long ip_addr)
7 {
8 trace_portio_read(value, port, width, ip_addr);
9 }
10 EXPORT_SYMBOL_GPL(do_trace_portio_read);
11 EXPORT_TRACEPOINT_SYMBOL_GPL(portio_read);
12
> 13 void do_trace_portio_write(u32 value, u16 port, char width, long ip_addr)

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki