commit | 9fc3e4dc67fde953fd26adb3cea8f92597810b64 | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | Thu May 11 22:11:29 2017 -0500 |
committer | David S. Miller <davem@davemloft.net> | Fri May 12 12:14:40 2017 -0400 |
tree | 0caa6782bf5c84ed852c9d1b637b8f994bb74cb1 | |
parent | dbc2b5e9a09e9a6664679a667ff81cff6e5f2641 [diff] |
net: dsa: mv88e6xxx: add default case to switch Add default case to switch in order to avoid any chance of using an uninitialized variable _low_, in case s->type does not match any of the listed case values. Addresses-Coverity-ID: 1398130 Suggested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net>