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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sat, 2 Feb 2019 17:08:52 +0000
From:   Jonathan Cameron <jic23@...23.retrosnub.co.uk>
To:     Tomasz Duszynski <tduszyns@...il.com>
Cc:     linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: chemical: sps30: remove printk format specifier

On Sat,  2 Feb 2019 10:00:03 +0100
Tomasz Duszynski <tduszyns@...il.com> wrote:

> pr_fmt is used by printk wrappers. There are not any in the driver
> code so remove the format specifier.
> 
> Signed-off-by: Tomasz Duszynski <tduszyns@...il.com>
Applied to the togreg branch of iio.git and pushed out
as testing for the autobuilders to mostly ignore it.

Thanks,

Jonathan

> ---
>  drivers/iio/chemical/sps30.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/iio/chemical/sps30.c b/drivers/iio/chemical/sps30.c
> index 376fac41ecb5..e03a28a67146 100644
> --- a/drivers/iio/chemical/sps30.c
> +++ b/drivers/iio/chemical/sps30.c
> @@ -7,8 +7,6 @@
>   * I2C slave address: 0x69
>   */
> 
> -#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> -
>  #include <asm/unaligned.h>
>  #include <linux/crc8.h>
>  #include <linux/delay.h>
> --
> 2.20.1
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ