devlink: Add extack for eswitch operations
[sfrench/cifs-2.6.git] / drivers / net / ethernet / cavium / liquidio / lio_main.c
index 9d70e5c6157ff480d2263dd94368fe92a46620bc..3d24133e5e495cd254d5c913835b8e00738e937e 100644 (file)
@@ -3144,7 +3144,8 @@ liquidio_eswitch_mode_get(struct devlink *devlink, u16 *mode)
 }
 
 static int
-liquidio_eswitch_mode_set(struct devlink *devlink, u16 mode)
+liquidio_eswitch_mode_set(struct devlink *devlink, u16 mode,
+                         struct netlink_ext_ack *extack)
 {
        struct lio_devlink_priv *priv;
        struct octeon_device *oct;