lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: 
 <176291282249.3632748.2889753579213224698.git-patchwork-notify@kernel.org>
Date: Wed, 12 Nov 2025 02:00:22 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Nathan Chancellor <nathan@...nel.org>
Cc: andrew+netdev@...n.ch, davem@...emloft.net, edumazet@...gle.com,
 kuba@...nel.org, pabeni@...hat.com, nick.desaulniers+lkml@...il.com,
 morbo@...gle.com, justinstitt@...gle.com, vadim.fedorenko@...ux.dev,
 kory.maincent@...tlin.com, netdev@...r.kernel.org, llvm@...ts.linux.dev,
 patches@...ts.linux.dev
Subject: Re: [PATCH net-next v2] net: netcp: ethss: Fix type of first
 parameter
 in hwtstamp stubs

Hello:

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

On Mon, 10 Nov 2025 13:55:34 -0700 you wrote:
> When building without CONFIG_TI_CPTS, there are a series of errors from
> -Wincompatible-pointer-types:
> 
>   drivers/net/ethernet/ti/netcp_ethss.c:3831:27: error: initialization of 'int (*)(void *, struct kernel_hwtstamp_config *)' from incompatible pointer type 'int (*)(struct gbe_intf *, struct kernel_hwtstamp_config *)' [-Wincompatible-pointer-types]
>    3831 |         .hwtstamp_get   = gbe_hwtstamp_get,
>         |                           ^~~~~~~~~~~~~~~~
>   drivers/net/ethernet/ti/netcp_ethss.c:3831:27: note: (near initialization for 'gbe_module.hwtstamp_get')
>   drivers/net/ethernet/ti/netcp_ethss.c:2758:19: note: 'gbe_hwtstamp_get' declared here
>    2758 | static inline int gbe_hwtstamp_get(struct gbe_intf *gbe_intf,
>         |                   ^~~~~~~~~~~~~~~~
>   drivers/net/ethernet/ti/netcp_ethss.c:3832:27: error: initialization of 'int (*)(void *, struct kernel_hwtstamp_config *, struct netlink_ext_ack *)' from incompatible pointer type 'int (*)(struct gbe_intf *, struct kernel_hwtstamp_config *, struct netlink_ext_ack *)' [-Wincompatible-pointer-types]
>    3832 |         .hwtstamp_set   = gbe_hwtstamp_set,
>         |                           ^~~~~~~~~~~~~~~~
>   drivers/net/ethernet/ti/netcp_ethss.c:3832:27: note: (near initialization for 'gbe_module.hwtstamp_set')
>   drivers/net/ethernet/ti/netcp_ethss.c:2764:19: note: 'gbe_hwtstamp_set' declared here
>    2764 | static inline int gbe_hwtstamp_set(struct gbe_intf *gbe_intf,
>         |                   ^~~~~~~~~~~~~~~~
> 
> [...]

Here is the summary with links:
  - [net-next,v2] net: netcp: ethss: Fix type of first parameter in hwtstamp stubs
    https://git.kernel.org/netdev/net-next/c/34bff6f03c13

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



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ