OSDN Git Service

net: dcb: modify dcb_app_add to take list_head ptr as parameter
authorDaniel Machon <daniel.machon@microchip.com>
Wed, 18 Jan 2023 21:08:25 +0000 (22:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jan 2023 09:33:22 +0000 (09:33 +0000)
commit34b7074d3fba0d3f3ca8c66b6105b7f575e77e98
tree761495d14f5f73374c36d19ca5abed8455226420
parent147c50ac3a4ea4f5ddbcf064e1adcf3aa7e6aa11
net: dcb: modify dcb_app_add to take list_head ptr as parameter

In preparation to DCB rewrite. Modify dcb_app_add to take new struct
list_head * as parameter, to make the used list configurable. This is
done to allow reusing the function for adding rewrite entries to the
rewrite table, which is introduced in a later patch.

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dcb/dcbnl.c