Re: [PATCH][TRIVIAL] mfd: twl6030: Add intermediate cast to uintptr_tbefore casting to pointer.

From: Krzysztof Wilczynski
Date: Thu Apr 26 2012 - 10:51:41 EST


Hi,

On 26 April 2012 01:06, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> On Thu, 26 Apr 2012, Krzysztof Wilczynski wrote:
>
>> This is to address the following warning during compilation time:
>>
>> Â drivers/mfd/twl6030-irq.c: In function âtwl6030_init_irqâ:
>> Â drivers/mfd/twl6030-irq.c:398: warning: cast to pointer from integer of different size
>> Â drivers/mfd/twl6030-irq.c:415: warning: cast to pointer from integer of different size
>
> Sigh. Instaed of blindy fixing some random warning, that driver should
> be converted to use proper threaded interrupt handlers which already
> do the Right Thing.

Thank you for pointing this out to me :) I was not aware that it has
to be converted to use new API / functionality. I will most certainly
look how to do this and what is required to do so.

KW
--
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/