On Mon, Mar 8, 2010 at 5:24 PM, Pavel Roskin <proski@xxxxxxx> wrote: > Hello! > > Sparse crashed when checking drivers/net/wireless/ath/ath9k/gpio.c in > Linux. I could reduce the crash to the following simple program: > > enum kind { > GOOD > }; > static void foo(enum kind k) > { > } > static void bar(int ok, int k) > { > foo(ok ? GOOD : k); > } > Confirm. This is cause by the recent enum-warning patch. Without it the sparse runs fine. Let me see if this is some thing easy to fix. Chris -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html