[PATCH 04/12] mfd: stmpe: Rid data size incompatibility warn when building for 64bit
Linus Walleij
linus.walleij at linaro.org
Fri Jul 4 12:57:26 PDT 2014
On Wed, Jul 2, 2014 at 5:28 PM, Lee Jones <lee.jones at linaro.org> wrote:
> Extinguishes:
>
> ../drivers/mfd/stmpe-i2c.c: In function ‘stmpe_i2c_probe’:
> ../drivers/mfd/stmpe-i2c.c:88:13:
> warning: cast from pointer to integer of different size
> partnum = (int)of_id->data;
>
> Signed-off-by: Lee Jones <lee.jones at linaro.org>
Not to mention that it uses the enum where the enum is due.
Good patch.
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list