Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1431959ybk; Thu, 21 May 2020 06:49:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyarmvsi684D8GUcIP5j16N2RnjLxq+HelNUHKK+8KEu8lO6YKNiqfjxqhRdvUwqnfIJyh2 X-Received: by 2002:a17:906:4d45:: with SMTP id b5mr3518681ejv.146.1590068943907; Thu, 21 May 2020 06:49:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590068943; cv=none; d=google.com; s=arc-20160816; b=jgyVA9DBFVHpJJU7bgW95fO6N9zfoBu+4ckK/9tIUcXqlit2zR9kLB1aafb5gZGcf5 RzPAdkwoc4if8axydgaP1yqj4JvG/z7tpAGaz/a3V4Ki2VVLYXQ3zk8NchGjVzMn2rAV mRY4wA4DZAXJWqSroHdXMME8kRpLcagBuNL0UB/mjGt8zWG6eBEuPdVs2EVdyVG132it 19Zks/FtwUSaCJuU0D9W1APaUMlABWGSJ+Zxy5kW46Ldeo8vSUu+WCQohkbFRRA7gLq6 1I2fLdH/lSdRzvhceYh6NOfIN4bzxywy8CLrA3N0/q7ZexCfJEJrXqQSdwNO10IF7wx8 6Vjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ioC6Q3HVvwh9td7JcekYBXwgG6Rm0JWudJ5rZTXChDU=; b=MD89yK21xC0nyGb4T1cZnZ5zu/DAPD8lFwrqlwSMSGWklpzAPSFhHVnOLW70lZhOwf QKSFPV07SGrYcOdtysl/C5hcvjv5Rs+q4OVWMH6Z/jSwLECcW3Wazz4tCLG4OlLOzBx3 PEOyO83zkMJ/qt45PqmZ3dK/Xy8aGiAEBOmqu09bYDy7s8C39Pq1xrni/LifljnzjvuD qIfuzMs3dTLRKO2zi8JLI1pYVuu4XSun8VhtBV/QYax9QmIOJnfKXouSnaWnDZlYFkCL xQTpD5A5doEynZtUyUD+RLdkmsk6GUqxHHXmGwFK8+VlYCbdokf0qviRT91y2At8TNlr RY1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="Z/tzAhAz"; 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 h10si3039629ejf.487.2020.05.21.06.48.40; Thu, 21 May 2020 06:49: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; dkim=pass header.i=@chromium.org header.s=google header.b="Z/tzAhAz"; 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 S1729559AbgEUNqh (ORCPT + 99 others); Thu, 21 May 2020 09:46:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729413AbgEUNqh (ORCPT ); Thu, 21 May 2020 09:46:37 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBEE8C061A0F for ; Thu, 21 May 2020 06:46:36 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id i15so6683802wrx.10 for ; Thu, 21 May 2020 06:46:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ioC6Q3HVvwh9td7JcekYBXwgG6Rm0JWudJ5rZTXChDU=; b=Z/tzAhAz8W/eG2mYxcKFp8KKWJhs36XabdHfyuvXnPY8DOreXETPs/WweazwIgydiJ jpbDx3OyuHOM1EtBdf1/4JLco99/fbJ06XTQ32t3r8hNyvFhLtEUM/0lGWROiBSNYLTc ExFC7STIDBPFVHvsLzXEMa9T35z6/KZzKV7Uk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ioC6Q3HVvwh9td7JcekYBXwgG6Rm0JWudJ5rZTXChDU=; b=CoAzIzVxdlno2O++sevD3L65CzzlxfqtsM8MgWNSrC/lNsC3gw2oJx/zuBHRh6i1Si FYrQka/xYaRwArfEXRmbeL1jcjHkHbT2Qozgkx3S6YhNfDJcE8JaTJEJUKAvD6JbAiY7 OxTaCXLOuNIbO68dVvlSIjchzCo7nlCBvGHI2iazPpNfDh3x6uyh9ml/mfiqwcJh9MX3 4M4TY/GCww7Ixz4x0CUHozXfwI7V12XskYpliyBdb03FiEQVumaTg2/podpW1o1LNVxA NIuylFakBsvCbX/gKc4XWuh8ZvCCTZYP7K+TymDeQOjDovRuYOgFLTtM7jTSBM1swu7M Dm9A== X-Gm-Message-State: AOAM531U47XTZVEts8dFCppwlhbFNp/pX9h8qoZvNdlwMOcI3J8oqboV kCUggBf99StSkGZHL8GI6+w7Aw== X-Received: by 2002:adf:9507:: with SMTP id 7mr4462650wrs.63.1590068795524; Thu, 21 May 2020 06:46:35 -0700 (PDT) Received: from chromium.org (205.215.190.35.bc.googleusercontent.com. [35.190.215.205]) by smtp.gmail.com with ESMTPSA id g69sm1720399wmg.15.2020.05.21.06.46.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 May 2020 06:46:35 -0700 (PDT) Date: Thu, 21 May 2020 13:46:33 +0000 From: Tomasz Figa To: Xia Jiang Cc: Hans Verkuil , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Rick Chang , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Marek Szyprowski , srv_heupstream@mediatek.com, senozhatsky@chromium.org, mojahsu@chromium.org, drinkcat@chromium.org, maoguang.meng@mediatek.com, sj.huang@mediatek.com Subject: Re: [PATCH v8 02/14] media: platform: Improve queue set up flow for bug fixing Message-ID: <20200521134633.GB209565@chromium.org> References: <20200403094033.8288-1-xia.jiang@mediatek.com> <20200403094033.8288-3-xia.jiang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200403094033.8288-3-xia.jiang@mediatek.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 03, 2020 at 05:40:21PM +0800, Xia Jiang wrote: > Add checking created buffer size follow in mtk_jpeg_queue_setup(). > > Signed-off-by: Xia Jiang > --- > v8: no changes > --- > drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c | 7 +++++++ > 1 file changed, 7 insertions(+) > Reviewed-by: Tomasz Figa Best regards, Tomasz