net: ath9k: remove trailing semicolon in macro definition
Subsystems (3)
PATCH 1/1 net: ath9k: remove trailing semicolon in macro definition
From: Tom Rix <[email protected]>
The macro use will already have a semicolon.
Signed-off-by Tom Rix <[email protected]>
--- 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(-)
drivers/net/wireless/ath/ath9k/common-debug.c +1 -1
@@ -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;
drivers/net/wireless/ath/ath9k/dfs_debug.c +1 -1
@@ -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);
Signature · 1 line
2.18.4
Quoted 4 lines · [email protected] wrote:
The macro use will already have a semicolon.
Signed-off-by Tom Rix <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
5a5b820d18c7 ath9k: remove trailing semicolon in macro definition
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches