From patchwork Thu Jan 16 23:18:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 233803 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 B8D69C33CAF for ; Thu, 16 Jan 2020 23:29:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7E8CA2072E for ; Thu, 16 Jan 2020 23:29:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579217377; bh=prQ0q8gvC79NNbn3+0ntZWUuhxJax8zUKx2jk+josZQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=vvbvi+xj0Hc2PdOaie+YV05VT+IfzkJO4B2lPDNtiLJXAMRaGedASgekKxuOPb8wy vHNWyimJifHet5tNaTLGarGwL2ncC1V6xzTm4Onuu0npGBWFIKi5RnCExK8uU4Bvj1 nMbdL3hZelWcYhvwOTWaTm6B5l+o1fCWgSGSY2QM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391297AbgAPX3e (ORCPT ); Thu, 16 Jan 2020 18:29:34 -0500 Received: from mail.kernel.org ([198.145.29.99]:35288 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391266AbgAPX3d (ORCPT ); Thu, 16 Jan 2020 18:29:33 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 2B5A52072E; Thu, 16 Jan 2020 23:29:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579217371; bh=prQ0q8gvC79NNbn3+0ntZWUuhxJax8zUKx2jk+josZQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LQuEJ69zGQQRfCgGhFb71LvejpxQj5CucYwLS7KVPL4qvGmVXTmm2xBCHAOMsaBbN m4hH7PbBageI/m44KCn2a6BD3mZK5mU34Y85ep5vIKVhEzZfz+T9aExf+u4ViX+JFN ooARh2m7KVTvzJnW9ehtxhuMuACa9/6SCvhxlUsc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bjorn Helgaas , Andrew Murray , Jonathan Yong Subject: [PATCH 4.19 55/84] PCI/PTM: Remove spurious "d" from granularity message Date: Fri, 17 Jan 2020 00:18:29 +0100 Message-Id: <20200116231720.275767106@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200116231713.087649517@linuxfoundation.org> References: <20200116231713.087649517@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: Bjorn Helgaas commit 127a7709495db52a41012deaebbb7afc231dad91 upstream. The granularity message has an extra "d": pci 0000:02:00.0: PTM enabled, 4dns granularity Remove the "d" so the message is simply "PTM enabled, 4ns granularity". Fixes: 8b2ec318eece ("PCI: Add PTM clock granularity information") Link: https://lore.kernel.org/r/20191106222420.10216-2-helgaas@kernel.org Signed-off-by: Bjorn Helgaas Reviewed-by: Andrew Murray Cc: Jonathan Yong Signed-off-by: Greg Kroah-Hartman --- drivers/pci/pcie/ptm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/pci/pcie/ptm.c +++ b/drivers/pci/pcie/ptm.c @@ -21,7 +21,7 @@ static void pci_ptm_info(struct pci_dev snprintf(clock_desc, sizeof(clock_desc), ">254ns"); break; default: - snprintf(clock_desc, sizeof(clock_desc), "%udns", + snprintf(clock_desc, sizeof(clock_desc), "%uns", dev->ptm_granularity); break; }