Skip to content
Commit a84a434b authored by Peter Lafreniere's avatar Peter Lafreniere Committed by Jakub Kicinski
Browse files

net: constify some inline functions in sock.h



Despite these inline functions having full visibility to the compiler
at compile time, they still strip const from passed pointers.
This change allows for functions in various network drivers to be marked as
const that could not be marked const before.

Signed-off-by: default avatarPeter Lafreniere <pjlafren@mtu.edu>
Link: https://lore.kernel.org/r/20220606113458.35953-1-pjlafren@mtu.edu


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 17e9157c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment