diff options
author | Jiri Pirko <jiri@mellanox.com> | 2016-04-08 19:12:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-08 15:40:08 -0400 |
commit | 1fc2257e837f86c2688fdcc5c8810b73c133794d (patch) | |
tree | 83ad768f616aac1b0e5e9f0e2c9f09dbdfcdc7d6 /kernel/jump_label.c | |
parent | 67b5b21f389502c3fb18b46d4fa9d02c38982fce (diff) |
devlink: share user_ptr pointer for both devlink and devlink_port
Ptr to devlink structure can be easily obtained from
devlink_port->devlink. So share user_ptr[0] pointer for both and leave
user_ptr[1] free for other users.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/jump_label.c')
0 files changed, 0 insertions, 0 deletions