Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp759870pxb; Wed, 6 Oct 2021 14:58:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwun4INdzC82NtO1Ib30p6Sk9c15orZ5XMQJ0l3K2Nz2kz2t+hOBoBrAlQQShX4H1xeGlIH X-Received: by 2002:a17:906:f243:: with SMTP id gy3mr902602ejb.327.1633557527933; Wed, 06 Oct 2021 14:58:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633557527; cv=none; d=google.com; s=arc-20160816; b=GqrLUwmPt8dgtNlVRLOpxrj2H/Ke2TbG86aJ1ZD+eNUnfU3+gFevnx8nCb7sfJhFQy 2R/wDzh5G5fFMYf/b7tn4YThuN5ddwriYNt50l409yyXYhgw2fvReupEhrziiHTTrDGh qulibw8ajn0wrgmAPmTvoh4RKoDIZOC1m98XZmqDvhbMeKpQM+DFHmxMpMV1Aw7P9XzJ 3rYCWXlkHFezQHHyRMu1dEMvdHyya8EGcC/3eG5EJll6zwD0mUBRugOPMLtRU5+wlLGY CwDn11X4dS4Uoz0hq/4gnVHrhM90EqBAz5/k9KWG3S1JWFviQ/OP95qY4g2N2IHa8frR 7Tdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=5vQEHaiNA+pYXDs/eLij1i9oL2JSoZ8RDMeCrTilG0w=; b=vd0+lu8hrF+OD2w1ivzFSC9lyWuaz5s9685x4erBku1CisSyEnWYxphv6zdLh18wdV 8dh/bkRgIYky6/PonpGEWeDV+L6PtrBbD7H6naaxlRz7A3UgBcC5q9VP24yl7p+OhhDR aDMHoxi/GDL6+1iDiz9reTbErtawsWcozuUvBC78xb3TUNtBHCfkmss5FmSEmZ1nkMkJ QccuUDP49jJ7YIu5TXIxZhhXsicXDqow2ri5kP/9INNIttHd38Hyf3k3+39xk1ky6YeB mYlDL/APTbVXN03jY3glBV5ducFjTWG6UbyTxb3b+rrf9W0bs67pypsEela456b9ow6D y6NA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x18si24067275ejd.405.2021.10.06.14.58.23; Wed, 06 Oct 2021 14:58:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239748AbhJFV6g (ORCPT + 99 others); Wed, 6 Oct 2021 17:58:36 -0400 Received: from mga12.intel.com ([192.55.52.136]:58570 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230213AbhJFV6f (ORCPT ); Wed, 6 Oct 2021 17:58:35 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10129"; a="206228684" X-IronPort-AV: E=Sophos;i="5.85,352,1624345200"; d="scan'208";a="206228684" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2021 14:56:42 -0700 X-IronPort-AV: E=Sophos;i="5.85,352,1624345200"; d="scan'208";a="624033044" Received: from paasikivi.fi.intel.com ([10.237.72.42]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2021 14:56:40 -0700 Received: from paasikivi.fi.intel.com (localhost [127.0.0.1]) by paasikivi.fi.intel.com (Postfix) with SMTP id A0E4020375; Thu, 7 Oct 2021 00:56:37 +0300 (EEST) Date: Thu, 7 Oct 2021 00:56:37 +0300 From: Sakari Ailus To: Ricardo Ribalda Cc: Mauro Carvalho Chehab , Yong Zhi , Bingbu Cao , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Chiranjeevi Rapolu Subject: Re: [PATCH v3 1/8] media: ipu3-cio2 Check num_planes and sizes in queue_setup Message-ID: References: <20211001112522.2839602-1-ribalda@chromium.org> <20211001112522.2839602-2-ribalda@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211001112522.2839602-2-ribalda@chromium.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ricardo, On Fri, Oct 01, 2021 at 11:25:15AM +0000, Ricardo Ribalda wrote: > If num_planes is different than zero num_planes and sizes must be > checked to support the format. > > Fix the following v4l2-compliance error: > > Buffer ioctls (Input 0): > fail: v4l2-test-buffers.cpp(717): q.create_bufs(node, 1, &fmt) != EINVAL > test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: FAIL > > Reviewed-by: Bingbu Cao > Signed-off-by: Ricardo Ribalda I attempted to apply the set to my tree but it doesn't seem to. Do you happen to have extra patches in your tree? I just pushed mine to the master branch here: https://git.linuxtv.org/sailus/media_tree.git/ -- Sakari Ailus