[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTintEJ5mwmME6sUSXBpL7aGTT+G=psmSvjKqCYjS@mail.gmail.com>
Date: Tue, 22 Mar 2011 18:19:32 -0400
From: Mike Frysinger <vapier@...too.org>
To: Christoph Lameter <cl@...ux.com>
Cc: Tejun Heo <tj@...nel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] percpu: cast away printk format warning
On Tue, Mar 22, 2011 at 17:17, Mike Frysinger wrote:
> On Tue, Mar 22, 2011 at 17:03, Christoph Lameter <wrote:
>> On Tue, 22 Mar 2011, Mike Frysinger wrote:
>>> So add an explicit cast to unsigned long here.
>>
>> I believe we have a format character %t to avoid the cast.
>
> thanks, i wasnt aware of the ptrdiff_t extension. i'll send out an update.
actually, that doesnt work. ptrdiff_t is a type unto itself. in
order for this to work, every arch would need to cast/type
VMALLOC_{START,END} to a pointer type so that they could then be
subtracted. or, add a ptrdiff_t cast to this file ;).
-mike
--
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