Re: linux-next: build warning after merge of the drivers-x86 tree

From: Andy Shevchenko
Date: Fri Jan 10 2020 - 04:47:58 EST


On Fri, Jan 10, 2020 at 5:57 AM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> After merging the drivers-x86 tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> drivers/platform/x86/intel_telemetry_pltdrv.c: In function 'telemetry_pltdrv_probe':
> drivers/platform/x86/intel_telemetry_pltdrv.c:1121:6: warning: unused variable 'size' [-Wunused-variable]
> 1121 | int size, ret = -ENOMEM;
> | ^~~~
>
> Introduced by commit
>
> ebc28a8e59ca ("platform/x86: intel_telemetry_pltdrv: use devm_platform_ioremap_resource()")

Thanks for a report. I'll fix soon.
I'm wondering why I didn't get any report from LKP.

>
> --
> Cheers,
> Stephen Rothwell



--
With Best Regards,
Andy Shevchenko