[drm-misc:for-linux-next 2/2] drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c:366:9: error: implicit declaration of function 'seq_printf'; did you mean 'drm_printf'?
kernel test robot
lkp at intel.com
Thu Apr 25 19:40:27 UTC 2024
tree: git://anongit.freedesktop.org/drm/drm-misc for-linux-next
head: 2bdb481bf7a93c22b9fea8daefa2834aab23a70f
commit: 9e2b84fb6cd7ee913aa61d461db65c1d6a08dcf2 [2/2] drm/print: drop include seq_file.h
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20240426/202404260313.KFRxhgYu-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240426/202404260313.KFRxhgYu-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404260313.KFRxhgYu-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c: In function 'komeda_pipeline_dump_register':
>> drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c:366:9: error: implicit declaration of function 'seq_printf'; did you mean 'drm_printf'? [-Werror=implicit-function-declaration]
366 | seq_printf(sf, "\n======== Pipeline-%d ==========\n", pipe->id);
| ^~~~~~~~~~
| drm_printf
cc1: some warnings being treated as errors
--
drivers/gpu/drm/arm/display/komeda/d71/d71_component.c: In function 'dump_block_header':
>> drivers/gpu/drm/arm/display/komeda/d71/d71_component.c:94:9: error: implicit declaration of function 'seq_printf'; did you mean 'drm_printf'? [-Werror=implicit-function-declaration]
94 | seq_printf(sf, "BLOCK_INFO:\t\t0x%X\n", hdr.block_info);
| ^~~~~~~~~~
| drm_printf
drivers/gpu/drm/arm/display/komeda/d71/d71_component.c: In function 'd71_gcu_dump':
>> drivers/gpu/drm/arm/display/komeda/d71/d71_component.c:1360:9: error: implicit declaration of function 'seq_puts' [-Werror=implicit-function-declaration]
1360 | seq_puts(sf, "\n------ GCU ------\n");
| ^~~~~~~~
cc1: some warnings being treated as errors
vim +366 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 358)
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 359) void komeda_pipeline_dump_register(struct komeda_pipeline *pipe,
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 360) struct seq_file *sf)
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 361) {
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 362) struct komeda_component *c;
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 363) u32 id;
a1c3be890440a1 Carsten Haitzler 2021-02-04 364 unsigned long avail_comps;
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 365)
7d3cfb70a604d2 james qian wang (Arm Technology China 2019-01-22 @366) seq_printf(sf, "\n======== Pipeline-%d ==========\n", pipe->id);
:::::: The code at line 366 was first introduced by commit
:::::: 7d3cfb70a604d215e195ba9282df42dd6edff16a drm/komeda: Add debugfs node "register" for register dump
:::::: TO: james qian wang (Arm Technology China) <james.qian.wang at arm.com>
:::::: CC: Liviu Dudau <Liviu.Dudau at arm.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the dri-devel
mailing list