lkml.org 
[lkml]   [2005]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] silence numerous size_t warnings in drivers/acpi/processor_idle.c
ChangeSet 1.2334, 2005/01/11 09:21:40-08:00, wli@holomorphy.com
>> [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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.061 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site