Re: [PATCH] net: mscc: ocelot: remove incompatible prototypes

From: patchwork-bot+netdevbpf
Date: Wed Apr 19 2023 - 00:50:27 EST


Hello:

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

On Mon, 17 Apr 2023 22:55:25 +0200 you wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> The types for the register argument changed recently, but there are
> still incompatible prototypes that got left behind, and gcc-13 warns
> about these:
>
> In file included from drivers/net/ethernet/mscc/ocelot.c:13:
> drivers/net/ethernet/mscc/ocelot.h:97:5: error: conflicting types for 'ocelot_port_readl' due to enum/integer mismatch; have 'u32(struct ocelot_port *, u32)' {aka 'unsigned int(struct ocelot_port *, unsigned int)'} [-Werror=enum-int-mismatch]
> 97 | u32 ocelot_port_readl(struct ocelot_port *port, u32 reg);
> | ^~~~~~~~~~~~~~~~~
>
> [...]

Here is the summary with links:
- net: mscc: ocelot: remove incompatible prototypes
https://git.kernel.org/netdev/net-next/c/33d74c8ff5ce

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