]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: b53: Uninitialized variable in b53_adjust_link()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 8 Sep 2018 08:39:25 +0000 (11:39 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Sep 2018 06:00:33 +0000 (23:00 -0700)
commit9378e6ed4ff32c6a1cf3ea58cdc88cd4a32ebdc7
treed4c1b3dea9c152f408d44fc2b55a0ad35e3441e1
parent25c7ae561876b8d3364be7f8b75ab6eafdca4cbe
net: dsa: b53: Uninitialized variable in b53_adjust_link()

The "pause" variable is only initialized on BCM5301x.

Fixes: 812102ebc888 ("net: dsa: b53: Add helper to set link parameters")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_common.c