Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp782645pxb; Wed, 6 Oct 2021 15:30:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZA9NBC5WGo2XQcdfeBMs8NFDUKmwWTiZVIco/uTJ/tNPiUVonYulCj4wYn5w9jtfxbZoT X-Received: by 2002:a17:907:767a:: with SMTP id kk26mr1067587ejc.134.1633559402120; Wed, 06 Oct 2021 15:30:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633559402; cv=none; d=google.com; s=arc-20160816; b=vkS1ninU3Jx6yOxQ0/3/o+RX9KkW4hrqyJ7LVFdBZ9g2NjGsgBJ+0ni0tAtOj2Cf3h r2JX0x42iJ8OEranLm/jhOxyO7mn4Q1Z3EhOFwi2WxFa1MmSTW5zZzHSSDNeAXhWq6Da nSTTSS28B9NZnkpdJ7eMYbs09k0O5DLgWxDyuCYOrNddvRxq/j8E/7FrlVAw6KdWuJl0 0RlIXeWdXNOnsaVIo7l5RAkNL8ga6qxp/X5BBQayamYQ2km5NuBtZxHVnkNFlnItJJha tblin1TMFz0FhKrFSGtSodzdZdh6ojKb7uFGyQ7TFtUYSnpFNF4GHLqi+W1evvPFe2cp daaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=VI72+rQQH950OkSQA66NIQXwWicvtVqAwf2xJMPB6lM=; b=Qa9bOrxclMyU8fb1Zrp/pCHpANfUL/EEdZPCMlGt2Sb5uOVpV/cTSqo/PAaJkWY9pE 3lL5J841hUL8otLihXQu0pDJ0SKtqZQSLnnhqkXb6dueszc6QGq4X77tcFlJdRdkqDmk gMGqispHdSJp43SZPEDMlXKAdQhK+fmZJOQMYjVA1Pw0aZ/KBsyFPciFEw88dRBOU5k1 hWPHmadPoQZSq1EdVIpcvXwUJ2A3HAAXlWLMXDKnuQgR2JbBsC3cf4hafzMbm1XbGNnv eumOHlxj++il5Ri+aJsOfiibI77p0LJ20cUFczC8VRDLvVIqag4DNrxT6Q8yt17XLrFB QQjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fxHYOaNV; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e6si27157080ejk.740.2021.10.06.15.29.39; Wed, 06 Oct 2021 15:30:02 -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; dkim=pass header.i=@chromium.org header.s=google header.b=fxHYOaNV; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234176AbhJFW36 (ORCPT + 99 others); Wed, 6 Oct 2021 18:29:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230213AbhJFW35 (ORCPT ); Wed, 6 Oct 2021 18:29:57 -0400 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 487CEC061753 for ; Wed, 6 Oct 2021 15:28:05 -0700 (PDT) Received: by mail-io1-xd31.google.com with SMTP id e144so4587436iof.3 for ; Wed, 06 Oct 2021 15:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VI72+rQQH950OkSQA66NIQXwWicvtVqAwf2xJMPB6lM=; b=fxHYOaNVrsUChcGOTJdXMhCykDCTOyS1Aq6lNkx/fLSTsg29afZshjsuobE/hRb1me aOfGx4wiRWv/YGtwGYvorqk9t4vLAu9oNu5Zd6R2V+JkKsPAN/3etLL/wayLjrLo70Hk vM8A1NyzRE3JtFvJe4HMsaN7cZGdtYRONB/mk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VI72+rQQH950OkSQA66NIQXwWicvtVqAwf2xJMPB6lM=; b=sY2I+CXKCmMIcwfOqSXYrKMn/ulHaDV/VuORzRZu9Yq3OgeFQnXPdoLzx/29hQ5cy/ JLUb/Eoj/fRIKXmCtszntIMJb7/iwgFiuqaFuUHItpimN3GYv2vPCR5vKF/+lbwcgYZE qGZSKLUSCBqw2vPd9hNpnaXBdxi1Pw3l42I2FVQADrP1xp1On3f1G04u4ZMavrfQ+K/A zkg2vvyk5XZf4aCkUflg8OKoR5itp/RL+A3cTgh5dgpiIO8+sAEO2blYdGOcBoW0GF5X vZvMRa6+XbEVglDgqQsL5MaWMagjWAUrkuGtCWIcC1EAOzfRJZZSrHZ6xClaTB6Tr3kX E/Bw== X-Gm-Message-State: AOAM531vg1oQPluJJ3IVGuuePxnyE4GzlJp47wwqg4X9QiHzFYOnyR8r kF2jXMXAysiyxsmUc5PVnBM/3Rosh8mCJw== X-Received: by 2002:a02:ac0e:: with SMTP id a14mr226043jao.11.1633559284489; Wed, 06 Oct 2021 15:28:04 -0700 (PDT) Received: from mail-io1-f45.google.com (mail-io1-f45.google.com. [209.85.166.45]) by smtp.gmail.com with ESMTPSA id t1sm7088732ilj.64.2021.10.06.15.28.03 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Oct 2021 15:28:04 -0700 (PDT) Received: by mail-io1-f45.google.com with SMTP id n71so4632754iod.0 for ; Wed, 06 Oct 2021 15:28:03 -0700 (PDT) X-Received: by 2002:a5e:d618:: with SMTP id w24mr685194iom.178.1633559283343; Wed, 06 Oct 2021 15:28:03 -0700 (PDT) MIME-Version: 1.0 References: <20211001112522.2839602-1-ribalda@chromium.org> <20211001112522.2839602-2-ribalda@chromium.org> In-Reply-To: From: Ricardo Ribalda Date: Thu, 7 Oct 2021 00:27:52 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/8] media: ipu3-cio2 Check num_planes and sizes in queue_setup To: Sakari Ailus Cc: Mauro Carvalho Chehab , Yong Zhi , Bingbu Cao , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Chiranjeevi Rapolu Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sakari Thanks for your review :) On Wed, 6 Oct 2021 at 23:56, Sakari Ailus wrote: > > 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 think that I was on top of Linus. I just rebased it on top of yours and resend it as v4 Thanks! > > I just pushed mine to the master branch here: > > https://git.linuxtv.org/sailus/media_tree.git/ > > -- > Sakari Ailus -- Ricardo Ribalda