From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [PATCH] drivers/net/r6040.c: Eliminate double sizeof Date: Fri, 27 Jun 2008 01:33:30 -0400 Message-ID: <48647BAA.8060308@pobox.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: florian.fainelli@telecomint.eu, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org To: Julia Lawall Return-path: Received: from srv5.dvmed.net ([207.36.208.214]:56727 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752576AbYF0Fdh (ORCPT ); Fri, 27 Jun 2008 01:33:37 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Julia Lawall wrote: > From: Julia Lawall > > 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/) > > // > @@ > expression E; > @@ > > - sizeof ( > sizeof (E) > - ) > // > > Signed-off-by: Julia Lawall applied