Re: [PATCH v2 02/35] include: remove unnecessary #include directives

From: kernel test robot
Date: Sat Feb 10 2024 - 07:37:29 EST


Hi Max,

kernel test robot noticed the following build errors:

[auto build test ERROR on next-20240209]
[cannot apply to drm-misc/drm-misc-next media-tree/master mkp-scsi/for-next linus/master v6.8-rc3 v6.8-rc2 v6.8-rc1 v6.8-rc3]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Max-Kellermann/include-add-missing-includes/20240210-005417
base: next-20240209
patch link: https://lore.kernel.org/r/20240209164027.2582906-3-max.kellermann%40ionos.com
patch subject: [PATCH v2 02/35] include: remove unnecessary #include directives
config: csky-allnoconfig (https://download.01.org/0day-ci/archive/20240210/202402102049.pRU8DQFn-lkp@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240210/202402102049.pRU8DQFn-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/202402102049.pRU8DQFn-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

arch/csky/kernel/stacktrace.c: In function 'print_trace_address':
>> arch/csky/kernel/stacktrace.c:92:9: error: implicit declaration of function 'print_ip_sym' [-Werror=implicit-function-declaration]
92 | print_ip_sym((const char *)arg, pc);
| ^~~~~~~~~~~~
cc1: some warnings being treated as errors


vim +/print_ip_sym +92 arch/csky/kernel/stacktrace.c

18c07d23da5a48 Guo Ren 2020-05-13 89
18c07d23da5a48 Guo Ren 2020-05-13 90 static bool print_trace_address(unsigned long pc, void *arg)
18c07d23da5a48 Guo Ren 2020-05-13 91 {
aeeb59d692c1ba Dmitry Safonov 2020-06-08 @92 print_ip_sym((const char *)arg, pc);
18c07d23da5a48 Guo Ren 2020-05-13 93 return false;
18c07d23da5a48 Guo Ren 2020-05-13 94 }
18c07d23da5a48 Guo Ren 2020-05-13 95

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