Geoff Levand c18e68696f net/connector: Add const qualifier to cb_id
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 <geoff@infradead.org>
Link: https://lore.kernel.org/r/a9e49c9e-67fa-16e7-0a6b-72f6bd30c58a@infradead.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-12-16 11:06:49 -08:00
..
2020-10-24 12:46:42 -07:00
2020-10-23 13:56:34 -07:00
2020-11-18 11:51:58 +01:00
2020-11-02 11:31:00 +09:00
2020-12-15 13:22:29 -08:00
2020-12-07 08:35:21 -07:00
2020-12-15 13:22:29 -08:00
2020-11-06 17:02:43 -08:00
2020-10-14 16:19:42 -07:00
2020-12-15 13:22:29 -08:00