]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: Fix missing { } around two statements in an if statement
authorColin Ian King <colin.king@canonical.com>
Wed, 9 Jun 2021 17:05:12 +0000 (18:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jun 2021 22:31:23 +0000 (15:31 -0700)
commit1d5df363db0ae3c23738f5e205769b5dd1cc9ba8
tree016f3fa60216a0a990eaee51d557a5f2638dff5c
parent19c40d5df1464f9290e7ab93862d998843e1c572
net: stmmac: Fix missing { } around two statements in an if statement

There are missing { } around a block of code on an if statement. Fix this
by adding them in.

Addresses-Coverity: ("Nesting level does not match indentation")
Fixes: a646110c606c ("net: stmmac: enable Intel mGbE 2.5Gbps link speed")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c