[PATCH] gpio: intel_gpio: Initialise or0 and or1

Tom Rini trini at konsulko.com
Tue Oct 28 18:59:08 CET 2025


On Fri, 25 Jul 2025 13:04:26 +0100, Andrew Goodbody wrote:

> In intel_gpio_set_flags the two variables or0 and or1 may be used
> uninitialised. Correct this by setting initial values in the
> declaration.
> Also there is no need to use '|=' when the initial value is 0 and there
> is only one assignment performed to each variable so just use '='
> instead.
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] gpio: intel_gpio: Initialise or0 and or1
      commit: e8fd262fb3e2c2516610fac6389764e0dbfd98d7
-- 
Tom




More information about the U-Boot mailing list