diff options
author | Ameer Hamza <amhamza.mgc@gmail.com> | 2021-12-09 07:15:52 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-09 18:46:27 +0300 |
commit | 0416e7af2369b0d12a28dea8d30b104df9a6953d (patch) | |
tree | 7eb86e028aa630ce9192f801648447b408fed91a /drivers/virtio | |
parent | 8d6b32aafc44e92117591f772726fb4744b455a5 (diff) | |
download | linux-0416e7af2369b0d12a28dea8d30b104df9a6953d.tar.xz |
net: dsa: mv88e6xxx: error handling for serdes_power functions
Added default case to handle undefined cmode scenario in
mv88e6393x_serdes_power() and mv88e6393x_serdes_power() methods.
Addresses-Coverity: 1494644 ("Uninitialized scalar variable")
Fixes: 21635d9203e1c (net: dsa: mv88e6xxx: Fix application of erratum 4.8 for 88E6393X)
Reviewed-by: Marek BehĂșn <kabel@kernel.org>
Signed-off-by: Ameer Hamza <amhamza.mgc@gmail.com>
Link: https://lore.kernel.org/r/20211209041552.9810-1-amhamza.mgc@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions