From patchwork Fri Nov 27 17:53:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 334394 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7BE39C5519F for ; Fri, 27 Nov 2020 17:54:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 497A022250 for ; Fri, 27 Nov 2020 17:54:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="FEMA5U+I" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732779AbgK0Rxq (ORCPT ); Fri, 27 Nov 2020 12:53:46 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:43822 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732515AbgK0Rxq (ORCPT ); Fri, 27 Nov 2020 12:53:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606499624; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=qO38NSfxZWa4WAPrmeDJabPo497l111qJuCqqB4b5gM=; b=FEMA5U+IHBrEWxieVLOkceABAS48PFNjMxXdvgBOnXvT9lRlhy3cDIlkFt9PAx09goZXjs cOiLrTLJ28j9cAp61HaZgrf6CiobEFGcJTxqGjo6kjwI1vhi0Ey7ayKb8E8FXt7XVI0laB Ga2LRg7YsXLVee8wKx77qeo6jb1eo2E= Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-254-0FGPidnaNPiOF3CYoAl_FA-1; Fri, 27 Nov 2020 12:53:42 -0500 X-MC-Unique: 0FGPidnaNPiOF3CYoAl_FA-1 Received: by mail-qt1-f197.google.com with SMTP id c11so3463401qtw.10 for ; Fri, 27 Nov 2020 09:53:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=qO38NSfxZWa4WAPrmeDJabPo497l111qJuCqqB4b5gM=; b=RQX8NsDwbXRNTdXfTa5yIKLd3EjiuB0WVdhcn+I7ge2RQsFKRlDfuPAn71MgvweTdC K2poVJRI4oZ/sj+k0eiTNx1sWhYFq/j7bqjcrotibd1APFwOPpYLABp3GcHXQQKQiHHr 4T7znStCfaNfvbbR3ne+udsSdEPf2y1e0bY8zUZOuRPOArvw35NwZvvhQ89HJArWbK82 wXvacDzd/VsmzRd35+d6vhMd+xJ+8XNxERP9sq+5iB+1LlQ09YGpVcYv/u9lxlHLoyEy eG16Wxy8OFzO2sluf0LnYdRYSkAb2LG89gBEpo0mvWNtuy2uWCBs8W031HN+taWORnA+ 9H1A== X-Gm-Message-State: AOAM532NEwbpYYOT59QKrpezZ3oqzjLkOlFcsFRxGli2qyCRQe3a66CF Wj3T6cOer7S8Armm+O7/0jFhg2/acfeuh0a3B8K5j1TpoCrTmleB+oN9AtbaXxyM05iLH6QptKJ HSFcsfWeDK48bQK4/NtcSB5j5blE= X-Received: by 2002:a05:6214:5cd:: with SMTP id t13mr9508301qvz.56.1606499622094; Fri, 27 Nov 2020 09:53:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwfH2VXvTvUj9haJRf6OI04GWQ+Bz6Iu0NjOaH9CUGPlGii6j/onExY9XycfKuzXq4xhmDsZA== X-Received: by 2002:a05:6214:5cd:: with SMTP id t13mr9508283qvz.56.1606499621938; Fri, 27 Nov 2020 09:53:41 -0800 (PST) Received: from trix.remote.csb (075-142-250-213.res.spectrum.com. [75.142.250.213]) by smtp.gmail.com with ESMTPSA id t126sm6425935qkh.133.2020.11.27.09.53.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2020 09:53:41 -0800 (PST) From: trix@redhat.com To: ath9k-devel@qca.qualcomm.com, kvalo@codeaurora.org, davem@davemloft.net, kuba@kernel.org Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] net: ath9k: remove trailing semicolon in macro definition Date: Fri, 27 Nov 2020 09:53:36 -0800 Message-Id: <20201127175336.2752730-1-trix@redhat.com> X-Mailer: git-send-email 2.18.4 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix --- drivers/net/wireless/ath/ath9k/common-debug.c | 2 +- drivers/net/wireless/ath/ath9k/dfs_debug.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/common-debug.c b/drivers/net/wireless/ath/ath9k/common-debug.c index 53ca4b063eb9..7aefb79f6bed 100644 --- a/drivers/net/wireless/ath/ath9k/common-debug.c +++ b/drivers/net/wireless/ath/ath9k/common-debug.c @@ -189,7 +189,7 @@ static ssize_t read_file_phy_err(struct file *file, char __user *user_buf, { #define PHY_ERR(s, p) \ len += scnprintf(buf + len, size - len, "%22s : %10u\n", s, \ - rxstats->phy_err_stats[p]); + rxstats->phy_err_stats[p]) struct ath_rx_stats *rxstats = file->private_data; char *buf; diff --git a/drivers/net/wireless/ath/ath9k/dfs_debug.c b/drivers/net/wireless/ath/ath9k/dfs_debug.c index 3251c9abe270..2a79c2fa8415 100644 --- a/drivers/net/wireless/ath/ath9k/dfs_debug.c +++ b/drivers/net/wireless/ath/ath9k/dfs_debug.c @@ -26,7 +26,7 @@ static struct ath_dfs_pool_stats dfs_pool_stats = { 0 }; #define ATH9K_DFS_STAT(s, p) \ len += scnprintf(buf + len, size - len, "%28s : %10u\n", s, \ - sc->debug.stats.dfs_stats.p); + sc->debug.stats.dfs_stats.p) #define ATH9K_DFS_POOL_STAT(s, p) \ len += scnprintf(buf + len, size - len, "%28s : %10u\n", s, \ dfs_pool_stats.p);