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]
Message-ID: <20230205145642.3f2c3d1d@jic23-huawei>
Date:   Sun, 5 Feb 2023 14:56:42 +0000
From:   Jonathan Cameron <jic23@...nel.org>
To:     Jonathan Neuschäfer <j.neuschaefer@....net>
Cc:     linux-iio@...r.kernel.org, Tomasz Duszynski <tduszyns@...il.com>,
        Lars-Peter Clausen <lars@...afoo.de>,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: chemical: sps030: Reformat comment in a more
 readable way

On Sun, 29 Jan 2023 14:20:20 +0100
Jonathan Neuschäfer <j.neuschaefer@....net> wrote:

> It's easier to see the (lack of) difference between the lines when they
> are visually aligned.
> 
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@....net>
Applied.

Thanks,

Jonathan

> ---
>  drivers/iio/chemical/sps30_i2c.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/iio/chemical/sps30_i2c.c b/drivers/iio/chemical/sps30_i2c.c
> index 2aed483a2fdec..0cb5d9b65d625 100644
> --- a/drivers/iio/chemical/sps30_i2c.c
> +++ b/drivers/iio/chemical/sps30_i2c.c
> @@ -68,10 +68,10 @@ static int sps30_i2c_command(struct sps30_state *state, u16 cmd, void *arg, size
>  	/*
>  	 * Internally sensor stores measurements in a following manner:
>  	 *
> -	 * PM1: upper two bytes, crc8, lower two bytes, crc8
> +	 * PM1:   upper two bytes, crc8, lower two bytes, crc8
>  	 * PM2P5: upper two bytes, crc8, lower two bytes, crc8
> -	 * PM4: upper two bytes, crc8, lower two bytes, crc8
> -	 * PM10: upper two bytes, crc8, lower two bytes, crc8
> +	 * PM4:   upper two bytes, crc8, lower two bytes, crc8
> +	 * PM10:  upper two bytes, crc8, lower two bytes, crc8
>  	 *
>  	 * What follows next are number concentration measurements and
>  	 * typical particle size measurement which we omit.
> --
> 2.39.0
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ