Re: [PATCH] idr: Rename MAX_LEVEL to MAX_ID_LEVEL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxx>
> 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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]