[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <48647BAA.8060308@pobox.com>
Date: Fri, 27 Jun 2008 01:33:30 -0400
From: Jeff Garzik <jgarzik@...ox.com>
To: Julia Lawall <julia@...u.dk>
CC: florian.fainelli@...ecomint.eu, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] drivers/net/r6040.c: Eliminate double sizeof
Julia Lawall wrote:
> From: Julia Lawall <julia@...u.dk>
>
> Taking sizeof the result of sizeof is quite strange and does not seem to be
> what is wanted here.
>
> This was fixed using the following semantic patch.
> (http://www.emn.fr/x-info/coccinelle/)
>
> // <smpl>
> @@
> expression E;
> @@
>
> - sizeof (
> sizeof (E)
> - )
> // </smpl>
>
> Signed-off-by: Julia Lawall <julia@...u.dk>
applied
--
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