Merge branch 'fixes-for-yt8511-phy-driver'
authorJakub Kicinski <kuba@kernel.org>
Sun, 30 May 2021 21:24:40 +0000 (14:24 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sun, 30 May 2021 21:24:40 +0000 (14:24 -0700)
Peter Geis says:

====================
fixes for yt8511 phy driver

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.
====================

Link: https://lore.kernel.org/r/20210529110556.202531-1-pgwipeout@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge