net: phy: motorcomm: uninitialized variables in yt8531_link_change_notify() 05/291105/2
authorDan Carpenter <error27@gmail.com>
Wed, 15 Feb 2023 04:21:47 +0000 (07:21 +0300)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 10 Apr 2023 04:15:27 +0000 (13:15 +0900)
commit96d239c460ed2b7f7c359b30449b5d9547a4fd03
treeaaa04b0faaadd81c7b5111975fa3595843fc575b
parent61798109146566953101c5f33e6d8736ed39c7f7
net: phy: motorcomm: uninitialized variables in yt8531_link_change_notify()

These booleans are never set to false, but are just used without being
initialized.

Fixes: 4ac94f728a58 ("net: phy: Add driver for Motorcomm yt8531 gigabit ethernet phy")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Frank Sae <Frank.Sae@motor-comm.com>
Link: https://lore.kernel.org/r/Y+xd2yJet2ImHLoQ@kili
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I1b34e53290b0e99aa7d2e5c7269625cdc6a779cb
drivers/net/phy/motorcomm.c