Re: [PATCH] percpu: cast away printk format warning

From: Mike Frysinger
Date: Tue Mar 22 2011 - 17:18:51 EST


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.
-mike
--
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/