[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAC52Y8aANVqE5J7faKWSb5KuuDEaEbSK-nC6DUHowDMEWTn6iw@mail.gmail.com>
Date: Thu, 26 Apr 2012 15:51:04 +0100
From: Krzysztof Wilczynski <krzysztof.wilczynski@...ux.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Samuel Ortiz <sameo@...ux.intel.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org, trivial@...nel.org
Subject: Re: [PATCH][TRIVIAL] mfd: twl6030: Add intermediate cast to uintptr_t
before casting to pointer.
Hi,
On 26 April 2012 01:06, Thomas Gleixner <tglx@...utronix.de> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists