[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1349893320.2035.4.camel@joe-AO722>
Date: Wed, 10 Oct 2012 11:22:00 -0700
From: Joe Perches <joe@...ches.com>
To: Peter Senna Tschudin <peter.senna@...il.com>
Cc: mcgrof@....qualcomm.com, jouni@....qualcomm.com,
vthiagar@....qualcomm.com, senthilb@....qualcomm.com,
linville@...driver.com, linux-wireless@...r.kernel.org,
ath9k-devel@...ts.ath9k.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH V3] ath/ath9k/ar9003_eeprom.c: Remove semicolon after if
On Wed, 2012-10-10 at 18:38 +0200, Peter Senna Tschudin wrote:
> This patch remove a semicolon after if(...) that is preventing the
> error check to work correctly. Removing this semicolon will change the
> code behavior, but this is intended.
>
> The semantic patch that finds this problem is as follows:
> (http://coccinelle.lip6.fr/)
>
> // <smpl>
> @r1@
> position p;
> @@
> if (...);@p
this semantic patch would be a lot less tedious to
inspect the results if it excluded else after the
semicolon.
I've used perl for more or less the same output.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists