[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdYvdbR+2Ehwxm9z280gBSmztmjj_eN_zakEbRHEbw9pWg@mail.gmail.com>
Date: Wed, 12 Jan 2022 01:42:05 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Yang Li <yang.lee@...ux.alibaba.com>
Cc: t.schramm@...jaro.org, sre@...nel.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org, Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH -next] power: supply_core: fix application of sizeof to pointer
On Wed, Jan 5, 2022 at 3:37 AM Yang Li <yang.lee@...ux.alibaba.com> wrote:
> The coccinelle check report:
> ./drivers/power/supply/cw2015_battery.c:692:12-18: ERROR: application of
> sizeof to pointer
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Fixes: 25fd330370ac ("power: supply_core: Pass pointer to battery info")
> Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Thanks for finding this!
Yours,
Linus Walleij
Powered by blists - more mailing lists