diff options
| author | Andrew Goodbody <[email protected]> | 2025-07-25 13:04:26 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-10-28 10:32:59 -0600 |
| commit | e8fd262fb3e2c2516610fac6389764e0dbfd98d7 (patch) | |
| tree | 0248db2312c15a9c8506b8a6655dec2dacdb85c2 /include | |
| parent | 23987e10905146def3ab61e55ec912c6e742efdc (diff) | |
gpio: intel_gpio: Initialise or0 and or1
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.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
