Re: [PATCH] drivers/mfd: fix pointer-integer size mismatch warnings

From: SeongJae Park
Date: Tue Feb 04 2014 - 04:08:24 EST


On Tue, Feb 4, 2014 at 6:03 PM, Lee Jones <lee.jones@xxxxxxxxxx> wrote:
>> Fix the pointer-integer size mismatch warnings below:
>> drivers/mfd/wm8994-core.c: In function âwm8994_i2c_probeâ:
>> mfd/wm8994-core.c:639:19: warning: cast from pointer to integer of
>> different size [-Wpointer-to-int-cast]
>> wm8994->type = (int)of_id->data;
>> ^
>> drivers/mfd/max8997.c: In function âmax8997_i2c_get_driver_dataâ:
>> drivers/mfd/max8997.c:173:10: warning: cast from pointer to integer of
>> different size [-Wpointer-to-int-cast]
>> return (int)match->data;
>> ^
>
> Already fixed:
> https://lkml.org/lkml/2014/1/23/309
> https://lkml.org/lkml/2014/1/23/326

Oops, sorry, didn't check that(I checked only the -next tree).
Thank you for let me know.

>
> --
> Lee Jones
> Linaro STMicroelectronics Landing Team Lead
> Linaro.org â Open source software for ARM SoCs
> Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/