Delete unreachable code in am65_cpsw_init_cpts() function, which was
Reported-by: Leon Romanovsky <[email protected]>
at:
https://lore.kernel.org/r/Y8aHwSnVK9+sAb24@unreal
Remove the devm action associated with am65_cpts_release() and invoke the
function directly on the cleanup and exit paths.
Changes from v4:
1. Rebase series on net-next commit: cff9b79e9ad5
2. Collect Reviewed-by tags from Leon Romanovsky, Tony Nguyen and
Roger Quadros for all patches in the series.
Changes from v3:
1. Rebase patch 2/2 on net-next commit: cff9b79e9ad5
2. Collect Reviewed-by tags from Leon Romanovsky, Tony Nguyen and
Roger Quadros for patch 2/2.
Changes from v2:
1. Drop Reviewed-by tag from Roger Quadros.
2. Add cleanup patch for deleting unreachable error handling code in
am65_cpsw_init_cpts().
3. Drop am65_cpsw_cpts_cleanup() function and directly invoke
am65_cpts_release().
Changes from v1:
1. Fix the build issue when "CONFIG_TI_K3_AM65_CPTS" is not set. This
error was reported by kernel test robot <[email protected]> at:
https://lore.kernel.org/r/[email protected]/
2. Collect Reviewed-by tag from Roger Quadros.
v4:
https://lore.kernel.org/r/[email protected]/
v3:
https://lore.kernel.org/r/[email protected]/
v2:
https://lore.kernel.org/r/[email protected]/
v1:
https://lore.kernel.org/r/[email protected]/
Siddharth Vadapalli (2):
net: ethernet: ti: am65-cpsw: Delete unreachable error handling code
net: ethernet: ti: am65-cpsw/cpts: Fix CPTS release action
drivers/net/ethernet/ti/am65-cpsw-nuss.c | 7 ++-----
drivers/net/ethernet/ti/am65-cpts.c | 15 +++++----------
drivers/net/ethernet/ti/am65-cpts.h | 5 +++++
3 files changed, 12 insertions(+), 15 deletions(-)
--
2.25.1
Hello:
This series was applied to netdev/net-next.git (master)
by Paolo Abeni <[email protected]>:
On Fri, 20 Jan 2023 12:37:29 +0530 you wrote:
> Delete unreachable code in am65_cpsw_init_cpts() function, which was
> Reported-by: Leon Romanovsky <[email protected]>
> at:
> https://lore.kernel.org/r/Y8aHwSnVK9+sAb24@unreal
>
> Remove the devm action associated with am65_cpts_release() and invoke the
> function directly on the cleanup and exit paths.
>
> [...]
Here is the summary with links:
- [net-next,v5,1/2] net: ethernet: ti: am65-cpsw: Delete unreachable error handling code
https://git.kernel.org/netdev/net-next/c/0a974b1fff7f
- [net-next,v5,2/2] net: ethernet: ti: am65-cpsw/cpts: Fix CPTS release action
https://git.kernel.org/netdev/net-next/c/4ad8766cd398
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html