Messages in this thread | | | From | Linus Walleij <> | Date | Wed, 12 Jan 2022 01:42:05 +0100 | 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@linux.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@linux.alibaba.com> > Fixes: 25fd330370ac ("power: supply_core: Pass pointer to battery info") > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Thanks for finding this!
Yours, Linus Walleij
| |