Received: by 10.223.176.5 with SMTP id f5csp689964wra; Tue, 6 Feb 2018 05:55:36 -0800 (PST) X-Google-Smtp-Source: AH8x2267IiBxWa1apOZ+dTax21R8hYNHk7W4BXps9ElvdMPXbtbz4h2nCPbdD65/aW4MJ5AXirGu X-Received: by 10.101.64.67 with SMTP id h3mr2041935pgp.168.1517925336615; Tue, 06 Feb 2018 05:55:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517925336; cv=none; d=google.com; s=arc-20160816; b=qh5meCxLzxTlKPLx4XfvZQGnYVN+PADHusecLCezPAO5oa11ugvQU3MMjOjqQqQEqF t8cALhxyQS4WPpUg49KFocPa+jFmkbtbxmF6kMa8dT6eTUe/z5T3DaYslKcVLCfQJyhs manPDSxTlYf1cKkpFIvJBdGFd42KY5iiZJn4AHZIDWPHulK6PSLQRicSqxiJg6EaevQy z2+QF9awTh8tIKRwtVRK2b1p1WqiU/AuaFLWmSFEsRviiKvriYfRDiKjJ3eZibmFwtK3 cLO+lgK5ofK36eZyx7UQjEFiEQ1VvpUInogxTjRlnHejYFGwhrVPoqKamKg/ix/IfRUd ctLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=ijlnYGk1RRkyLAr4uecnalzJJ6ZT5coepHx+id0S8wM=; b=DR3LxAxKLbYUHhDRvKFpt5a6UO1Yz/UYKG+/jLN9vKdQab4O1QV4/OthPCS9IhujJA Fx3NYlxzttpzSeqscw9yXd3VnVvii7i1oqzM2u2UAIXqAHSBk6UfEIw95eEiuyapY70T I3zTfAvb8tfObBOya0Ix84zp2bdKGlqAhPTfxJs4ZR7cfLdPeLv4EumPKFrsZrDC8i7r WhwPzLZRtnneibr6CPuh63A0HLivXanNxwUnaHvzuFFP6t1Dv7bH4Xnyd89mQkvCcjZr cMfru2QbOeNFYs9hxTvkIh8G69M90MglzonMF2dbe8w/PjLLVrnKW58iEhxz82J5b2l8 OhaQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11-v6si8476861pls.112.2018.02.06.05.55.22; Tue, 06 Feb 2018 05:55:36 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752227AbeBFNyl (ORCPT + 99 others); Tue, 6 Feb 2018 08:54:41 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:9868 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751725AbeBFNyg (ORCPT ); Tue, 6 Feb 2018 08:54:36 -0500 X-IronPort-AV: E=Sophos;i="5.46,468,1511823600"; d="scan'208";a="312279255" Received: from vaio-julia.rsr.lip6.fr ([132.227.76.33]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Feb 2018 14:54:34 +0100 Date: Tue, 6 Feb 2018 14:54:29 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Wolfram Sang cc: Dan Carpenter , Wolfram Sang , linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 0/4] tree-wide: fix comparison to bitshift when dealing with a mask In-Reply-To: <20180206135310.deiaz55xemc26xn4@ninjato> Message-ID: References: <20180205201002.23621-1-wsa+renesas@sang-engineering.com> <20180206131044.oso33fvv553trrd7@mwanda> <20180206132335.luut6em3kut7f7ej@mwanda> <20180206135310.deiaz55xemc26xn4@ninjato> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 6 Feb 2018, Wolfram Sang wrote: > Hi Julia, > > > and got the results below. I can make a version for the kernel shortly. > > It should probably take care of right-shifting, too? I did that too but got no results. Perhaps right shifting constants is pretty uncommon. I can put that in the complete rule though. julia