Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp3083053lqt; Tue, 23 Apr 2024 09:49:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV29obcIyXi+Xfa5BsUBgfCz0CQjgqN6cxFZrRD1R7lMT2YG+OjNUMAC0iCvAYvGbIsA/ENNwQZtMFYnwavV0qkShPCb+To9R313Wz3tw== X-Google-Smtp-Source: AGHT+IGK4jMssccN378iVq2y0xINSPzU4nFQDkjIRxxyr+EK3VGZ7BwlxGHT90Fi9DFuEPVtjh+K X-Received: by 2002:a05:622a:14c6:b0:439:a5b2:5e94 with SMTP id u6-20020a05622a14c600b00439a5b25e94mr7402220qtx.13.1713890965107; Tue, 23 Apr 2024 09:49:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713890965; cv=pass; d=google.com; s=arc-20160816; b=i/WEPPSU+y5gUddjPrs+jafp7DNC21ag603F+FlnXr6oBCvipIKGfzJnbm5vy6+SmY 6+MS9EBhtm5e8ry5HtFG/z+K79CL2AO7bGuGXPzPnrQsO2LkPXS/2FZFe3gVSOeVA124 +UMfxERVBN61VCjASToqenarOuLndsFZoKIbF2uA1YFGxqNol3vgbBBtSF/uLRi7o5bN 4nJwmHU/5fVrKWlM9M8pGPn6HmrmEmusJTYPf0+LgpnAshGNkcmqn5oVclVe1lvcr32Q D3Lg/G1RZbrXPVuyMt8KIfNmB3CzwPpW2HvssK+ZLXOEAPmdsKAWztumE/0EvYi00/mq XYEQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=ldVzTwv3fwEiTXBi6dYuRPKuiRpDDdt1y7A0qo9Q2QA=; fh=sPm8hA50d9s+YUlRqJNXHh+fXgp8fvy2ay8Wvf0je2I=; b=weBAFdUv4gFA/lSeBdw68l0XOgb3wGA7jicHX5SSFOnWE1Woizxvb/e1hIhshp8e61 9Cz5L9vR3UzBd36c2ExWTC++iNiVxOdiVCoJOyhGrFCLMm5dpl3BeIKbQClCTvJLPczV NiPsGukp3P10fV4WABFqK55XjCRNRKQ8R539fyOe9D4bvuUcmpTgqxyCKP6CcXrjj3ri OTtO7UKDBcjC4WtJqc3b9XIo5t6W/4ykCFoeMQUuyBCxbC4CsW2AU1MboXNmJKbw49RC 9XGcifw13aZ2wSVvE7V+hdJzocEGqQtKL2UjaMRriQNAMu6xCo4K2zd0zA4FzFH8f3T/ EY1w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LJqXzxJT; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-155595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155595-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id o6-20020a05622a008600b004372b3a65cdsi12878402qtw.152.2024.04.23.09.49.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 09:49:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LJqXzxJT; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-155595-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155595-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D02ED1C23BDC for ; Tue, 23 Apr 2024 16:49:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9442F13D625; Tue, 23 Apr 2024 16:49:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LJqXzxJT" Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB1991E898 for ; Tue, 23 Apr 2024 16:49:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713890956; cv=none; b=Pc4oCDGGQ4FSQiksYHn/iC2DaqWN/IFjP3ZyriEJn1HuOr4zAIG7CZSegQB80QZBONRfEuN14u/7CouLMPbFjsVldn+a+QUHPqC8GJWL1nJCXSSfyLDSA7Tye51tuL4ZN28eNyYo44FJP2z33vnn832OSGWkdRmsiRY2aRFf2e0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713890956; c=relaxed/simple; bh=ldVzTwv3fwEiTXBi6dYuRPKuiRpDDdt1y7A0qo9Q2QA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=BEVPKrJ6WAmoy5hTLWAc3zoTY7RqQpBes4D/A/hz7pwYxKkMNR38PcraS95wOS/ibefqzcRtlmn3b9b07M54csVKo8ztmzA0zo1wjnAnXEUaqgu1GLkXjQMfw7tFBJd/AQulcJseU8oRxR5ZMcpZb5hjRxYdGzqqep/ZzzkYkV8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=LJqXzxJT; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-41aa2f6ff00so15112585e9.3 for ; Tue, 23 Apr 2024 09:49:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713890953; x=1714495753; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ldVzTwv3fwEiTXBi6dYuRPKuiRpDDdt1y7A0qo9Q2QA=; b=LJqXzxJTRNDrHx9LQ1+C+/IPem1dbVrCqOUDX5bhqfDgMtzHOoopq52gzWru11PHZ/ 1UnliwrVtmzmorsz5YPSU3SlPlDjLXaxVmY9KfLg7QvowFS9B7/z+wxKYdu8NQEzEwF4 nn9kfLOemMNUn7TK1gtgKK6OLjwLe4xJ/8evQ8Kk3h/mj3BRWBPbZJyiAsfewxJyQBhm FuEFVsU+ZGDl7ozAfXnfBkz9g9JOdfOLFofaSYZM+EL1x6QT6tPrn9x9EtVVuKhFUwaI nmfe8UzhkxwLYPmNK4PSAe3QTgoAgeTI8TmJH7nWhav0FUP08AhckZ8KYiVidUEEes/c yChg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713890953; x=1714495753; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ldVzTwv3fwEiTXBi6dYuRPKuiRpDDdt1y7A0qo9Q2QA=; b=OMwmgk7aJ+O97OYEwS9TpgbGur2D6WlOikLkKVqSRVjDBg1CB6A8A/2YTEj0lMnk6M RfrAe2ZsK9V6tcgDmCmBG6wHfXZ94g1wWtlXSSei0altkBegd/z2taVAPGORDCoQ0qTj drrB77dZAtknRuoUifx2lHFmOnj/b81nYTYDI7GcLrUGLvGx7dqbjr8a4TJkkCKPAIVf zLWJArXamqncruesUi1otNgK5Dp8N7c54vjWkHsKf01ifa6KEgiO2sIqJxUMCQvrAuE3 Nj0phoVBq2pHmgXrhc8VRQuu2j79wb8CvLfuNPawdxE5W/XU/UoTxokp70VZ+U16BwCf PIAQ== X-Forwarded-Encrypted: i=1; AJvYcCXvnFwqliCuazIL6SnIb41rfBZxZ5liHebIFkDX0CcQaeFwWHnTJU/wMNsSJm7o4vhoOzLjXIBON3+2vFb2jWHDW0dv1pgqN8N0nbvS X-Gm-Message-State: AOJu0YxU9Yp4YOBEPteg/TOD13EcK3AhhD7RRWVrS9y5V5tZ3/30LNtJ ZWNowyoBED+pmzXTYOjS4CX1QdW2U1cutgvedZgAHodtTptM8bTI7GJx8GOPmiM= X-Received: by 2002:adf:fa88:0:b0:34a:d130:611b with SMTP id h8-20020adffa88000000b0034ad130611bmr7093753wrr.17.1713890953167; Tue, 23 Apr 2024 09:49:13 -0700 (PDT) Received: from [192.168.0.102] ([176.61.106.227]) by smtp.gmail.com with ESMTPSA id n12-20020a5d67cc000000b0034a51283404sm12576954wrw.72.2024.04.23.09.49.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Apr 2024 09:49:12 -0700 (PDT) Message-ID: <81770681-7ddb-41b4-8202-8dd44014c5e8@linaro.org> Date: Tue, 23 Apr 2024 17:49:10 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 26/35] media: venus: Refator return path To: Ricardo Ribalda , Martin Tuma , Mauro Carvalho Chehab , Laurent Pinchart , Hans Verkuil , Hugues Fruchet , Alain Volmat , Maxime Coquelin , Alexandre Torgue , Paul Kocialkowski , Greg Kroah-Hartman , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Sakari Ailus , Thierry Reding , Jonathan Hunter , Sowjanya Komatineni , Luca Ceresoli , Matthias Brugger , AngeloGioacchino Del Regno , Hans Verkuil , Sergey Kozlov , Abylay Ospan , Ezequiel Garcia , Dmitry Osipenko , Stanimir Varbanov , Vikash Garodia , Bjorn Andersson , Konrad Dybcio , Benjamin Mugnier , Sylvain Petinot , Jacopo Mondi , Kieran Bingham , Laurent Pinchart , =?UTF-8?Q?Niklas_S=C3=B6derlund?= , Pavel Machek Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-staging@lists.linux.dev, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org References: <20240415-fix-cocci-v1-0-477afb23728b@chromium.org> <20240415-fix-cocci-v1-26-477afb23728b@chromium.org> Content-Language: en-US From: Bryan O'Donoghue In-Reply-To: <20240415-fix-cocci-v1-26-477afb23728b@chromium.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 15/04/2024 20:34, Ricardo Ribalda wrote: > This is a nop, but let cocci now that this is not a good candidate for *know > min() But I think you should change the commit log -> "Rewrite ternary return assignment to mitigate the following cocci WARNING." > drivers/media/platform/qcom/venus/vdec.c:672:12-13: WARNING opportunity for min() > drivers/media/platform/qcom/venus/vdec.c:650:12-13: WARNING opportunity for min() then Reviewed-by: Bryan O'Donoghue --- bod