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: 
 <170791562762.13263.17726811271145661649.git-patchwork-notify@kernel.org>
Date: Wed, 14 Feb 2024 13:00:27 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Arnd Bergmann <arnd@...nel.org>
Cc: kuba@...nel.org, arnd@...db.de, davem@...emloft.net, edumazet@...gle.com,
 pabeni@...hat.com, nathan@...nel.org, ndesaulniers@...gle.com,
 morbo@...gle.com, justinstitt@...gle.com, richardcochran@...il.com,
 grygorii.strashko@...com, netdev@...r.kernel.org,
 linux-kernel@...r.kernel.org, llvm@...ts.linux.dev
Subject: Re: [PATCH] ethernet: cpts: fix function pointer cast warnings

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:

On Tue, 13 Feb 2024 11:16:34 +0100 you wrote:
> From: Arnd Bergmann <arnd@...db.de>
> 
> clang-16 warns about the mismatched prototypes for the devm_* callbacks:
> 
> drivers/net/ethernet/ti/cpts.c:691:12: error: cast from 'void (*)(struct clk_hw *)' to 'void (*)(void *)' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
>   691 |                                        (void(*)(void *))clk_hw_unregister_mux,
>       |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> include/linux/device.h:406:34: note: expanded from macro 'devm_add_action_or_reset'
>   406 |         __devm_add_action_or_reset(dev, action, data, #action)
>       |                                         ^~~~~~
> drivers/net/ethernet/ti/cpts.c:703:12: error: cast from 'void (*)(struct device_node *)' to 'void (*)(void *)' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
>   703 |                                        (void(*)(void *))of_clk_del_provider,
>       |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> include/linux/device.h:406:34: note: expanded from macro 'devm_add_action_or_reset'
>   406 |         __devm_add_action_or_reset(dev, action, data, #action)
> 
> [...]

Here is the summary with links:
  - ethernet: cpts: fix function pointer cast warnings
    https://git.kernel.org/netdev/net/c/9b23fceb4158

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