Re: [PATCH] pinctrl: aspeed: Wrap -Woverride-init with cc-option
From: Joel Stanley <joel@jms.id.au>
Date: 2018-12-11 00:16:41
Also in:
linux-aspeed, linux-gpio, lkml
From: Joel Stanley <joel@jms.id.au>
Date: 2018-12-11 00:16:41
Also in:
linux-aspeed, linux-gpio, lkml
On Tue, 11 Dec 2018 at 10:40, Andrew Jeffery [off-list ref] wrote:
On Tue, 11 Dec 2018, at 10:35, Nathan Chancellor wrote:quoted
Clang does not support this option: warning: unknown warning option '-Woverride-init'; did you mean '-Woverride-module'? [-Wunknown-warning-option] 1 warning generated. Signed-off-by: Nathan Chancellor <redacted>Acked-by: Andrew Jeffery <redacted>
Thanks Nathan. Andrew explained to me that this warning helps find bugs when developing the complicated (some would say crazy) set of macros that this pinctrl driver uses. It would be good to have this warning available in clang. Do we have a clang issue opened for that? Acked-by: Joel Stanley <joel@jms.id.au> Cheers, Joel _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel