lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191107092847.GP9723@e119886-lin.cambridge.arm.com>
Date:   Thu, 7 Nov 2019 09:28:48 +0000
From:   Andrew Murray <andrew.murray@....com>
To:     Bjorn Helgaas <helgaas@...nel.org>
Cc:     linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
        Bjorn Helgaas <bhelgaas@...gle.com>
Subject: Re: [PATCH 1/5] PCI/PTM: Remove spurious "d" from granularity message

On Wed, Nov 06, 2019 at 04:24:17PM -0600, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@...gle.com>
> 
> 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")
> Signed-off-by: Bjorn Helgaas <bhelgaas@...gle.com>
> Cc: Jonathan Yong <jonathan.yong@...el.com
> ---
>  drivers/pci/pcie/ptm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/pcie/ptm.c b/drivers/pci/pcie/ptm.c
> index 98cfa30f3fae..9361f3aa26ab 100644
> --- a/drivers/pci/pcie/ptm.c
> +++ b/drivers/pci/pcie/ptm.c
> @@ -21,7 +21,7 @@ static void pci_ptm_info(struct pci_dev *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;
>  	}

Reviewed-by: Andrew Murray <andrew.murray@....com>

> -- 
> 2.24.0.rc1.363.gb1bccd3e3d-goog
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ