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)
commit94f99bcedaea6e1726dc424092a2545ec7a8b95e
tree512636430c4692b8b65f201c81a3e521956ba526
parente291fa1237a74dc4692995a4a598d4818a747191
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