Re: [PATCH 4/5] media: vcodec: Implement manual request completion
From: kernel test robot
Date: Sat Mar 15 2025 - 04:26:04 EST
Hi Sebastian,
kernel test robot noticed the following build warnings:
[auto build test WARNING on f2151613e040973c868d28c8b00885dfab69eb75]
url: https://github.com/intel-lab-lkp/linux/commits/Sebastian-Fricke/media-mc-add-manual-request-completion/20250314-213005
base: f2151613e040973c868d28c8b00885dfab69eb75
patch link: https://lore.kernel.org/r/20250314-sebastianfricke-vcodec_manual_request_completion_with_state_machine-v1-4-5e277a3d695b%40collabora.com
patch subject: [PATCH 4/5] media: vcodec: Implement manual request completion
config: x86_64-buildonly-randconfig-003-20250315 (https://download.01.org/0day-ci/archive/20250315/202503151605.1d1dDLuM-lkp@xxxxxxxxx/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
rustc: rustc 1.78.0 (9b00956e5 2024-04-29)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250315/202503151605.1d1dDLuM-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/202503151605.1d1dDLuM-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c:29:13: warning: no previous prototype for function 'state_to_str' [-Wmissing-prototypes]
29 | const char *state_to_str(enum mtk_request_state state)
| ^
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c:29:7: note: declare 'static' if the function is not intended to be used outside of this translation unit
29 | const char *state_to_str(enum mtk_request_state state)
| ^
| static
1 warning generated.
vim +/state_to_str +29 drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c
28
> 29 const char *state_to_str(enum mtk_request_state state)
30 {
31 switch (state) {
32 case MTK_REQUEST_RECEIVED:
33 return "RECEIVED";
34 case MTK_REQUEST_LAT_DONE:
35 return "LAT_DONE";
36 case MTK_REQUEST_CORE_DONE:
37 return "CORE_DONE";
38 default:
39 return "UNKNOWN";
40 }
41 }
42
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki