Re: [PATCH] tpm: fix gcc printk warnings

From: Andrew Morton
Date: Mon Mar 14 2005 - 18:16:07 EST


"Randy.Dunlap" <rddunlap@xxxxxxxx> wrote:
>
> - "invalid count value %x %x \n", count, bufsiz);
> + "invalid count value %x %lx\n", count, (unsigned long)bufsiz);

Nope. Please use %Z for size_t args.
-
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/