OSDN Git Service

staging: wfx: revert unexpected change in debugfs output
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Wed, 15 Jan 2020 13:54:03 +0000 (13:54 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jan 2020 19:59:45 +0000 (20:59 +0100)
It appears that commit 8c7128c4cf4e ("staging: align to fix warnings of
line over 80 characters") do slightly more than what is explained in
commit log.

Especially, it changes the output of the file rx_stats from debugfs.
From some point of view, this file can be considered as a part of the
API. Any change on it should be clearly announced.

Since the change introduced does not seems to have any justification,
revert it.

Reported-by: Pascal Prime <pascal.prime@silabs.com>
Cc: Jules Irenge <jbi.octave@gmail.com>
Fixes: 8c7128c4cf4e ("staging: align to fix warnings of line over 80 characters")
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200115135338.14374-2-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/debug.c

index d17a752..1164aba 100644 (file)
@@ -145,7 +145,7 @@ static int wfx_rx_stats_show(struct seq_file *seq, void *v)
                   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",
+                  "Num. 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");