Re: [PATCH 2/2] forbid asm/bitops.h direct inclusion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Jiri Slaby <jirislaby@xxxxxxxxx>
- Subject: Re: [PATCH 2/2] forbid asm/bitops.h direct inclusion
- From: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
- Date: Mon, 10 Sep 2007 13:28:38 +0100
- Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Adrian Bunk <bunk@xxxxxxxxxx>, rth@xxxxxxxxxxx, hskinnemoen@xxxxxxxxx, uclinux-dist-devel@xxxxxxxxxxxxxxxxxxxx, dev-etrax@xxxxxxxx, dhowells@xxxxxxxxxx, discuss@xxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxx, parisc-linux@xxxxxxxxxxxxxxxx, sparclinux@xxxxxxxxxxxxxxx, chris@xxxxxxxxxx
- In-reply-to: <276116173913632310@xxxxxxxxxxxxx>
- References: <30483262301654323266@xxxxxxxxxxxxx> <276116173913632310@xxxxxxxxxxxxx>
- User-agent: Mutt/1.5.14 (2007-02-12)
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-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]