From patchwork Wed Oct 4 15:57:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Christoph_B=C3=B6hmwalder?= X-Patchwork-Id: 9984999 X-Patchwork-Delegate: luca@coelho.fi Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 148E36028E for ; Wed, 4 Oct 2017 15:57:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 079F228B44 for ; Wed, 4 Oct 2017 15:57:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F02BA28B49; Wed, 4 Oct 2017 15:57:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B88728B44 for ; Wed, 4 Oct 2017 15:57:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751672AbdJDP51 convert rfc822-to-8bit (ORCPT ); Wed, 4 Oct 2017 11:57:27 -0400 Received: from zimbra.linuxprofi.at ([93.83.54.199]:33286 "EHLO zimbra.linuxprofi.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751415AbdJDP5X (ORCPT ); Wed, 4 Oct 2017 11:57:23 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.linuxprofi.at (Postfix) with ESMTP id 5AE2BC626CC; Wed, 4 Oct 2017 16:34:43 +0200 (CEST) Received: from zimbra.linuxprofi.at ([127.0.0.1]) by localhost (zimbra.linuxprofi.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id QI6gkyTNaOt8; Wed, 4 Oct 2017 16:34:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.linuxprofi.at (Postfix) with ESMTP id 17846C626E8; Wed, 4 Oct 2017 16:34:43 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.linuxprofi.at Received: from zimbra.linuxprofi.at ([127.0.0.1]) by localhost (zimbra.linuxprofi.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id raN9tUaLlAgL; Wed, 4 Oct 2017 16:34:43 +0200 (CEST) Received: from localhost.localdomain (178.165.128.163.wireless.dyn.drei.com [178.165.128.163]) by zimbra.linuxprofi.at (Postfix) with ESMTPSA id 8D764C6045B; Wed, 4 Oct 2017 16:34:42 +0200 (CEST) From: =?UTF-8?q?Christoph=20B=C3=B6hmwalder?= To: johannes.berg@intel.com, emmanuel.grumbach@intel.com, luciano.coelho@intel.com, kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Christoph=20B=C3=B6hmwalder?= Subject: [PATCH 3/3] wireless: iwlwifi: wrap macro into braces Date: Wed, 4 Oct 2017 17:57:00 +0200 Message-Id: <20171004155700.18048-4-christoph@boehmwalder.at> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171004155700.18048-1-christoph@boehmwalder.at> References: <20171004155700.18048-1-christoph@boehmwalder.at> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Macros should always be wrapped in braces, so fix this instance. Signed-off-by: Christoph Böhmwalder --- drivers/net/wireless/intel/iwlwifi/iwl-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-io.c b/drivers/net/wireless/intel/iwlwifi/iwl-io.c index efb1998dcabd..0211963b3e71 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-io.c +++ b/drivers/net/wireless/intel/iwlwifi/iwl-io.c @@ -252,7 +252,7 @@ IWL_EXPORT_SYMBOL(iwl_force_nmi); static const char *get_rfh_string(int cmd) { -#define IWL_CMD(x) case x: return #x +#define IWL_CMD(x) { case x: return #x; } #define IWL_CMD_MQ(arg, reg, q) { if (arg == reg(q)) return #reg; } int i;