[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070625121316.GA19544@saeurebad.de>
Date: Mon, 25 Jun 2007 14:13:16 +0200
From: Johannes Weiner <hannes-kernel@...urebad.de>
To: vignesh babu <vignesh.babu@...ro.com>
Cc: daniel.pirkl@...il.cz, dushistov@...l.ru,
linux-kernel <linux-kernel@...r.kernel.org>,
Kernel Janitors List <kernel-janitors@...ts.osdl.org>
Subject: Re: [PATCH]is_power_of_2-ufs/super.c
Hi,
On Thu, Jun 14, 2007 at 01:39:18PM +0530, vignesh babu wrote:
> Replacing (n & (n-1)) in the context of power of 2 checks
> with is_power_of_2
You might want to run
egrep -R '([a-zA-Z0-9_.>]+) *& *\(\1 *- *1\)' /usr/src/linux
This does not match if the check is broken into multiple lines, though.
Still, 66 matches so far. Perhaps a big patch that removes most of these
occurrences would be more appropriate.
Hannes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists