lkml.org 
[lkml]   [2014]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 04/12] mfd: stmpe: Rid data size incompatibility warn when building for 64bit
From
On Wed, Jul 2, 2014 at 5:28 PM, Lee Jones <lee.jones@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@linaro.org>

Not to mention that it uses the enum where the enum is due.
Good patch.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2014-07-04 22:21    [W:0.179 / U:4.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site