lkml.org 
[lkml]   [2022]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] net: macb: fixup sparse warnings on __be16 ports
From
Date
Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 15 Jul 2022 18:30:09 +0100 you wrote:
> The port fields in the ethool flow structures are defined
> to be __be16 types, so sparse is showing issues where these
> are being passed to htons(). Fix these warnings by passing
> them to be16_to_cpu() instead.
>
> These are being used in netdev_dbg() so should only effect
> anyone doing debug.
>
> [...]

Here is the summary with links:
- [v2] net: macb: fixup sparse warnings on __be16 ports
https://git.kernel.org/netdev/net-next/c/6ee49d629dd6

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


\
 
 \ /
  Last update: 2022-07-19 05:51    [W:0.084 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site