From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 606ECEE49B2 for ; Fri, 25 Aug 2023 12:28:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244822AbjHYM2X (ORCPT ); Fri, 25 Aug 2023 08:28:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244848AbjHYM2B (ORCPT ); Fri, 25 Aug 2023 08:28:01 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00F7D2699; Fri, 25 Aug 2023 05:27:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692966446; x=1724502446; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=psOCa7KDDmybtBbFrOreIdagf4PFHIM8yxTia2JKqqs=; b=X6VNXYhjgtWyUcmY4RelPz4mMn5K3NwI+I7Itb5OzydrDGCuRP7XAkOF FNKGkwK4MXYh/xMUTXwvQXodaEifka2cYOhb05+XqeJH21rMtkOZP7hGd EcDvOw9NtEsgLH6QZhrwiwfNzzqM49PUOdFiDsbTrNHAKbW8BeG0YI87n ul3pH3LvYnVUdfsDf/Qmj8Q3fbYmSxkxPdnRZtE5eybnZf1RX4z1PivNW WDCYClu16hV/vPDYswAzcwW4uGBelzu+FDd/+KEyx0j/zakgnL6HTaRGg IFZpcHNObyD396R2Q03nm6vN7ZWOH8mYwbw2it+PGdgQCjv2QREuweokt A==; X-IronPort-AV: E=McAfee;i="6600,9927,10813"; a="355030443" X-IronPort-AV: E=Sophos;i="6.02,195,1688454000"; d="scan'208";a="355030443" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2023 05:26:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10813"; a="1068223843" X-IronPort-AV: E=Sophos;i="6.02,195,1688454000"; d="scan'208";a="1068223843" Received: from lkp-server02.sh.intel.com (HELO daf8bb0a381d) ([10.239.97.151]) by fmsmga005.fm.intel.com with ESMTP; 25 Aug 2023 05:26:47 -0700 Received: from kbuild by daf8bb0a381d with local (Exim 4.96) (envelope-from ) id 1qZVtn-0003Z4-0l; Fri, 25 Aug 2023 12:26:47 +0000 Date: Fri, 25 Aug 2023 20:26:10 +0800 From: kernel test robot To: Benjamin Gaignard , mchehab@kernel.org, tfiga@chromium.org, m.szyprowski@samsung.com, ming.qian@nxp.com, ezequiel@vanguardiasur.com.ar, p.zabel@pengutronix.de, gregkh@linuxfoundation.org, hverkuil-cisco@xs4all.nl, nicolas.dufresne@collabora.com Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-staging@lists.linux.dev, kernel@collabora.com, Benjamin Gaignard Subject: Re: [PATCH v5 10/10] media: v4l2: Add mem2mem helpers for DELETE_BUFS ioctl Message-ID: <202308252057.jcyaKKOJ-lkp@intel.com> References: <20230824092133.39510-11-benjamin.gaignard@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230824092133.39510-11-benjamin.gaignard@collabora.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Benjamin, kernel test robot noticed the following build errors: [auto build test ERROR on next-20230824] [also build test ERROR on v6.5-rc7] [cannot apply to linus/master v6.5-rc7 v6.5-rc6 v6.5-rc5] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Benjamin-Gaignard/media-videobuf2-Rework-offset-cookie-encoding-pattern/20230824-172416 base: next-20230824 patch link: https://lore.kernel.org/r/20230824092133.39510-11-benjamin.gaignard%40collabora.com patch subject: [PATCH v5 10/10] media: v4l2: Add mem2mem helpers for DELETE_BUFS ioctl config: i386-randconfig-r033-20230825 (https://download.01.org/0day-ci/archive/20230825/202308252057.jcyaKKOJ-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce: (https://download.01.org/0day-ci/archive/20230825/202308252057.jcyaKKOJ-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202308252057.jcyaKKOJ-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/media/test-drivers/vim2m.c:963:23: error: use of undeclared identifier 'v4l2_m2m_ioctl_delete_buf'; did you mean 'v4l2_m2m_ioctl_delete_bufs'? .vidioc_delete_buf = v4l2_m2m_ioctl_delete_buf, ^~~~~~~~~~~~~~~~~~~~~~~~~ v4l2_m2m_ioctl_delete_bufs include/media/v4l2-mem2mem.h:873:5: note: 'v4l2_m2m_ioctl_delete_bufs' declared here int v4l2_m2m_ioctl_delete_bufs(struct file *file, void *priv, ^ >> drivers/media/test-drivers/vim2m.c:963:3: error: field designator 'vidioc_delete_buf' does not refer to any field in type 'const struct v4l2_ioctl_ops'; did you mean 'vidioc_delete_bufs'? .vidioc_delete_buf = v4l2_m2m_ioctl_delete_buf, ^~~~~~~~~~~~~~~~~ vidioc_delete_bufs include/media/v4l2-ioctl.h:427:8: note: 'vidioc_delete_bufs' declared here int (*vidioc_delete_bufs)(struct file *file, void *fh, ^ 2 errors generated. vim +963 drivers/media/test-drivers/vim2m.c 942 943 static const struct v4l2_ioctl_ops vim2m_ioctl_ops = { 944 .vidioc_querycap = vidioc_querycap, 945 946 .vidioc_enum_fmt_vid_cap = vidioc_enum_fmt_vid_cap, 947 .vidioc_enum_framesizes = vidioc_enum_framesizes, 948 .vidioc_g_fmt_vid_cap = vidioc_g_fmt_vid_cap, 949 .vidioc_try_fmt_vid_cap = vidioc_try_fmt_vid_cap, 950 .vidioc_s_fmt_vid_cap = vidioc_s_fmt_vid_cap, 951 952 .vidioc_enum_fmt_vid_out = vidioc_enum_fmt_vid_out, 953 .vidioc_g_fmt_vid_out = vidioc_g_fmt_vid_out, 954 .vidioc_try_fmt_vid_out = vidioc_try_fmt_vid_out, 955 .vidioc_s_fmt_vid_out = vidioc_s_fmt_vid_out, 956 957 .vidioc_reqbufs = v4l2_m2m_ioctl_reqbufs, 958 .vidioc_querybuf = v4l2_m2m_ioctl_querybuf, 959 .vidioc_qbuf = v4l2_m2m_ioctl_qbuf, 960 .vidioc_dqbuf = v4l2_m2m_ioctl_dqbuf, 961 .vidioc_prepare_buf = v4l2_m2m_ioctl_prepare_buf, 962 .vidioc_create_bufs = v4l2_m2m_ioctl_create_bufs, > 963 .vidioc_delete_buf = v4l2_m2m_ioctl_delete_buf, 964 .vidioc_expbuf = v4l2_m2m_ioctl_expbuf, 965 966 .vidioc_streamon = v4l2_m2m_ioctl_streamon, 967 .vidioc_streamoff = v4l2_m2m_ioctl_streamoff, 968 969 .vidioc_subscribe_event = v4l2_ctrl_subscribe_event, 970 .vidioc_unsubscribe_event = v4l2_event_unsubscribe, 971 }; 972 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki