[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <530725d6-d92e-3032-04ce-ccc132e8e6ed@embeddedor.com>
Date: Mon, 28 Oct 2019 15:37:57 -0500
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
To: Sebastian Reichel <sre@...nel.org>
Cc: Jonathan Cameron <jic23@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] power: supply: ab8500_charger: Fix inconsistent IS_ERR
and PTR_ERR
Hey Sebastian,
On 10/27/19 16:30, Sebastian Reichel wrote:
> Hi,
>
> On Mon, Oct 21, 2019 at 12:49:37PM -0500, Gustavo A. R. Silva wrote:
>> Fix inconsistent IS_ERR and PTR_ERR in ab8500_charger_probe().
>>
>> The proper pointer to be passed as argument is di->adc_main_charger_c
>>
>> This bug was detected with the help of Coccinelle.
>>
>> Fixes: 97ab78bac5d0 ("power: supply: ab8500_charger: Convert to IIO ADC")
>> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
>> ---
>
> Thanks, queued.
>
Awesome.
Thank you!
--
Gustavo
Powered by blists - more mailing lists