Re: [-mm patch] mm/memcontrol.c: clenups
From: Jan Engelhardt
Date: Mon Sep 10 2007 - 15:59:10 EST
On Sep 10 2007 13:53, Balbir Singh wrote:
>> --- a/mm/memcontrol.c
>> +++ b/mm/memcontrol.c
>> @@ -91,7 +91,7 @@ enum {
>> MEM_CONTAINER_TYPE_CACHED,
>> MEM_CONTAINER_TYPE_ALL,
>> MEM_CONTAINER_TYPE_MAX,
>> -} mem_control_type;
>> +};
>>
>
>Not sure about this, is this the preferred style?
Yes, typedefs are bad. And because it happens very so often,
I also have the link: http://lkml.org/lkml/2006/11/21/34
Jan
--
-
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/