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: <CAEnQRZCcmaU91Ep5kVesaGPsrvujq5mznk2SZccmZG9rbSCG0w@mail.gmail.com>
Date:   Sun, 22 Mar 2020 21:08:11 +0200
From:   Daniel Baluta <daniel.baluta@...il.com>
To:     Marc Zyngier <maz@...nel.org>
Cc:     Anson Huang <Anson.Huang@....com>, tglx@...utronix.de,
        jason@...edaemon.net, Shawn Guo <shawnguo@...nel.org>,
        Sascha Hauer <s.hauer@...gutronix.de>,
        Pengutronix Kernel Team <kernel@...gutronix.de>,
        Fabio Estevam <festevam@...il.com>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
        dl-linux-imx <Linux-imx@....com>
Subject: Re: [PATCH] irqchip: irq-imx-gpcv2: Remove unnecessary blank lines

On Sat, Mar 21, 2020 at 5:22 PM Marc Zyngier <maz@...nel.org> wrote:
>
> On Tue, 17 Mar 2020 04:56:41 +0000,
> Anson Huang <Anson.Huang@....com> wrote:
> >
> > Remove unnecessary blank lines for cleanup.
> >
> > Signed-off-by: Anson Huang <Anson.Huang@....com>
> > ---
> >  drivers/irqchip/irq-imx-gpcv2.c | 2 --
> >  1 file changed, 2 deletions(-)
> >
> > diff --git a/drivers/irqchip/irq-imx-gpcv2.c b/drivers/irqchip/irq-imx-gpcv2.c
> > index 4f74c15..4f11b9b 100644
> > --- a/drivers/irqchip/irq-imx-gpcv2.c
> > +++ b/drivers/irqchip/irq-imx-gpcv2.c
> > @@ -17,7 +17,6 @@
> >  #define GPC_IMR1_CORE2               0x1c0
> >  #define GPC_IMR1_CORE3               0x1d0
> >
> > -
> >  struct gpcv2_irqchip_data {
> >       struct raw_spinlock     rlock;
> >       void __iomem            *gpc_base;
> > @@ -287,6 +286,5 @@ static int __init imx_gpcv2_irqchip_init(struct device_node *node,
> >       of_node_clear_flag(node, OF_POPULATED);
> >       return 0;
> >  }
> > -
> >  IRQCHIP_DECLARE(imx_gpcv2_imx7d, "fsl,imx7d-gpc", imx_gpcv2_irqchip_init);
> >  IRQCHIP_DECLARE(imx_gpcv2_imx8mq, "fsl,imx8mq-gpc", imx_gpcv2_irqchip_init);
>
> I honestly don't think this deserves a patch. Next time you work on
> this driver, add the cleanups to it. But on its own, it's only churn.

While you are technically right, it's only churn I think we need this
for code consistency and cleanup.

Even if we fix this when we work on the driver we still need
to make the cleanup in a separate patch.

My 2 cents,
Daniel.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ