Re: mainline build failure due to 6b47441bed49 ("watchdog: hpe-wdt: Introduce HPE GXP Watchdog")

From: Guenter Roeck
Date: Fri Jun 03 2022 - 11:51:59 EST


On 6/3/22 08:29, Hawkins, Nick wrote:
I sent a patch fixing the problem a minute ago.

Thank you for correcting this. I had the compiler set to W=1, is there another option I should be using to catch errors like this?


arm:allmodconfig reproduces the problem. I had seen it as well,
which is why I sent a fix. The key is to enable -Werror
(CONFIG_WERROR=y), not W=1.

Guenter