summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/display
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2022-01-15 09:49:18 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-27 09:19:55 +0100
commit810d3fac215df89acadbed092f5ccaee59dec751 (patch)
tree36a0fd7a0a6e74aab2f62a89e25cc3c9d76032d5 /Documentation/devicetree/bindings/display
parente81d42e5445a6c7b709d18852903a6faf8183276 (diff)
net: ethernet: mtk_eth_soc: fix error checking in mtk_mac_config()
commit 214b3369ab9b0a6f28d6c970220c209417edbc65 upstream. Clang static analysis reports this problem mtk_eth_soc.c:394:7: warning: Branch condition evaluates to a garbage value if (err) ^~~ err is not initialized and only conditionally set. So intitialize err. Fixes: 7e538372694b ("net: ethernet: mediatek: Re-add support SGMII") Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/display')
0 files changed, 0 insertions, 0 deletions