Received: by 10.223.185.116 with SMTP id b49csp6325982wrg; Thu, 8 Mar 2018 05:44:46 -0800 (PST) X-Google-Smtp-Source: AG47ELvXE6krKJVYNFrxYQrRMAb7i8xikHD1ZIORq1TpHni0qsB1ZgwIetaAVOEQFQWDUacgqmGm X-Received: by 10.99.127.86 with SMTP id p22mr21175990pgn.157.1520516686704; Thu, 08 Mar 2018 05:44:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520516686; cv=none; d=google.com; s=arc-20160816; b=exuLsmtzItQXlBYW6YtVXDgisyIqaz7psS1/6Ejq+pYLOs9UqWpJyVRrkcxSdDVlzf r0EePl1p4ktAGT06wUDSxXsZlAreSVfdlH637J+q+kD3YCS9rTyRGrfHtNP1dnqANC5I yW7k1pN5qkeg+4YbcOdMxlScj7SOREeW+LB0nlC1/y3XHYFrnrOOiwk2RMvTttUpqW+d ifHemPJ9eQFrEB1h4aAoyzT7FkpmxmeHoZA0MXZoh1yLp7F3HbcapHw7RUBv6DsvwRwf BtBUmxcZMrHu0eD08YfDeVJaSrwmt0qjc3fL+fp7NEtiAvnZUIHSVTrfbo9FAuHAaE1b 2KEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=jnHQJMSmICZ4rbjF7shM9qu1iuqkEwCPGeeSILpyBRw=; b=aa5lJ4CnjTsN80cDHqcRm2YqWnW4cd2tNFG2mfViYWqxDkGJNaS5zKfBBVDyNIzcao k7OF5SJEtsFAkKwWoHH1s8/Bw3AuHD5bgzaZNAEpB+9/0v8SVQPJhAlaCkKt+iJZXL0r 4/3kpxC265EoDaNt6O6DZVX7rpGF6C7H76FKGCUvyUuK30ILfVnYSrcDna3romvke/pO GqShGkgmh9lv+8i5T2TsRpWbRMe1/lurdFd5a+SHm3b83Ycqvh0Pq9lBM87gcQU2sHI1 YBRsAynFcASjkOMhTxRl7qnpsTEumpvRogih74lNQMhAqMgaM2ukYweB0KuWeTHe57pE d3SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tT2D4Y1X; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y18si15537843pfl.154.2018.03.08.05.44.32; Thu, 08 Mar 2018 05:44:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tT2D4Y1X; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755881AbeCHNnl (ORCPT + 99 others); Thu, 8 Mar 2018 08:43:41 -0500 Received: from mail-qt0-f182.google.com ([209.85.216.182]:32990 "EHLO mail-qt0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755002AbeCHNnj (ORCPT ); Thu, 8 Mar 2018 08:43:39 -0500 Received: by mail-qt0-f182.google.com with SMTP id a23so6738901qtn.0; Thu, 08 Mar 2018 05:43:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=jnHQJMSmICZ4rbjF7shM9qu1iuqkEwCPGeeSILpyBRw=; b=tT2D4Y1XIA9Z+vJKHtNZ+U+BSy4H/aKbkpEqCVTiE297RoELGah27EuNRKauHugPTf UEeqO357kg0X+s1ufo71rRULGTjzjCvBG0SFBhjOgig9Oy8epsPNCFMjK9QTBHjNV4Oq oMZgpf0JRTZ2FT0Q6+KbsLTRcukrML8UGbbk15yfJX7k860QODCu2oR1SZDW0nECe3z3 7VOQI/oFx6a8qrfcDwgolT5e7ODTIgx8BhKbUrWwAxOqdvDG6LkV7UmH/CafacrkqUrA MYvF83uTcqr7xTLMUNPCmuavpSHpgT6wpL2JZYtoNT9UInkTGQo1a7PDrkdu9rZPVWIh B7iw== 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:user-agent; bh=jnHQJMSmICZ4rbjF7shM9qu1iuqkEwCPGeeSILpyBRw=; b=A4b+Ys/gzxSrvFdWBdUP2+CGuBv1gI/aM01/mdqL/yH6ANVZKZ0Thx2Vk0Fh6Bj+wD t2KNMnEM9pZyscP2QEtfVJ63k6TEVTxz5x5CFPOKLBYjYufICvi0SbeADxdk2MqenHWJ hXPTuBxaUPLyLiZ/0Kg8m2ziKkHdkS17J7Eg9LsicsytvxKwzsRm3G4UGDyT+oqGLKMH LOdqAzmKRgHleulRwUu3CScaQyzHUbDNHMWpoI8zltAuVfBUw22wNDLK+9OKi3V02v71 iJCwcGBSqhz/R5E+p79OqJHQOJ2cY1kPlh9l5zrUmOCzpEDoZYkHK6ZZmjvfkVLAVc71 3+jA== X-Gm-Message-State: AElRT7EecrS2aaJvnVHN9ES7JGDhvY+w3ZO/kQ6Dk9ShZM04Zdt3cpRx em80BHdSNpZTsvEJ69k7Zrk= X-Received: by 10.200.18.67 with SMTP id g3mr40974504qtj.82.1520516618584; Thu, 08 Mar 2018 05:43:38 -0800 (PST) Received: from localhost (p200300E41F1A6C00A7FFE15449086C5C.dip0.t-ipconnect.de. [2003:e4:1f1a:6c00:a7ff:e154:4908:6c5c]) by smtp.gmail.com with ESMTPSA id r5sm13369857qtc.26.2018.03.08.05.43.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Mar 2018 05:43:37 -0800 (PST) Date: Thu, 8 Mar 2018 14:43:35 +0100 From: Thierry Reding To: Julia Lawall Cc: kernel-janitors@vger.kernel.org, Jonathan Hunter , linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] firmware: tegra: adjust tested variable Message-ID: <20180308134335.GD3529@ulmo> References: <1517063308-16679-1-git-send-email-Julia.Lawall@lip6.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="P+33d92oIH25kiaB" Content-Disposition: inline In-Reply-To: <1517063308-16679-1-git-send-email-Julia.Lawall@lip6.fr> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --P+33d92oIH25kiaB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 27, 2018 at 03:28:28PM +0100, Julia Lawall wrote: > Check the variable that was most recently initialized. >=20 > The semantic match that finds this problem is as follows: > (http://coccinelle.lip6.fr/) >=20 > // > @@ > expression x, y, f, g, e, m; > statement S1,S2,S3,S4; > @@ >=20 > x =3D f(...); > if (\(<+...x...+>\&e\)) S1 else S2 > ( > x =3D g(...); > | > m =3D g(...,&x,...); > | > y =3D g(...); > *if (e) > S3 else S4 > ) > // >=20 > Signed-off-by: Julia Lawall >=20 > --- > drivers/firmware/tegra/bpmp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. Thierry --P+33d92oIH25kiaB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlqhPgUACgkQ3SOs138+ s6HFwQ/+OPn2T/yc9RXznPlpyt5yMNxjvCUFFnugI3o+WQu1wvM42JahxvRFe3rY HgWdRrg/7AMMIpFU+uXOjjDxBhCzGT+91CoOdD3ugACu9lvCNAxxvw+wlrOvcP9k aMB63V8RxtEzlsEIowVlt3uS6TDiHJSCSGVj1tTq3JuLRQZ6mZ5Kw2sU4827tR/4 sdrlElA9F4s7fJbDxvQK8l16BQKa9KqH38v/uNyH8Bomn3mtknV7IrrdgYiYBXAZ ytACHn8ifEziLZI1F1RKR4yJ4lEmOVQsFaD7Uk920M4y+mmKlOSyIDLQpZdJtcxg KFCVqo8bE1Jmv12fypPn4hkj27JSTLpu0Kb1D3xEEIfXdL0JMfihgKyy/CwOZO7d 1AFynLn0n+ZAaJgqKpCgfFTiX/5YBD7LvGqhikowVLg2l5XZxdZdl83YKzh0/JIL xsMD1Ieg34xszH/0qfNGNbi0NhxRJrcyLZTF8OU32cVXYQkRAWahJupLro02q9Uv kDlDfMNWllZl/3landBv/IjFq5RefKDRwOiOFYP9+6jWOU9B/VPBQqC3yMp0CDx6 biYU1SjlMLhNm0K5XX0vOvheyiekM/ht5+7qibEryurFtkqRYqhqF5wmZan09uru 7MOzjmu+S20S/mxvZB4yvqAoz3XR4r/zLFpuC/UJr+2oqMyQ2o8= =Bc3N -----END PGP SIGNATURE----- --P+33d92oIH25kiaB--