Message ID | 20170831214810.GS5426@ZenIV.linux.org.uk (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
On Thu, Aug 31, 2017 at 5:48 PM, Al Viro <viro@zeniv.linux.org.uk> wrote: > > throw this in, perhaps? > > diff --git a/validation/preprocessor/preprocessor23.c b/validation/preprocessor/preprocessor23.c > index 25be508..a778483 100644 This one does not have a signed off. I will combine it with your previous patch. I have test with your patch. It fixes the simplified test example Linus give out. I also do the stress test on allmodconfig kernel source. There is no impact on sparse warning given on kernel source. The stress test timing is close enough. I already apply the patch. I will push to master soon. Thanks for the quick reply to fix this bug. Chris -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/validation/preprocessor/preprocessor23.c b/validation/preprocessor/preprocessor23.c index 25be508..a778483 100644 --- a/validation/preprocessor/preprocessor23.c +++ b/validation/preprocessor/preprocessor23.c @@ -12,6 +12,9 @@ I(,) I(x,) I(,x) I(x,x) +#define J(...) ,##__VA_ARGS__ +J() +J(x) /* * check-name: Preprocessor #23 * check-command: sparse -E $file @@ -29,6 +32,7 @@ I(x,x) ,x ,x ,xx +,x * check-output-end * * check-error-start