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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E9694EB64DA for ; Sat, 24 Jun 2023 23:35:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Z4f1xSsetdHgZLvoWjH5/t91rM7xzZhVsfU4rD5u6hQ=; b=vE1jge0ZCnSD0S +ABIYhlpcHLBQ7355CBQ3u6zKzqfjhamKSJ3MJEHXryxq9fh9bM2j/JVc+KDucWYiGCewK5I5a/tp GUq0j0eD6ssrmPLMQWEdTCnr8f11CjwDW/+4flkqGJKm0vdlpzlPu5onH5gSSK+QLMTSWSpe/rR5n QUTleglg1HpD8n2l76jeVs90EFN5PWtz3PbTgivpnxYd2hTXf0iofvM3Q1X8+7RUSEjG+zvYz4a9m Wb2nhymXC6IFt2on4zo44X6XHWFwW327lF5fhSjz+5BeHLZwFWfSkBYfzD6sOkzY+z01yOQtPB8Bn UKa5CfjoSy58P+dSATDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qDCm4-006pwK-0l; Sat, 24 Jun 2023 23:34:36 +0000 Received: from mga01.intel.com ([192.55.52.88]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qDCm1-006pvR-0I; Sat, 24 Jun 2023 23:34:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687649673; x=1719185673; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=uSich5WtIL4xEDBsn+PUSmiT50AF+RCLc8UMqP5tImA=; b=UsdACTwsnFFaJ5Jg+PEEhJig6cRsUdR6Xk/I0LTvmzkeWKBwOznsrbVt pI2TdKAnC1h2lI8ueE3do6Ooyz/Z9RZx8ohkZmMJxJ+H1leuJMV3pQo9u wPD7d7Cj04oXn5GOO448o+bC86CisXqgT9o2l6CVZCl8QYWlXaZkLZ1IE reB9Y438jRHFAibog+mz58XmCEiRSQ4udbKj1rj1PV8Kg/zGOQ6VmoTwt ci17IOqBDNsCrdUtfC2PrKVjSUwuWcv+mALcrMEZn1cWU7lm9lQnrz0Ng oxPq7Jd7ka3iiLY/Ei/vG8bcu8bGOZs6mdAKwPh52AqT3dqNBbRpJCgKx Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10751"; a="391122038" X-IronPort-AV: E=Sophos;i="6.01,156,1684825200"; d="scan'208";a="391122038" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2023 16:34:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10751"; a="839837858" X-IronPort-AV: E=Sophos;i="6.01,156,1684825200"; d="scan'208";a="839837858" Received: from lkp-server01.sh.intel.com (HELO 783282924a45) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 24 Jun 2023 16:34:22 -0700 Received: from kbuild by 783282924a45 with local (Exim 4.96) (envelope-from ) id 1qDClq-0009Xr-05; Sat, 24 Jun 2023 23:34:22 +0000 Date: Sun, 25 Jun 2023 07:34:12 +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 v3 01/11] media: videobuf2: Access vb2_queue bufs array through helper functions Message-ID: <202306250705.Ts4zHhMG-lkp@intel.com> References: <20230622131349.144160-2-benjamin.gaignard@collabora.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230622131349.144160-2-benjamin.gaignard@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230624_163433_177739_37B894B3 X-CRM114-Status: GOOD ( 13.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Benjamin, kernel test robot noticed the following build errors: [auto build test ERROR on media-tree/master] [also build test ERROR on linus/master v6.4-rc7 next-20230623] [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-Access-vb2_queue-bufs-array-through-helper-functions/20230622-214122 base: git://linuxtv.org/media_tree.git master patch link: https://lore.kernel.org/r/20230622131349.144160-2-benjamin.gaignard%40collabora.com patch subject: [PATCH v3 01/11] media: videobuf2: Access vb2_queue bufs array through helper functions config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20230625/202306250705.Ts4zHhMG-lkp@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce: (https://download.01.org/0day-ci/archive/20230625/202306250705.Ts4zHhMG-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/202306250705.Ts4zHhMG-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/staging/media/atomisp/pci/atomisp_ioctl.c:1080:22: error: passing 'struct vb2_queue' to parameter of incompatible type 'struct vb2_queue *'; take the address with & vb = vb2_get_buffer(pipe->vb_queue, buf->index); ^~~~~~~~~~~~~~ & include/media/videobuf2-core.h:1239:67: note: passing argument to parameter 'q' here static inline struct vb2_buffer *vb2_get_buffer(struct vb2_queue *q, ^ 1 error generated. vim +1080 drivers/staging/media/atomisp/pci/atomisp_ioctl.c 1065 1066 static int atomisp_dqbuf_wrapper(struct file *file, void *fh, struct v4l2_buffer *buf) 1067 { 1068 struct video_device *vdev = video_devdata(file); 1069 struct atomisp_video_pipe *pipe = atomisp_to_video_pipe(vdev); 1070 struct atomisp_sub_device *asd = pipe->asd; 1071 struct atomisp_device *isp = video_get_drvdata(vdev); 1072 struct ia_css_frame *frame; 1073 struct vb2_buffer *vb; 1074 int ret; 1075 1076 ret = vb2_ioctl_dqbuf(file, fh, buf); 1077 if (ret) 1078 return ret; 1079 > 1080 vb = vb2_get_buffer(pipe->vb_queue, buf->index); 1081 frame = vb_to_frame(vb); 1082 1083 buf->reserved = asd->frame_status[buf->index]; 1084 1085 /* 1086 * Hack: 1087 * Currently frame_status in the enum type which takes no more lower 1088 * 8 bit. 1089 * use bit[31:16] for exp_id as it is only in the range of 1~255 1090 */ 1091 buf->reserved &= 0x0000ffff; 1092 if (!(buf->flags & V4L2_BUF_FLAG_ERROR)) 1093 buf->reserved |= frame->exp_id; 1094 buf->reserved2 = pipe->frame_config_id[buf->index]; 1095 1096 dev_dbg(isp->dev, 1097 "dqbuf buffer %d (%s) with exp_id %d, isp_config_id %d\n", 1098 buf->index, vdev->name, buf->reserved >> 16, buf->reserved2); 1099 return 0; 1100 } 1101 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel