Re: [PATCH] idr: Rename MAX_LEVEL to MAX_ID_LEVEL

Glauber Costa
2012-09-13T09:50:05Z

On 09/13/2012 03:38 AM, Fengguang Wu wrote:
> On Wed, Sep 12, 2012 at 04:03:02PM -0700, Andrew Morton wrote:
>> On Tue, 11 Sep 2012 17:48:23 +0800
>> Fengguang Wu <fengguang.wu@intel.com> wrote:
>>
>>> idr: Rename MAX_LEVEL to MAX_IDR_LEVEL
>>>
>>> To avoid name conflicts:
>>>
>>> drivers/video/riva/fbdev.c:281:9: sparse: preprocessor token MAX_LEVEL redefined
>>>
>>> While at it, also make the other names more consistent and
>>> add parentheses.
>>
>> That was a rather modest effort :(
>>
>> drivers/i2c/i2c-core.c | 2 +-
>> drivers/infiniband/core/cm.c | 2 +-
>> drivers/pps/pps.c | 2 +-
>> drivers/thermal/thermal_sys.c | 2 +-
>> fs/super.c | 2 +-
>> 5 files changed, 5 insertions(+), 5 deletions(-)
>
>> From: Andrew Morton <akpm@linux-foundation.org>
>> Subject: idr-rename-max_level-to-max_idr_level-fix-fix-2
>>
>> ho hum
>>
>> lib/idr.c | 14 +++++++-------
>
> Embarrassing.. Sorry for not build testing it at all!
>
> Regards,
> Fengguang
>
You can build test it automatically using Fengguang's 0-day test system.

/me runs