Re: [PATCH] silence numerous size_t warnings in drivers/acpi/processor_idle.c

From: William Lee Irwin III
Date: Tue Jan 11 2005 - 15:43:21 EST


ChangeSet 1.2334, 2005/01/11 09:21:40-08:00, wli@xxxxxxxxxxxxxx
>> [PATCH] silence numerous size_t warnings in
>> drivers/acpi/processor_idle.c
>> Multiple format -related warnings arise from size_t issues. This
>> patch
>> peppers the seq_printf()'s with 'z' qualifiers and casts to silence
>> them all.

On Tue, Jan 11, 2005 at 12:27:24PM -0800, Randy.Dunlap wrote:
> Does this mean that ptrdiff_t type looks same as a size_t
> to printk() & seq_printf() ?

As far as I know this is the case. I have no specific opinion on this
being a better way to do it than something else.


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