(2013/11/22 15:05), Namhyung Kim wrote:
> Hi Oleg,
>
> On Wed, 20 Nov 2013 16:22:45 +0100, Oleg Nesterov wrote:
>> On 11/18, Namhyung Kim wrote:
>>>
>>> -DEFINE_BASIC_PRINT_TYPE_FUNC(u8, "%x", unsigned int)
>>> -DEFINE_BASIC_PRINT_TYPE_FUNC(u16, "%x", unsigned int)
>>>
(2013/11/22 15:05), Namhyung Kim wrote:
Hi Oleg,
On Wed, 20 Nov 2013 16:22:45 +0100, Oleg Nesterov wrote:
On 11/18, Namhyung Kim wrote:
-DEFINE_BASIC_PRINT_TYPE_FUNC(u8, %x, unsigned int)
-DEFINE_BASIC_PRINT_TYPE_FUNC(u16, %x, unsigned int)
-DEFINE_BASIC_PRINT_TYPE_FUNC(u32, %lx, unsigned
Hi Oleg,
On Wed, 20 Nov 2013 16:22:45 +0100, Oleg Nesterov wrote:
> On 11/18, Namhyung Kim wrote:
>>
>> -DEFINE_BASIC_PRINT_TYPE_FUNC(u8, "%x", unsigned int)
>> -DEFINE_BASIC_PRINT_TYPE_FUNC(u16, "%x", unsigned int)
>> -DEFINE_BASIC_PRINT_TYPE_FUNC(u32, "%lx", unsigned long)
>>
Hi Oleg,
On Wed, 20 Nov 2013 16:22:45 +0100, Oleg Nesterov wrote:
On 11/18, Namhyung Kim wrote:
-DEFINE_BASIC_PRINT_TYPE_FUNC(u8, %x, unsigned int)
-DEFINE_BASIC_PRINT_TYPE_FUNC(u16, %x, unsigned int)
-DEFINE_BASIC_PRINT_TYPE_FUNC(u32, %lx, unsigned long)
+DEFINE_BASIC_PRINT_TYPE_FUNC(u8 ,
On 11/18, Namhyung Kim wrote:
>
> -DEFINE_BASIC_PRINT_TYPE_FUNC(u8, "%x", unsigned int)
> -DEFINE_BASIC_PRINT_TYPE_FUNC(u16, "%x", unsigned int)
> -DEFINE_BASIC_PRINT_TYPE_FUNC(u32, "%lx", unsigned long)
> +DEFINE_BASIC_PRINT_TYPE_FUNC(u8 , "%x", unsigned char)
> +DEFINE_BASIC_PRINT_TYPE_FUNC(u16,
On 11/18, Namhyung Kim wrote:
-DEFINE_BASIC_PRINT_TYPE_FUNC(u8, %x, unsigned int)
-DEFINE_BASIC_PRINT_TYPE_FUNC(u16, %x, unsigned int)
-DEFINE_BASIC_PRINT_TYPE_FUNC(u32, %lx, unsigned long)
+DEFINE_BASIC_PRINT_TYPE_FUNC(u8 , %x, unsigned char)
+DEFINE_BASIC_PRINT_TYPE_FUNC(u16, %x, unsigned
From: Namhyung Kim
The print format of s32 type was "ld" and it's casted to "long". So
it turned out to print 4294967295 for "-1" on 64-bit systems. Not
sure whether it worked well on 32-bit systems.
Anyway, it'd be better if we have exact format and type cast for each
types on both of 32-
From: Namhyung Kim namhyung@lge.com
The print format of s32 type was ld and it's casted to long. So
it turned out to print 4294967295 for -1 on 64-bit systems. Not
sure whether it worked well on 32-bit systems.
Anyway, it'd be better if we have exact format and type cast for each
types on
8 matches
Mail list logo