Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp151961pxb; Tue, 28 Sep 2021 18:00:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw762qKOtnmEXJ4hLPg5/tuKvMqoW9mr5HDvVgSUWinWBF+UB0jXvgmg5N2lG3YshMD0u2z X-Received: by 2002:a17:902:7b85:b0:13d:cdc4:9531 with SMTP id w5-20020a1709027b8500b0013dcdc49531mr7877354pll.27.1632877203282; Tue, 28 Sep 2021 18:00:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632877203; cv=none; d=google.com; s=arc-20160816; b=F9VhUxqoWxlNCcBxuy3bewJQy6OIn8SgFZr9zF0MyewSk8HLZy45LKnypNP+PQrVgd L2Oar2MM+9iWO3ZCyVaLuQzxZ7zUJsrDuSimlk1rDXvzrf3z/n4k3OkxGZ3vzloQa5eR bJ+HmuESKKMaegSspZ36HoGFtV/wphY7tTzkuis1L8lrmfYDoIT9bPC1vK7OD//pm7FB PcdnrqAu94LVpAj7p8laWe12/tz83nJulwzYjwShIt6aD1RoeqZs7zXtxpuZ/7C5DIAq JEreAa4F3cbFIgrwq+cyELFx5ysitx52Mv+ro3dpMSbFBUrpOeodVEi9xXR/xJrxRTrs wyTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject; bh=NUbITVihvmonUCaWaZJj+UpbePz/r6VSynVk1+pIvN4=; b=RYHWg0SPjxZI0psgdViM9bvOsOVr7rgTGzfZrq2c5vdZB3KqoWtwRb+CbcSJKx9uve PnzwFO3GCvJ3q55gB0/qnFKezNW7/vskNkTwmAyu6GYHzDoEL8UjtZf/hGUtzE5gd/rl eDfw74SiyF2S4Ee8rPlB4+JjACPwKbM+J4Bvm2r9lp0ynYe5dxGa6ronXTJh49EjKwj8 zZMrNrVwPy01U7V+3ft74vZ8qU4GsSW419N1DLP6EH93eGKWpP9qWVyit4mfWJdMek5o DjqyLRV8t1MnoPhFnRQTzb+UmaOFdQuKRmugUs8K5Lly3ex0/WxDryMqeoR1CRM4+LHy IA9Q== 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 11si4787820pji.150.2021.09.28.17.59.50; Tue, 28 Sep 2021 18:00:03 -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 S243580AbhI2A7c (ORCPT + 99 others); Tue, 28 Sep 2021 20:59:32 -0400 Received: from mga04.intel.com ([192.55.52.120]:32557 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243478AbhI2A7b (ORCPT ); Tue, 28 Sep 2021 20:59:31 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10121"; a="222942660" X-IronPort-AV: E=Sophos;i="5.85,330,1624345200"; d="scan'208";a="222942660" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2021 17:57:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,330,1624345200"; d="scan'208";a="519516971" Received: from ipu5-build.bj.intel.com (HELO [10.238.232.188]) ([10.238.232.188]) by fmsmga008.fm.intel.com with ESMTP; 28 Sep 2021 17:57:49 -0700 Subject: Re: [PATCH 1/7] media: ipu3-cio2: Check num_planes and sizes in queue_setup To: Ricardo Ribalda , Sakari Ailus , Mauro Carvalho Chehab , Yong Zhi , Bingbu Cao , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Chiranjeevi Rapolu References: <20210928211033.2415162-1-ribalda@chromium.org> <20210928211033.2415162-2-ribalda@chromium.org> From: Bingbu Cao Message-ID: Date: Wed, 29 Sep 2021 08:54:23 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210928211033.2415162-2-ribalda@chromium.org> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ricardo, thanks for your patch. Reviewed-by: Bingbu Cao On 9/29/21 5:10 AM, Ricardo Ribalda wrote: > if (*num_planes && sizes[i] < q->format.plane_fmt[i].sizeimage) -- Best regards, Bingbu Cao