[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <506b70dc1003291639j4a620ef0ve551d97bea26fa2e@mail.gmail.com>
Date: Tue, 30 Mar 2010 00:39:18 +0100
From: Luis de Bethencourt <luisbg@...ntu.com>
To: Joe Perches <joe@...ches.com>
Cc: linville@...driver.com, lrodriguez@...eros.com,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] ath: fix macros coding style issue in regd.c
On Tue, Mar 30, 2010 at 12:33 AM, Joe Perches <joe@...ches.com> wrote:
> On Tue, 2010-03-30 at 00:12 +0100, Luis de Bethencourt wrote:
>> This is a patch to the ath/regd.c file that fixes up three warnings
>> about macros found by the checkpatch.pl tool, these said that
>> complex values should be enclosed in parenthesis.
>
> Hi Luis.
>
> Checkpatch isn't always correct.
>
> Please make sure to compile test your changes
> before submitting them.
>
> These macros are used as initializers and
> can not be surrounded by parentheses.
>
> .reg_rules = {
> ATH9K_2GHZ_ALL,
>
> cheers, Joe
>
>
Hi Joe,
Sorry about this. I compiled test the changes but make didn't complain.
My bad, will try to avoid this better in the future.
Luis
--
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