Re: [PATCH] Illustration of warning explosion silliness

From: Jeff Garzik
Date: Thu Sep 28 2006 - 19:18:52 EST


Andrew Morton wrote:
There, I feel better now. If you want to see the other warnings, set
CONFIG_ENABLE_MUST_CHECK=n.

While Googling around for Hobson's Choice[1], I realized that we are presented with the utterly apropos Morton's Fork:

http://en.wikipedia.org/wiki/Morton's_Fork

With CONFIG_ENABLE_MUST_CHECK warning explosion, we must choose between seeing warnings in our own code, but missing __must_check bugs, and seeing all the __must_check bugs but obscuring our own day-to-day devel problems.

In the future, I would hope that it would be reasonable to merge a feature like this along with the cleanups that avoid a warning explosion.

Jeff


[1] http://en.wikipedia.org/wiki/Hobson's_choice

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/