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

From: Sebastian Reichel
Date: Thu Jan 05 2017 - 18:29:22 EST


Hi Quentin,

On Thu, Jan 05, 2017 at 12:53:42PM +1100, Stephen Rothwell wrote:
> After merging the battery tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> drivers/power/supply/axp20x_usb_power.c: In function 'axp20x_usb_power_probe':
> drivers/power/supply/axp20x_usb_power.c:297:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> power->axp20x_id = (int)of_device_get_match_data(&pdev->dev);

Can you send a follow-up patch fixing this false-positive warning?

-- Sebastian

Attachment: signature.asc
Description: PGP signature