On Sat, 12 Dec 2020 18:47:01 -0800 Geoff Levand 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 > > Signed-off-by: Geoff Levand <ge...@infradead.org>
This does not apply to net-next. Please rebase against: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/