2022-06-04 14:28:30

by Hawkins, Nick

[permalink] [raw]
Subject: RE: mainline build failure due to 6b47441bed49 ("watchdog: hpe-wdt: Introduce HPE GXP Watchdog")

> 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?

-Nick


2022-06-05 16:25:41

by Guenter Roeck

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

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