Re: [PATCH net-next] net: usb: sr9700: only store little-endian values in __le16 variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to netdev/net-next.git (main)
by Andrew Lunn <andrew@xxxxxxx>:

On Wed, 16 Oct 2024 15:31:14 +0100 you wrote:
> In sr_mdio_read() the local variable res is used to store both
> little-endian and host byte order values. This prevents Sparse
> from helping us by flagging when endian miss matches occur - the
> detection process hinges on the type of variables matching the
> byte order of values stored in them.
> 
> Address this by adding a new local variable, word, to store little-endian
> values; change the type of res to int, and use it to store host-byte
> order values.
> 
> [...]

Here is the summary with links:
  - [net-next] net: usb: sr9700: only store little-endian values in __le16 variable
    https://git.kernel.org/netdev/net-next/c/4b726103796a

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






[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux