diff options
| author | Jakub Kicinski <[email protected]> | 2025-03-24 22:45:29 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-03-25 17:04:49 +0000 |
| commit | e2f81e8f4d0c3109e1a18620c931fe16bfb235ef (patch) | |
| tree | bb535a49237a42552999d343494f712f0a8113d3 /net/core/dev_api.c | |
| parent | net: remove netif_set_real_num_rx_queues() helper for when SYSFS=n (diff) | |
| download | kernel-e2f81e8f4d0c3109e1a18620c931fe16bfb235ef.tar.gz kernel-e2f81e8f4d0c3109e1a18620c931fe16bfb235ef.zip | |
net: constify dev pointer in misc instance lock helpers
lockdep asserts and predicates can operate on const pointers.
In the future this will let us add asserts in functions
which operate on const pointers like dev_get_min_mp_channel_count().
Acked-by: Stanislav Fomichev <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions
