:::::: :::::: Manual check reason: "low confidence static check warning: drivers/staging/media/rkvdec/rkvdec-h264.c:732:45: warning: Value stored to 'dec_params' during its initialization is never read [clang-analyzer-deadcode.DeadStores]" ::::::
BCC: l...@intel.com CC: l...@lists.linux.dev CC: kbuild-...@lists.01.org CC: linux-ker...@vger.kernel.org TO: Nicolas Dufresne <nicolas.dufre...@collabora.com> CC: Mauro Carvalho Chehab <mche...@kernel.org> CC: linux-me...@vger.kernel.org CC: Sebastian Fricke <sebastian.fri...@collabora.com> CC: Ezequiel Garcia <ezequ...@vanguardiasur.com.ar> CC: Hans Verkuil <hverk...@xs4all.nl> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 072e51356cd5a4a1c12c1020bc054c99b98333df commit: 7ab889f09dfa70e8097ec1b9186fd228124112cb media: rkvdec: h264: Fix dpb_valid implementation date: 3 months ago :::::: branch date: 12 hours ago :::::: commit date: 3 months ago config: arm-randconfig-c002-20220819 (https://download.01.org/0day-ci/archive/20220823/202208231452.j1me9tyi-...@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 0ac597f3cacf60479ffd36b03766fa7462dabd78) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7ab889f09dfa70e8097ec1b9186fd228124112cb git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 7ab889f09dfa70e8097ec1b9186fd228124112cb # save the config file COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm clang-analyzer If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <l...@intel.com> clang-analyzer warnings: (new ones prefixed by >>) ^~~~~~ drivers/usb/misc/usbsevseg.c:261:4: note: Call to function 'strcat' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcat'. CWE-119 strcat(buf, " "); ^~~~~~ drivers/usb/misc/usbsevseg.c:264:2: warning: Call to function 'strcat' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcat'. CWE-119 [clang-analyzer-security.insecureAPI.strcpy] strcat(buf, "\n"); ^~~~~~ drivers/usb/misc/usbsevseg.c:264:2: note: Call to function 'strcat' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcat'. CWE-119 strcat(buf, "\n"); ^~~~~~ drivers/usb/misc/usbsevseg.c:289:1: warning: Call to function 'sprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'sprintf_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] MYDEV_ATTR_SIMPLE_UNSIGNED(powered, update_display_powered); ^ drivers/usb/misc/usbsevseg.c:148:9: note: expanded from macro 'MYDEV_ATTR_SIMPLE_UNSIGNED' return sprintf(buf, "%u\n", mydev->name); \ ^~~~~~~ drivers/usb/misc/usbsevseg.c:289:1: note: Call to function 'sprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'sprintf_s' in case of C11 MYDEV_ATTR_SIMPLE_UNSIGNED(powered, update_display_powered); ^ drivers/usb/misc/usbsevseg.c:148:9: note: expanded from macro 'MYDEV_ATTR_SIMPLE_UNSIGNED' return sprintf(buf, "%u\n", mydev->name); \ ^~~~~~~ drivers/usb/misc/usbsevseg.c:290:1: warning: Call to function 'sprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'sprintf_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] MYDEV_ATTR_SIMPLE_UNSIGNED(mode_msb, update_display_mode); ^ drivers/usb/misc/usbsevseg.c:148:9: note: expanded from macro 'MYDEV_ATTR_SIMPLE_UNSIGNED' return sprintf(buf, "%u\n", mydev->name); \ ^~~~~~~ drivers/usb/misc/usbsevseg.c:290:1: note: Call to function 'sprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'sprintf_s' in case of C11 MYDEV_ATTR_SIMPLE_UNSIGNED(mode_msb, update_display_mode); ^ drivers/usb/misc/usbsevseg.c:148:9: note: expanded from macro 'MYDEV_ATTR_SIMPLE_UNSIGNED' return sprintf(buf, "%u\n", mydev->name); \ ^~~~~~~ drivers/usb/misc/usbsevseg.c:291:1: warning: Call to function 'sprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'sprintf_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] MYDEV_ATTR_SIMPLE_UNSIGNED(mode_lsb, update_display_mode); ^ drivers/usb/misc/usbsevseg.c:148:9: note: expanded from macro 'MYDEV_ATTR_SIMPLE_UNSIGNED' return sprintf(buf, "%u\n", mydev->name); \ ^~~~~~~ drivers/usb/misc/usbsevseg.c:291:1: note: Call to function 'sprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'sprintf_s' in case of C11 MYDEV_ATTR_SIMPLE_UNSIGNED(mode_lsb, update_display_mode); ^ drivers/usb/misc/usbsevseg.c:148:9: note: expanded from macro 'MYDEV_ATTR_SIMPLE_UNSIGNED' return sprintf(buf, "%u\n", mydev->name); \ ^~~~~~~ Suppressed 31 warnings (31 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 43 warnings generated. drivers/i2c/busses/i2c-iop3xx.c:481:2: warning: Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] memcpy(new_adapter->name, pdev->name, strlen(pdev->name)); ^~~~~~ drivers/i2c/busses/i2c-iop3xx.c:481:2: note: Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11 memcpy(new_adapter->name, pdev->name, strlen(pdev->name)); ^~~~~~ Suppressed 42 warnings (42 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 44 warnings generated. drivers/i2c/busses/i2c-jz4780.c:573:2: warning: Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] memset(buf, 0, len); ^~~~~~ drivers/i2c/busses/i2c-jz4780.c:573:2: note: Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11 memset(buf, 0, len); ^~~~~~ drivers/i2c/busses/i2c-jz4780.c:784:2: warning: Call to function 'sprintf' is insecure as it does not provide bounding of the memory buffer or security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'sprintf_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] sprintf(i2c->adap.name, "%s", pdev->name); ^~~~~~~ drivers/i2c/busses/i2c-jz4780.c:784:2: note: Call to function 'sprintf' is insecure as it does not provide bounding of the memory buffer or security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'sprintf_s' in case of C11 sprintf(i2c->adap.name, "%s", pdev->name); ^~~~~~~ Suppressed 42 warnings (42 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 52 warnings generated. drivers/staging/media/rkvdec/rkvdec.c:175:2: warning: Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] memset(f, 0, sizeof(*f)); ^~~~~~ drivers/staging/media/rkvdec/rkvdec.c:175:2: note: Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11 memset(f, 0, sizeof(*f)); ^~~~~~ drivers/staging/media/rkvdec/rkvdec.c:240:2: warning: Call to function 'snprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'snprintf_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] snprintf(cap->bus_info, sizeof(cap->bus_info), "platform:%s", ^~~~~~~~ drivers/staging/media/rkvdec/rkvdec.c:240:2: note: Call to function 'snprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'snprintf_s' in case of C11 snprintf(cap->bus_info, sizeof(cap->bus_info), "platform:%s", ^~~~~~~~ drivers/staging/media/rkvdec/rkvdec.c:673:2: warning: Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] memset(run, 0, sizeof(*run)); ^~~~~~ drivers/staging/media/rkvdec/rkvdec.c:673:2: note: Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11 memset(run, 0, sizeof(*run)); ^~~~~~ Suppressed 49 warnings (48 in non-user code, 1 with check filters). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 55 warnings generated. drivers/staging/media/rkvdec/rkvdec-h264.c:657:2: warning: Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] memset(hw_ps, 0, sizeof(*hw_ps)); ^~~~~~ drivers/staging/media/rkvdec/rkvdec-h264.c:657:2: note: Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11 memset(hw_ps, 0, sizeof(*hw_ps)); ^~~~~~ >> drivers/staging/media/rkvdec/rkvdec-h264.c:732:45: warning: Value stored to >> 'dec_params' during its initialization is never read >> [clang-analyzer-deadcode.DeadStores] const struct v4l2_ctrl_h264_decode_params *dec_params = run->decode_params; ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ drivers/staging/media/rkvdec/rkvdec-h264.c:732:45: note: Value stored to 'dec_params' during its initialization is never read const struct v4l2_ctrl_h264_decode_params *dec_params = run->decode_params; ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ drivers/staging/media/rkvdec/rkvdec-h264.c:763:2: warning: Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] memset(hw_rps, 0, sizeof(priv_tbl->rps)); ^~~~~~ drivers/staging/media/rkvdec/rkvdec-h264.c:763:2: note: Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11 memset(hw_rps, 0, sizeof(priv_tbl->rps)); ^~~~~~ drivers/staging/media/rkvdec/rkvdec-h264.c:826:2: warning: Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] memcpy(tbl->scaling_list.scaling_list_4x4, ^~~~~~ drivers/staging/media/rkvdec/rkvdec-h264.c:826:2: note: Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11 memcpy(tbl->scaling_list.scaling_list_4x4, ^~~~~~ drivers/staging/media/rkvdec/rkvdec-h264.c:830:2: warning: Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] memcpy(tbl->scaling_list.scaling_list_8x8, ^~~~~~ drivers/staging/media/rkvdec/rkvdec-h264.c:830:2: note: Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11 memcpy(tbl->scaling_list.scaling_list_8x8, ^~~~~~ drivers/staging/media/rkvdec/rkvdec-h264.c:1058:2: warning: Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] memcpy(priv_tbl->cabac_table, rkvdec_h264_cabac_table, ^~~~~~ drivers/staging/media/rkvdec/rkvdec-h264.c:1058:2: note: Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11 memcpy(priv_tbl->cabac_table, rkvdec_h264_cabac_table, ^~~~~~ Suppressed 49 warnings (48 in non-user code, 1 with check filters). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 18 warnings generated. Suppressed 18 warnings (18 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 33 warnings generated. drivers/mtd/devices/slram.c:87:2: warning: Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] memset(priv->start + instr->addr, 0xff, instr->len); ^~~~~~ drivers/mtd/devices/slram.c:87:2: note: Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11 memset(priv->start + instr->addr, 0xff, instr->len); ^~~~~~ drivers/mtd/devices/slram.c:112:2: warning: Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] memcpy(buf, priv->start + from, len); ^~~~~~ drivers/mtd/devices/slram.c:112:2: note: Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11 memcpy(buf, priv->start + from, len); ^~~~~~ drivers/mtd/devices/slram.c:122:2: warning: Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] memcpy(priv->start + to, buf, len); ^~~~~~ drivers/mtd/devices/slram.c:122:2: note: Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11 memcpy(priv->start + to, buf, len); ^~~~~~ Suppressed 30 warnings (30 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 47 warnings generated. drivers/media/i2c/s5c73m3/s5c73m3-spi.c:72:2: warning: Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] memset(padding, 0, sizeof(padding)); ^~~~~~ drivers/media/i2c/s5c73m3/s5c73m3-spi.c:72:2: note: Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11 memset(padding, 0, sizeof(padding)); ^~~~~~ Suppressed 46 warnings (45 in non-user code, 1 with check filters). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 46 warnings generated. Suppressed 46 warnings (45 in non-user code, 1 with check filters). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 48 warnings generated. drivers/media/i2c/s5k5baf.c:1905:2: warning: Call to function 'snprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'snprintf_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] snprintf(sd->name, sizeof(sd->name), "S5K5BAF-CIS %d-%04x", ^~~~~~~~ drivers/media/i2c/s5k5baf.c:1905:2: note: Call to function 'snprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'snprintf_s' in case of C11 snprintf(sd->name, sizeof(sd->name), "S5K5BAF-CIS %d-%04x", ^~~~~~~~ drivers/media/i2c/s5k5baf.c:1919:2: warning: Call to function 'snprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'snprintf_s' in case of C11 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling] snprintf(sd->name, sizeof(sd->name), "S5K5BAF-ISP %d-%04x", ^~~~~~~~ drivers/media/i2c/s5k5baf.c:1919:2: note: Call to function 'snprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'snprintf_s' in case of C11 snprintf(sd->name, sizeof(sd->name), "S5K5BAF-ISP %d-%04x", ^~~~~~~~ Suppressed 46 warnings (45 in non-user code, 1 with check filters). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 32 warnings generated. drivers/rtc/rtc-rs5c348.c:78:2: warning: Value stored to 'txp' is never read [clang-analyzer-deadcode.DeadStores] txp = txbuf; ^ ~~~~~ drivers/rtc/rtc-rs5c348.c:78:2: note: Value stored to 'txp' is never read txp = txbuf; ^ ~~~~~ Suppressed 31 warnings (31 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 43 warnings generated. Suppressed 43 warnings (43 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 31 warnings generated. Suppressed 31 warnings (31 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 44 warnings generated. drivers/rtc/rtc-rx8025.c:197:3: warning: Value stored to 'status' is never read [clang-analyzer-deadcode.DeadStores] status &= RX8025_BIT_CTRL2_DAFG; vim +/dec_params +732 drivers/staging/media/rkvdec/rkvdec-h264.c cd33c830448baf7 Boris Brezillon 2020-04-04 728 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 729 static void lookup_ref_buf_idx(struct rkvdec_ctx *ctx, 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 730 struct rkvdec_h264_run *run) 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 731 { 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 @732 const struct v4l2_ctrl_h264_decode_params *dec_params = run->decode_params; 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 733 u32 i; 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 734 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 735 for (i = 0; i < ARRAY_SIZE(dec_params->dpb); i++) { 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 736 struct v4l2_m2m_ctx *m2m_ctx = ctx->fh.m2m_ctx; 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 737 const struct v4l2_h264_dpb_entry *dpb = run->decode_params->dpb; 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 738 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 739 int buf_idx = -1; 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 740 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 741 if (dpb[i].flags & V4L2_H264_DPB_ENTRY_FLAG_ACTIVE) 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 742 buf_idx = vb2_find_timestamp(cap_q, 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 743 dpb[i].reference_ts, 0); 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 744 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 745 run->ref_buf_idx[i] = buf_idx; 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 746 } 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 747 } 7ab889f09dfa70e Nicolas Dufresne 2022-05-13 748 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org