From: kernel test robot <lkp@intel.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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'
Date: Thu, 11 Apr 2024 17:13:25 +0800 [thread overview]
Message-ID: <202404111707.1eeJCqd2-lkp@intel.com> (raw)
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
reply other threads:[~2024-04-11 9:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202404111707.1eeJCqd2-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=otavio@ossystems.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.