[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070910122838.GA10143@linux-mips.org>
Date: Mon, 10 Sep 2007 13:28:38 +0100
From: Ralf Baechle <ralf@...ux-mips.org>
To: Jiri Slaby <jirislaby@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, Adrian Bunk <bunk@...nel.org>,
rth@...ddle.net, hskinnemoen@...el.com,
uclinux-dist-devel@...ckfin.uclinux.org, dev-etrax@...s.com,
dhowells@...hat.com, discuss@...-64.org,
linux-ia64@...r.kernel.org, linux-mips@...ux-mips.org,
parisc-linux@...isc-linux.org, sparclinux@...r.kernel.org,
chris@...kel.net
Subject: Re: [PATCH 2/2] forbid asm/bitops.h direct inclusion
On Sat, Sep 08, 2007 at 09:00:48PM +0100, Jiri Slaby wrote:
> forbid asm/bitops.h direct inclusion
>
> Because of compile errors that may occur after bit changes if asm/bitops.h is
> included directly without e.g. linux/kernel.h which includes linux/bitops.h, forbid
> direct inclusion of asm/bitops.h. Thanks to Adrian Bunk.
This is the kind of thing that checkpatch.pl is already checking for and
I like that idea much more than adding thousands of checks over many of
the header files under asm.
Ralf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists