Re: [PATCH] (one line): use #ifdef with CONFIG_*

From: Nikita Danilov (Nikita@Namesys.COM)
Date: Tue Apr 22 2003 - 03:44:37 EST


Andrew Morton writes:
> Nikita Danilov <Nikita@Namesys.COM> wrote:
> >
> > -#if CONFIG_DEBUG_HIGHMEM
> > +#ifdef CONFIG_DEBUG_HIGHMEM
>
> mnm:/usr/src/linux-2.5.68> grep -r '#if[ ]*CONFIG' . | wc -l
> 185
>
> Why fix this one in particular?

Err, I just added -Wundef to cc options and it was the only one that has
shown up. Probably all of them should be corrected at once.

Nikita.
-
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/



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:32 EST