Simple fixes which require no deep knowledge of the code.

Cc: Jiri Pirko <j...@resnulli.us>
Signed-off-by: Andrew Lunn <and...@lunn.ch>
---
 net/switchdev/switchdev.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net/switchdev/switchdev.c b/net/switchdev/switchdev.c
index f25604d68337..865f3e037425 100644
--- a/net/switchdev/switchdev.c
+++ b/net/switchdev/switchdev.c
@@ -304,8 +304,8 @@ static int switchdev_port_obj_add_defer(struct net_device 
*dev,
  *     switchdev_port_obj_add - Add port object
  *
  *     @dev: port device
- *     @id: object ID
  *     @obj: object to add
+ *     @extack: netlink extended ack
  *
  *     Use a 2-phase prepare-commit transaction model to ensure
  *     system is not left in a partially updated state due to
@@ -357,7 +357,6 @@ static int switchdev_port_obj_del_defer(struct net_device 
*dev,
  *     switchdev_port_obj_del - Delete port object
  *
  *     @dev: port device
- *     @id: object ID
  *     @obj: object to delete
  *
  *     rtnl_lock must be held and must not be in atomic section,
-- 
2.27.0.rc2

Reply via email to