[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5DKBGYgri7swrbqWZ_j8TfTUsiPivnYPvN2X3GvGcTNrA@mail.gmail.com>
Date: Mon, 13 May 2019 00:23:52 -0300
From: Fabio Estevam <festevam@...il.com>
To: Anson Huang <anson.huang@....com>
Cc: "catalin.marinas@....com" <catalin.marinas@....com>,
"will.deacon@....com" <will.deacon@....com>,
"shawnguo@...nel.org" <shawnguo@...nel.org>,
"s.hauer@...gutronix.de" <s.hauer@...gutronix.de>,
"kernel@...gutronix.de" <kernel@...gutronix.de>,
"maxime.ripard@...tlin.com" <maxime.ripard@...tlin.com>,
"agross@...nel.org" <agross@...nel.org>,
"olof@...om.net" <olof@...om.net>,
"horms+renesas@...ge.net.au" <horms+renesas@...ge.net.au>,
"jagan@...rulasolutions.com" <jagan@...rulasolutions.com>,
"bjorn.andersson@...aro.org" <bjorn.andersson@...aro.org>,
Leonard Crestez <leonard.crestez@....com>,
"marc.w.gonzalez@...e.fr" <marc.w.gonzalez@...e.fr>,
"dinguyen@...nel.org" <dinguyen@...nel.org>,
"enric.balletbo@...labora.com" <enric.balletbo@...labora.com>,
Aisheng Dong <aisheng.dong@....com>,
"robh@...nel.org" <robh@...nel.org>, Abel Vesa <abel.vesa@....com>,
"l.stach@...gutronix.de" <l.stach@...gutronix.de>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
dl-linux-imx <linux-imx@....com>
Subject: Re: [PATCH RESEND 1/2] soc: imx: Add SCU SoC info driver support
On Sun, May 12, 2019 at 11:59 PM Anson Huang <anson.huang@....com> wrote:
> + soc_dev = soc_device_register(soc_dev_attr);
> + if (IS_ERR(soc_dev)) {
> + kfree(soc_dev_attr->revision);
> + return -ENODEV;
This should return PTR_ERR(soc_dev) instead.
Powered by blists - more mailing lists