From patchwork Mon Feb 10 12:33:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 231949 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=-6.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham 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 03CA1C352A3 for ; Mon, 10 Feb 2020 12:54:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CD98E20708 for ; Mon, 10 Feb 2020 12:54:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581339260; bh=QSUZ27j32TTc/SGBQWBInWha7q1KUq5XJulnT+DwTL0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=u7rNjlxEihme14mTkSmEaScq+kldate5TKqD1IkPROjT/Ctue9YnlzFMrnJDWpAnO uamTkwvChB3PPARHUjylAeXG97pr1Rnxc7gNUGuBoWRRfew3Oed1AQX8167kKDwbcs LmU1glrXyP5Yiis/jCSgY4nZZwx8ihVzSSCLB9kA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728290AbgBJMyT (ORCPT ); Mon, 10 Feb 2020 07:54:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:45616 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730133AbgBJMmC (ORCPT ); Mon, 10 Feb 2020 07:42:02 -0500 Received: from localhost (unknown [209.37.97.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 56FAD20842; Mon, 10 Feb 2020 12:42:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581338522; bh=QSUZ27j32TTc/SGBQWBInWha7q1KUq5XJulnT+DwTL0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eOgEe4PouKF4A6lUKI6A2+8Lo3Xt0Tvg/4vLqz7qe+qSmCh9pHpZHKj5pUSPwizxS K/GgebfmHj8Lb7GPwxQvgZZM9Ym16Z1e10uywYGYsI0MIhTP19Qr8rf2vZcJG+0GHO UE4+5UN+swCTofijIGFnv4LYxm5cHtyxxrn/qs4U= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Pascal Prime , Jules Irenge , =?utf-8?b?SsOpcsO0bWUg?= =?utf-8?q?Pouiller?= Subject: [PATCH 5.5 297/367] staging: wfx: revert unexpected change in debugfs output Date: Mon, 10 Feb 2020 04:33:30 -0800 Message-Id: <20200210122451.075275418@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200210122423.695146547@linuxfoundation.org> References: <20200210122423.695146547@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Jérôme Pouiller commit 8b08b6a8c31f18c3657405410e4c3f6bc4fa75f1 upstream. 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 Cc: Jules Irenge Fixes: 8c7128c4cf4e ("staging: align to fix warnings of line over 80 characters") Signed-off-by: Jérôme Pouiller Link: https://lore.kernel.org/r/20200115135338.14374-2-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wfx/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/staging/wfx/debug.c +++ b/drivers/staging/wfx/debug.c @@ -145,7 +145,7 @@ static int wfx_rx_stats_show(struct seq_ 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");