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

Nikita Danilov (Nikita@Namesys.COM)
Tue, 22 Apr 2003 12:44:37 +0400


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/