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] [thread-next>] [day] [month] [year] [list]
Message-ID:
 <SJ2P223MB102630DA926C5006D12E5132F7622@SJ2P223MB1026.NAMP223.PROD.OUTLOOK.COM>
Date: Wed, 18 Sep 2024 15:42:56 -0400
From: Steven Davis <goldside000@...look.com>
To: hridesh699@...il.com
Cc: Michael.Hennerich@...log.com,
	gregkh@...uxfoundation.org,
	jic23@...nel.org,
	lars@...afoo.de,
	linux-iio@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	linux-staging@...ts.linux.dev
Subject: Re: [PATCH] staging: iio: Fix alignment warning

On Wed, 18 Sep 2024 at 23:13:19 +0530, Hridesh MG wrote:
> Reported by checkpatch:
>
> CHECK: Alignment should match open parenthesis
>
> Signed-off-by: Hridesh MG <hridesh699@...il.com>
  Acked-by: Steven Davis <goldside000@...look.com>
> ---
> drivers/staging/iio/impedance-analyzer/ad5933.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)

> diff --git a/drivers/staging/iio/impedance-analyzer/ad5933.c b/drivers/staging/iio/impedance-analyzer/ad5933.c
> index 4ae1a7039418..d5544fc2fe98 100644
> --- a/drivers/staging/iio/impedance-analyzer/ad5933.c
> +++ b/drivers/staging/iio/impedance-analyzer/ad5933.c
> @@ -628,9 +628,9 @@ static void ad5933_work(struct work_struct *work)
> 		int scan_count = bitmap_weight(indio_dev->active_scan_mask,
> 					       iio_get_masklength(indio_dev));
> 		ret = ad5933_i2c_read(st->client,
> -				test_bit(1, indio_dev->active_scan_mask) ?
> -				AD5933_REG_REAL_DATA : AD5933_REG_IMAG_DATA,
> -				scan_count * 2, (u8 *)buf);
> +				      test_bit(1, indio_dev->active_scan_mask) ?
> +				      AD5933_REG_REAL_DATA : AD5933_REG_IMAG_DATA,
> +				      scan_count * 2, (u8 *)buf);
> 		if (ret)
> 			return;
> 
> -- 
> 2.46.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ