* [freescale-fslc:6.1-2.2.x-imx 15863/18110] drivers/mxc/hantro_v4l2/vsi-v4l2.c:510:6: warning: no previous prototype for 'vsi_v4l2_dec_in_source_change'
@ 2024-04-11 9:13 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-11 9:13 UTC (permalink / raw)
To: Otavio Salvador; +Cc: oe-kbuild-all
tree: https://github.com/Freescale/linux-fslc 6.1-2.2.x-imx
head: 2bfda7392e6621dd9060f87d7f9d601bb1906dbf
commit: 08feac38b33193a4e5ba8cac337f83a5f5c1329f [15863/18110] LF-10193: vpu: hantro_v4l2: initiate a drain of the capture queue in dynamic resolution change
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20240411/202404111707.1eeJCqd2-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/20240411/202404111707.1eeJCqd2-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/202404111707.1eeJCqd2-lkp@intel.com/
All warnings (new ones prefixed by >>):
cc1: warning: drivers/mxc/hantro_v4l2/include/: No such file or directory [-Wmissing-include-dirs]
drivers/mxc/hantro_v4l2/vsi-v4l2.c: In function 'release_ctx':
drivers/mxc/hantro_v4l2/vsi-v4l2.c:109:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
109 | int ret = 0;
| ^~~
drivers/mxc/hantro_v4l2/vsi-v4l2.c: At top level:
>> drivers/mxc/hantro_v4l2/vsi-v4l2.c:510:6: warning: no previous prototype for 'vsi_v4l2_dec_in_source_change' [-Wmissing-prototypes]
510 | bool vsi_v4l2_dec_in_source_change(struct vsi_v4l2_ctx *ctx)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/mxc/hantro_v4l2/vsi-v4l2.c:522:6: warning: no previous prototype for 'vsi_v4l2_dec_handle_last_empty_buffer' [-Wmissing-prototypes]
522 | void vsi_v4l2_dec_handle_last_empty_buffer(struct vsi_v4l2_ctx *ctx)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mxc/hantro_v4l2/vsi-v4l2.c:804:42: warning: 'v4l2_platform_info' defined but not used [-Wunused-const-variable=]
804 | static const struct platform_device_info v4l2_platform_info = {
| ^~~~~~~~~~~~~~~~~~
vim +/vsi_v4l2_dec_in_source_change +510 drivers/mxc/hantro_v4l2/vsi-v4l2.c
509
> 510 bool vsi_v4l2_dec_in_source_change(struct vsi_v4l2_ctx *ctx)
511 {
512 if (test_bit(CTX_FLAG_DELAY_SRCCHANGED_BIT, &ctx->flag))
513 return true;
514 if (ctx->reschanged_need_notify)
515 return true;
516 if (ctx->reschange_notified)
517 return true;
518
519 return false;
520 }
521
> 522 void vsi_v4l2_dec_handle_last_empty_buffer(struct vsi_v4l2_ctx *ctx)
523 {
524 if (vsi_v4l2_dec_in_source_change(ctx))
525 return;
526 if (ctx->status == DEC_STATUS_DRAINING ||
527 test_bit(CTX_FLAG_PRE_DRAINING_BIT, &ctx->flag)) {
528 ctx->status = DEC_STATUS_ENDSTREAM;
529 set_bit(CTX_FLAG_ENDOFSTRM_BIT, &ctx->flag);
530 clear_bit(CTX_FLAG_PRE_DRAINING_BIT, &ctx->flag);
531 }
532 }
533
--
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:[~2024-04-11 9:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-11 9:13 [freescale-fslc:6.1-2.2.x-imx 15863/18110] drivers/mxc/hantro_v4l2/vsi-v4l2.c:510:6: warning: no previous prototype for 'vsi_v4l2_dec_in_source_change' 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.