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: <20221023133728.35b6ef26@jic23-huawei>
Date:   Sun, 23 Oct 2022 13:37:28 +0100
From:   Jonathan Cameron <jic23@...nel.org>
To:     Julia Lawall <julia.lawall@...ia.fr>
Cc:     Deepak R Varma <drv@...lo.com>, outreachy@...ts.linux.dev,
        lars@...afoo.de, Michael.Hennerich@...log.com,
        gregkh@...uxfoundation.org, linux-iio@...r.kernel.org,
        linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org,
        kumarpraveen@...ux.microsoft.com, saurabh.truth@...il.com
Subject: Re: [PATCH] staging: iio: frequency: ad9834: merge unnecessary
 split lines

On Mon, 17 Oct 2022 09:10:15 +0200 (CEST)
Julia Lawall <julia.lawall@...ia.fr> wrote:

> On Mon, 17 Oct 2022, Deepak R Varma wrote:
> 
> > Improve code readability by merging unnecessary split lines that are
> > well within the code-style guidelines post merge.
> >
> > Signed-off-by: Deepak R Varma <drv@...lo.com>  
> 
> Acked-by: Julia Lawall <julia.lawall@...ia.fr>

Not a huge benefit to readability, but as this is in staging, fair enough!

Applied to the togreg branch of iio.git and pushed out as testing for
the autobuilders to see if we missed anything.

Thanks,

Jonathan

> 
> > ---
> >  drivers/staging/iio/frequency/ad9834.c | 6 ++----
> >  1 file changed, 2 insertions(+), 4 deletions(-)
> >
> > diff --git a/drivers/staging/iio/frequency/ad9834.c b/drivers/staging/iio/frequency/ad9834.c
> > index 2b4267a87e65..285df0e489a6 100644
> > --- a/drivers/staging/iio/frequency/ad9834.c
> > +++ b/drivers/staging/iio/frequency/ad9834.c
> > @@ -331,11 +331,9 @@ static IIO_DEV_ATTR_PHASE(0, 1, 0200, NULL, ad9834_write, AD9834_REG_PHASE1);
> >  static IIO_DEV_ATTR_PHASESYMBOL(0, 0200, NULL, ad9834_write, AD9834_PSEL);
> >  static IIO_CONST_ATTR_PHASE_SCALE(0, "0.0015339808"); /* 2PI/2^12 rad*/
> >
> > -static IIO_DEV_ATTR_PINCONTROL_EN(0, 0200, NULL,
> > -	ad9834_write, AD9834_PIN_SW);
> > +static IIO_DEV_ATTR_PINCONTROL_EN(0, 0200, NULL, ad9834_write, AD9834_PIN_SW);
> >  static IIO_DEV_ATTR_OUT_ENABLE(0, 0200, NULL, ad9834_write, AD9834_RESET);
> > -static IIO_DEV_ATTR_OUTY_ENABLE(0, 1, 0200, NULL,
> > -	ad9834_write, AD9834_OPBITEN);
> > +static IIO_DEV_ATTR_OUTY_ENABLE(0, 1, 0200, NULL, ad9834_write, AD9834_OPBITEN);
> >  static IIO_DEV_ATTR_OUT_WAVETYPE(0, 0, ad9834_store_wavetype, 0);
> >  static IIO_DEV_ATTR_OUT_WAVETYPE(0, 1, ad9834_store_wavetype, 1);
> >
> > --
> > 2.30.2
> >
> >
> >
> >
> >  

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ