[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7ee00c15-ed39-4092-be79-d4683d1c3ee2@moroto.mountain>
Date: Mon, 27 May 2024 11:01:09 +0300
From: Dan Carpenter <dan.carpenter@...aro.org>
To: Shengjiu Wang <shengjiu.wang@...il.com>
Cc: Frank Li <Frank.li@....com>, Shengjiu Wang <shengjiu.wang@....com>,
abelvesa@...nel.org, peng.fan@....com, mturquette@...libre.com,
sboyd@...nel.org, robh@...nel.org, krzk+dt@...nel.org,
conor+dt@...nel.org, shawnguo@...nel.org, s.hauer@...gutronix.de,
kernel@...gutronix.de, festevam@...il.com, marex@...x.de,
linux-clk@...r.kernel.org, imx@...ts.linux.dev,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, p.zabel@...gutronix.de
Subject: Re: [PATCH v5 2/5] clk: imx: clk-audiomix: Add reset controller
On Fri, May 24, 2024 at 09:49:08AM +0800, Shengjiu Wang wrote:
> On Fri, May 24, 2024 at 4:36 AM Frank Li <Frank.li@....com> wrote:
> > > +static int clk_imx8mp_audiomix_reset_controller_register(struct device *dev,
> > > + struct clk_imx8mp_audiomix_priv *priv)
> > > +{
> > > + struct auxiliary_device __free(kfree) * adev = NULL;
> >
> > nit: *adev = NULL;
>
> Actually, the checkpatch.pl told me need to have space after '*'...
Someone should fix checkpatch so that it knows that __free() is an
attribute, not a function call. (The cleanup.h stuff is quite new).
regards,
dan carpenter
Powered by blists - more mailing lists