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: <20230923183949.62b9715b@jic23-huawei>
Date:   Sat, 23 Sep 2023 18:39:49 +0100
From:   Jonathan Cameron <jic23@...nel.org>
To:     Andy Shen Shen <shengaoya@...pur.com>
Cc:     <lars@...afoo.de>, <robh@...nel.org>, <linux-iio@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] iio: adc: for kernel comment

On Thu, 21 Sep 2023 11:14:44 +0800
Andy Shen Shen <shengaoya@...pur.com> wrote:

> In line 460 of the palmas_gpadc.c file, fix kernel comment errors.
For future reference (I've tweaked it this time) please include
the driver name in the description and also say what the change
was at least briefly (drop duplicated the).

Applied to the togreg branch of iio.git and pushed out as testing because
other things on that branch need some build testing etc.

Thanks,

Jonathan

> 
> Signed-off-by: Andy Shen Shen <shengaoya@...pur.com>
> ---
>  drivers/iio/adc/palmas_gpadc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/adc/palmas_gpadc.c b/drivers/iio/adc/palmas_gpadc.c
> index e202ea18af10..203cbbc70719 100644
> --- a/drivers/iio/adc/palmas_gpadc.c
> +++ b/drivers/iio/adc/palmas_gpadc.c
> @@ -457,7 +457,7 @@ static int palmas_gpadc_get_calibrated_code(struct palmas_gpadc *adc,
>   *
>   * The gain error include both gain error, as specified in the datasheet, and
>   * the gain error drift. These paramenters vary depending on device and whether
> - * the the channel is calibrated (trimmed) or not.
> + * the channel is calibrated (trimmed) or not.
>   */
>  static int palmas_gpadc_threshold_with_tolerance(int val, const int INL,
>  						 const int gain_error,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ