Re: [PATCH 04/12] mfd: stmpe: Rid data size incompatibility warn when building for 64bit
From: Linus Walleij
Date: Fri Jul 04 2014 - 15:57:31 EST
On Wed, Jul 2, 2014 at 5:28 PM, Lee Jones <lee.jones@xxxxxxxxxx> 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@xxxxxxxxxx>
Not to mention that it uses the enum where the enum is due.
Good patch.
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Yours,
Linus Walleij
--
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/