net: phy: motorcomm: uninitialized variables in yt8531_link_change_notify()
authorDan Carpenter <error27@gmail.com>
Wed, 15 Feb 2023 04:21:47 +0000 (07:21 +0300)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 24 Jul 2023 23:24:51 +0000 (08:24 +0900)
commit352941f8d53e32c579b9b7292efc94cadb8c4a94
tree45867831c7377d04096579eb48ddc821dadd4a1b
parent7a41c441f2207006c7f66f10a2d07ab27ff2e3cf
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