From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Perches Subject: Re: [PATCH 2/2] ath: fix macros coding style issue in regd.c Date: Mon, 29 Mar 2010 16:33:44 -0700 Message-ID: <1269905624.4558.56.camel@Joe-Laptop.home> References: <1269904339-15599-1-git-send-email-luisbg@ubuntu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: linville@tuxdriver.com, lrodriguez@atheros.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Luis de Bethencourt Return-path: Received: from mail.perches.com ([173.55.12.10]:1244 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752751Ab0C2Xdq (ORCPT ); Mon, 29 Mar 2010 19:33:46 -0400 In-Reply-To: <1269904339-15599-1-git-send-email-luisbg@ubuntu.com> Sender: netdev-owner@vger.kernel.org List-ID: 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