Re: [PATCH v2] net/connector: Add const qualifier to cb_id

2020-12-16 Thread patchwork-bot+netdevbpf
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. > > Fix

[PATCH v2] net/connector: Add const qualifier to cb_id

2020-12-14 Thread Geoff Levand
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