diff options
author | Jules Irenge <jbi.octave@gmail.com> | 2019-10-19 17:07:19 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-26 21:43:47 +0300 |
commit | 4b1aa4ba48788bc20412b10744ba7ab36d125974 (patch) | |
tree | 1d509b26b9dccde1c76e014d8f8a078b5baf05f7 | |
parent | 5f647dca011c094a3bd0ffb42404b77138ea9158 (diff) | |
download | linux-4b1aa4ba48788bc20412b10744ba7ab36d125974.tar.xz |
staging: wfx: fix warnings of alignment should match open parenthesis
: Fix warnings of alignment should match open parenthesis.
Issue detected by checkpatch tool.
Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Link: https://lore.kernel.org/r/20191019140719.2542-6-jbi.octave@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/wfx/data_rx.c | 2 | ||||
-rw-r--r-- | drivers/staging/wfx/data_tx.c | 2 | ||||
-rw-r--r-- | drivers/staging/wfx/debug.c | 14 |
3 files changed, 10 insertions, 8 deletions
diff --git a/drivers/staging/wfx/data_rx.c b/drivers/staging/wfx/data_rx.c index 52fb0f255dcd..e7fcce8d0cc4 100644 --- a/drivers/staging/wfx/data_rx.c +++ b/drivers/staging/wfx/data_rx.c @@ -77,7 +77,7 @@ static int wfx_drop_encrypt_data(struct wfx_dev *wdev, struct hif_ind_rx *arg, s break; default: dev_err(wdev->dev, "unknown encryption type %d\n", - arg->rx_flags.encryp); + arg->rx_flags.encryp); return -EIO; } diff --git a/drivers/staging/wfx/data_tx.c b/drivers/staging/wfx/data_tx.c index a02692f3210d..ea4205ac2149 100644 --- a/drivers/staging/wfx/data_tx.c +++ b/drivers/staging/wfx/data_tx.c @@ -40,7 +40,7 @@ static int wfx_get_hw_rate(struct wfx_dev *wdev, /* TX policy cache implementation */ static void wfx_tx_policy_build(struct wfx_vif *wvif, struct tx_policy *policy, - struct ieee80211_tx_rate *rates) + struct ieee80211_tx_rate *rates) { int i; size_t count; diff --git a/drivers/staging/wfx/debug.c b/drivers/staging/wfx/debug.c index 761ad9b4f27e..0a9ca109039c 100644 --- a/drivers/staging/wfx/debug.c +++ b/drivers/staging/wfx/debug.c @@ -141,10 +141,11 @@ static int wfx_rx_stats_show(struct seq_file *seq, void *v) mutex_lock(&wdev->rx_stats_lock); seq_printf(seq, "Timestamp: %dus\n", st->date); seq_printf(seq, "Low power clock: frequency %uHz, external %s\n", - st->pwr_clk_freq, - st->is_ext_pwr_clk ? "yes" : "no"); - seq_printf(seq, "Num. of frames: %d, PER (x10e4): %d, Throughput: %dKbps/s\n", - st->nb_rx_frame, st->per_total, st->throughput); + st->pwr_clk_freq, + st->is_ext_pwr_clk ? "yes" : "no"); + seq_printf(seq, + "N. of frames: %d, PER (x10e4): %d, Throughput: %dKbps/s\n", + st->nb_rx_frame, st->per_total, st->throughput); seq_puts(seq, " Num. of PER RSSI SNR CFO\n"); seq_puts(seq, " frames (x10e4) (dBm) (dB) (kHz)\n"); for (i = 0; i < ARRAY_SIZE(channel_names); i++) { @@ -160,8 +161,9 @@ static int wfx_rx_stats_show(struct seq_file *seq, void *v) } DEFINE_SHOW_ATTRIBUTE(wfx_rx_stats); -static ssize_t wfx_send_pds_write(struct file *file, const char __user *user_buf, - size_t count, loff_t *ppos) +static ssize_t wfx_send_pds_write(struct file *file, + const char __user *user_buf, + size_t count, loff_t *ppos) { struct wfx_dev *wdev = file->private_data; char *buf; |