mbox series

[v3,0/2] fixes for yt8511 phy driver

Message ID 20210529110556.202531-1-pgwipeout@gmail.com
Headers show
Series fixes for yt8511 phy driver | expand

Message

Peter Geis May 29, 2021, 11:05 a.m. UTC
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.

Changelog:
V3:
- fix fixes tag hash

V2:
- fix variable order
- add Andrew Lunn's reviewed-by tags

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(-)

Comments

patchwork-bot+netdevbpf@kernel.org May 30, 2021, 9:30 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Sat, 29 May 2021 07:05:54 -0400 you wrote:
> 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.

> 

> [...]


Here is the summary with links:
  - [v3,1/2] net: phy: fix yt8511 clang uninitialized variable warning
    https://git.kernel.org/netdev/net-next/c/546d6bad18c0
  - [v3,2/2] net: phy: abort loading yt8511 driver in unsupported modes
    https://git.kernel.org/netdev/net-next/c/0cc8bddb5b06

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html