[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <466995DB.6080703@austin.ibm.com>
Date: Fri, 08 Jun 2007 12:46:03 -0500
From: Joel Schopp <jschopp@...tin.ibm.com>
To: Dan Williams <dan.j.williams@...el.com>
CC: apw@...dowen.org, rdunlap@...otime.net,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] checkpatch: add an exclusion for 'for_each' helper macros
Dan Williams wrote:
> checkpatch currently complains about macros like the following:
>
> #define for_each_dma_cap_mask(cap, mask) \
> for ((cap) = first_dma_cap(mask); \
> (cap) < DMA_TX_TYPE_END; \
> (cap) = next_dma_cap((cap), (mask)))
>
>
> Signed-off-by: Dan Williams <dan.j.williams@...el.com>
I'd like it if this patch updated Chapter 12 of Documentation/CodingStyle as well.
That section is where the rule to check came from and it would be nice for it to
mention the exception to the rule as well.
-
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