Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4072623pxb; Tue, 17 Nov 2020 10:30:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwQOQrw52EFyQShGJLROCrDLwxoxTou+gMLUi5OHkbn/EQzk4916BfsbS7acZRUe7Exscij X-Received: by 2002:a17:906:38db:: with SMTP id r27mr20877800ejd.328.1605637801656; Tue, 17 Nov 2020 10:30:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605637801; cv=none; d=google.com; s=arc-20160816; b=HDXF/CxM3pPUFILmSbW/6dKLbtekUqYuqy7zDsTc/+BYyQrND/Sj5pFyd37HNoNVJy kKZ5g9F+PwnaHJjRnd1E5QMn2S34mxOzGFry1DavSThBPcbOKD0R3LU+yLkFizHo2Pwz RmXQyi3gEguxeM3ofhRK/sou/SWihnQt6LDq+Tai91CZkLFIbFSXLNGeTK0a5FO+xir9 b9xDsb5l4/oBP7W9M6UHwNyoGjUI07V1y+KNfwN7Scm4FD7SEvUt6aBrQs6tTqP5nCnP XB45HYRZmckuthBr6NE3wH+VrjnQrxRr0F1X5qNJhTQraoYwFPQCGyKylTyHaFdCm/vP HwzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=RKwuE8G9CNKlu3bk95f89YGdLkkE+Go+4mbl0bvt5L8=; b=auuRjvCencjLWC5f9GmCCsbkq9Gwe3J/woX2Jnzs/ViVd2kdOY3O+qjXfQsftUm2ih hFCP+H1fSkWtw4Ha2orkPLec8Uhd7VFzDHWQpQFI9sPiUuD1EHICbiKM1NEXqfd/9nyx LLLRPYBcM1nW6fny3PAlIZjtUE9E3EOygbxDUdaBDXpoSwFK8hsI1BUeMwfl/NvHFoQG uBRZoCjmJEVInt4e1pVaa2uQGP3rVXjMgQezZYYhdkkuqUmJv5iiFzoWCkMXYeGec6Wi UbDm/hYzALHLSpZRl4jWrK/El5I3LqxqxUMXGO05fpRUzvMts1gJC3yb2mEirKJ6XrGY 9eww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=r8tNBXWa; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y41si14756645ede.192.2020.11.17.10.29.37; Tue, 17 Nov 2020 10:30:01 -0800 (PST) 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=@kernel.org header.s=default header.b=r8tNBXWa; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731011AbgKQS2H (ORCPT + 99 others); Tue, 17 Nov 2020 13:28:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:35018 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726504AbgKQS2G (ORCPT ); Tue, 17 Nov 2020 13:28:06 -0500 Received: from kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net (c-67-180-217-166.hsd1.ca.comcast.net [67.180.217.166]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C13E82467A; Tue, 17 Nov 2020 18:28:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605637686; bh=/Y7xzskZSbtpBoMj9xAz05a+i2wDMCXgi1TnXa2Oa2o=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=r8tNBXWaA5FAm4t5dflc9J1V33P5buLup9/kElu9Z1uuS82rB9Ogo9+GeiVoSxck5 qDpncKJWtWhZNV+rgNPNoZKOz0q16Ex+Ny0m4o8Su2Wvw5Gzud2Yb3uuUpD+vB8oNA MOSs7wh/gyDlG9Y7b/+RfbwxR8hnZ0qb1jiTNwdg= Date: Tue, 17 Nov 2020 10:28:04 -0800 From: Jakub Kicinski To: Antoine Tenart Cc: Andrew Lunn , Antoine Tenart , Florian Fainelli , Heiner Kallweit , Julia Lawall , Russell King , Quentin Schulz , kernel test robot , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Denis Efremov , netdev@vger.kernel.org Subject: Re: [PATCH v2] net: phy: mscc: fix excluded_middle.cocci warnings Message-ID: <20201117102804.5c20be05@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> In-Reply-To: <160556130103.369564.5641893167437988724@surface.local> References: <160556130103.369564.5641893167437988724@surface.local> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 16 Nov 2020 22:15:01 +0100 Antoine Tenart wrote: > Quoting Julia Lawall (2020-11-16 16:34:44) > > From: kernel test robot > > > > Condition !A || A && B is equivalent to !A || B. > > > > Generated by: scripts/coccinelle/misc/excluded_middle.cocci > > > > Fixes: b76f0ea01312 ("coccinelle: misc: add excluded_middle.cocci script") > > CC: Denis Efremov > > Reported-by: kernel test robot > > Signed-off-by: kernel test robot > > Signed-off-by: Julia Lawall > > Reviewed-by: Antoine Tenart Applied, thanks!