lkml.org 
[lkml]   [2022]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] octeon_ep: Remove useless casting value returned by vzalloc to structure
From
Date
Hello:

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

On Mon, 12 Sep 2022 23:03:27 +0100 you wrote:
> coccinelle reports a warning
>
> WARNING: casting value returned by memory allocation
> function to (struct octep_rx_buffer *) is useless.
>
> To fix this the useless cast is removed.
>
> [...]

Here is the summary with links:
- octeon_ep: Remove useless casting value returned by vzalloc to structure
https://git.kernel.org/netdev/net-next/c/ed48cfedf1e2

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


\
 
 \ /
  Last update: 2022-09-20 03:51    [W:1.223 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site