All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] fixes for yt8511 phy driver
@ 2021-05-25 12:26 Peter Geis
  2021-05-25 12:26 ` [PATCH 1/2] net: phy: fix yt8511 clang uninitialized variable warning Peter Geis
  2021-05-25 12:26 ` [PATCH 2/2] net: phy: abort loading yt8511 driver in unsupported modes Peter Geis
  0 siblings, 2 replies; 7+ messages in thread
From: Peter Geis @ 2021-05-25 12:26 UTC (permalink / raw)
  To: Andrew Lunn, Heiner Kallweit, Russell King, David S . Miller,
	Jakub Kicinski, Nathan Chancellor
  Cc: netdev, linux-kernel, clang-built-linux, Peter Geis

The Intel clang bot caught a few uninitialized variables in the new
Motorcomm driver. While investigating the issue, it was found that the
driver would have unintended effects when used in an unsupported mode.

Fixed the uninitialized ret variable and abort loading the driver in
unsupported modes.

Thank you to the Intel clang bot for catching these.

Peter Geis (2):
  net: phy: fix yt8511 clang uninitialized variable warning
  net: phy: abort loading yt8511 driver in unsupported modes

 drivers/net/phy/motorcomm.c | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-25 13:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25 12:26 [PATCH 0/2] fixes for yt8511 phy driver Peter Geis
2021-05-25 12:26 ` [PATCH 1/2] net: phy: fix yt8511 clang uninitialized variable warning Peter Geis
2021-05-25 13:01   ` Andrew Lunn
2021-05-25 13:11     ` Peter Geis
2021-05-25 13:59       ` Andrew Lunn
2021-05-25 12:26 ` [PATCH 2/2] net: phy: abort loading yt8511 driver in unsupported modes Peter Geis
2021-05-25 13:03   ` Andrew Lunn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.