Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1795241lqp; Mon, 15 Apr 2024 19:04:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWd6fwgvcyEqlHXQVPyl8kas8AyVi3mbF6J5UYIQr27lZMUaGdB8fR1K9A1nSeQ0cUj366dYy6OCOxmFW3L3QwBZ+4EBTj7bwGlFUdrUg== X-Google-Smtp-Source: AGHT+IGJnr938RxMVyZ/zMjqlP4BlGLm4IsjFTCbG0MgBP1XuOqIBf71+GqMEsy9e0SKV7tmmIMd X-Received: by 2002:a05:6e02:194e:b0:36b:2bc6:6425 with SMTP id x14-20020a056e02194e00b0036b2bc66425mr404315ilu.4.1713233047639; Mon, 15 Apr 2024 19:04:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713233047; cv=pass; d=google.com; s=arc-20160816; b=Wfy3UpRfUN/20g4cLiE4ZBO0g1rxKdLW59RzOR0ZNTUR3/srQZ61oiARKq3JlZtSck td3Lddm7zISsDlJEF9Kb3GwIL0eflRVb5cr+2s5w+3d3CdsH88wqdw8IcF1nwD809xyf H4StXO39AH00WBiFNxOr6wkuP640Hzmd+lyVPaipenib4adA3jwfyoCTx1JPuwDylSgZ rDSet+HF6BwR3bk+VwF14BEZTUTPtEzEg2cokIEtGDOAliXflb0yKCKskoCBk08mexAm B9MzzefpFgYSF0Giyur739JuiU4wxO3qIcoOx1EvUM1O9NStvywkJjR4s6yBXBdxANJw eiUg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=jdhfOsUByq8rUAvMMWe9XMEbUc95e1ogkd9aQZm1obo=; fh=2xAZ54Vo0dIqSErAzAmeyaqjTCgDGBRtbyu5Rg4GFus=; b=00mhVWo8xkA077nWkoMPdQOeaEv/Q070dqSHc00/i51Fkkg+HrfSZZ5IM889Zju1+y cFujBM9VGqvXdFqOEcqjshc0FivPcUA7zMQV1hgw5nEfDXc9LvR1ZrLkzAR6lyvb7vMR UORc6UeU/pgXLuh+JdlzAUUn+7X6dzTuilP7wD3wqSCkpROs0V0rAJnBFyb0OL0XRdoO D1wIUyh7Sss61PEZ7iOv+/nyk+p4ilGTeasvIjJlrYEOdVeC9W7utANH2Zr9pVZImiVU QO0wW85SOmVlip4aZi6usBkWp+uiyT/58vY8EwaJuohXBcGGDiTGnHezx9PyDm17ZfnS 8W1A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=IFNxCzpK; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-146097-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146097-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id h2-20020a631202000000b005cfbd190e58si8580225pgl.115.2024.04.15.19.04.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 19:04:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146097-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=IFNxCzpK; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-146097-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146097-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6B384282227 for ; Tue, 16 Apr 2024 02:04:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 32447101E2; Tue, 16 Apr 2024 02:03:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="IFNxCzpK" Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B274ABA42; Tue, 16 Apr 2024 02:03:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713233037; cv=none; b=Qmkpyd7WXjChlCoQza5ctY7dSZvWnzbDNKVF4xWILHV2ddxFc8CCgpWffsMJp5ESw9yFwG/vLBjgzuE33aO5gRvQELznd8xvZbxTsPmz5rTECO68KcXyunfu0PA2miE7DLBDtGoSzVwg5vAiozRUP15wljmqtDZ7h9RQdt79L6A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713233037; c=relaxed/simple; bh=x2n7YztkZD11QLiH+N5XoPcJPoWlyoWKd+CrQ56g3vI=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=P/lGssdfXF9Y/GUTT3Xn7JZpnSL2ZLteuAMdjtA9RVbGpM8nSrQso3jezzVItdAi/1TwcsYRLRDT37ousHRz0+gubNIIzi1sKhKIHEZ/5u/6sVhZruEIg2T3wOiYFngmG6uPPNlQphfM2pUMB9rfEMLDniZSs6S6HVQNL3JqI14= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=IFNxCzpK; arc=none smtp.client-ip=217.70.183.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 029581C0003; Tue, 16 Apr 2024 02:03:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1713233025; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jdhfOsUByq8rUAvMMWe9XMEbUc95e1ogkd9aQZm1obo=; b=IFNxCzpKpOnKB5fD2zdxHmr4+x/odprRgDb1rV44iTZF88RaqG4RxMU+ttqzXq8OrutgfO VAmz+TbMrq/IY69cjJIP0da5VNZ7cKiBkq1UnoOmzgOrxs2gTErWowdwuCzROabUtkwOsS ZxDJnk31eyhyeF9s34aBwWGX+UOQfnnLyXXCMrTuD6A+J7WvE/gdZYnmhqZ4H+io4spEuz SsxErIMnd13MRzCr1PCtxoET2JUPs7qWnI/3IxPjFHvh5XrCHLCjwwvZlUVdA+6IazbD8v /mgR8byu4c7wptGosm3glSCwJcJHIDkiErIHWN8fCCWJHdd59bPXayxzBYieug== Date: Tue, 16 Apr 2024 04:03:29 +0200 From: Luca Ceresoli To: Ricardo Ribalda Cc: 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 , Matthias Brugger , AngeloGioacchino Del Regno , Hans Verkuil , Sergey Kozlov , Abylay Ospan , Ezequiel Garcia , Dmitry Osipenko , Stanimir Varbanov , Vikash Garodia , Bryan O'Donoghue , Bjorn Andersson , Konrad Dybcio , Benjamin Mugnier , Sylvain Petinot , Jacopo Mondi , Kieran Bingham , Laurent Pinchart , Niklas =?UTF-8?Q?S=C3=B6derl?= =?UTF-8?Q?und?= , Pavel Machek , 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 Subject: Re: [PATCH 10/35] staging: media: tegra-video: Use swap macro Message-ID: <20240416040329.31547d8f@booty> In-Reply-To: <20240415-fix-cocci-v1-10-477afb23728b@chromium.org> References: <20240415-fix-cocci-v1-0-477afb23728b@chromium.org> <20240415-fix-cocci-v1-10-477afb23728b@chromium.org> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-GND-Sasl: luca.ceresoli@bootlin.com Hello Ricardo, On Mon, 15 Apr 2024 19:34:27 +0000 Ricardo Ribalda wrote: > Makes the code simpler and cocci happier: > > drivers/staging/media/tegra-video/tegra20.c:324:44-45: WARNING opportunity for swap() > > Signed-off-by: Ricardo Ribalda Reviewed-by: Luca Ceresoli -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com