[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <160814640710.4483.7206399434775907995.git-patchwork-notify@kernel.org>
Date: Wed, 16 Dec 2020 19:20:07 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Geoff Levand <geoff@...radead.org>
Cc: davem@...emloft.net, kuba@...nel.org, zbr@...emap.net,
netdev@...r.kernel.org
Subject: Re: [PATCH v2] net/connector: Add const qualifier to cb_id
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Mon, 14 Dec 2020 21:15:47 -0800 you wrote:
> The connector driver never modifies any cb_id passed to it, so add a const
> qualifier to those arguments so callers can declare their struct cb_id as a
> constant object.
>
> Fixes build warnings like these when passing a constant struct cb_id:
>
> warning: passing argument 1 of ‘cn_add_callback’ discards ‘const’ qualifier from pointer target
>
> [...]
Here is the summary with links:
- [v2] net/connector: Add const qualifier to cb_id
https://git.kernel.org/netdev/net/c/c18e68696fdd
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