summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-07-25 13:04:26 +0100
committerTom Rini <[email protected]>2025-10-28 10:32:59 -0600
commite8fd262fb3e2c2516610fac6389764e0dbfd98d7 (patch)
tree0248db2312c15a9c8506b8a6655dec2dacdb85c2 /include/linux
parent23987e10905146def3ab61e55ec912c6e742efdc (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/linux')
0 files changed, 0 insertions, 0 deletions