potential parse error in ifdef
I have made a tool to parse the kernel that does not pre-process the source. That means that my parser tries to parse all the code, including code in the #else branch or code that is not often compiled because the driver is not very used (or not used at all). So, my parser sometimes reports parse error not originally detected by gcc. Here is my (first) patch. [akpm@linux-foundation.org: fix amd8111e.c] Signed-off-by: NYoann Padioleau <padator@wanadoo.fr> Acked-by: NMatthew Wilcox <matthew@wil.cx> Acked-by: NWim Van Sebroeck <wim@iguana.be> Acked-by: NDavid Woodhouse <dwmw2@infradead.org> Acked-by: NJeff Garzik <jeff@garzik.org> Acked-by: NJames Bottomley <James.Bottomley@steeleye.com> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
想要评论请 注册 或 登录