]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-pci-phy: prevent use of uninitialized variable
authorAntti Keränen <detegr@gmail.com>
Thu, 4 Apr 2019 12:44:17 +0000 (15:44 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Apr 2019 11:44:30 +0000 (13:44 +0200)
commit94cd17c39790b27099038367b5dde6579110895d
tree512636430c4692b8b65f201c81a3e521956ba526
parentefaee914885eae6315db9b5791869c0fdc56b422
staging: mt7621-pci-phy: prevent use of uninitialized variable

Do not use uninitialized variable 'port' when printing an error message

Signed-off-by: Antti Keränen <detegr@gmail.com>
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c