devlink: whitespace cleanup
Break long lines
diff --git a/devlink/devlink.c b/devlink/devlink.c
index d69fc6b..e91dc50 100644
--- a/devlink/devlink.c
+++ b/devlink/devlink.c
@@ -669,7 +669,8 @@
return 0;
}
-static int eswitch_mode_get(const char *typestr, enum devlink_eswitch_mode *p_mode)
+static int eswitch_mode_get(const char *typestr,
+ enum devlink_eswitch_mode *p_mode)
{
if (strcmp(typestr, ESWITCH_MODE_LEGACY) == 0) {
*p_mode = DEVLINK_ESWITCH_MODE_LEGACY;
@@ -794,6 +795,7 @@
} else if (dl_argv_match(dl, "mode") &&
(o_all & DL_OPT_ESWITCH_MODE)) {
const char *typestr;
+
dl_arg_inc(dl);
err = dl_argv_str(dl, &typestr);
if (err)
@@ -856,7 +858,8 @@
return -EINVAL;
}
- if ((o_required & DL_OPT_ESWITCH_MODE) && !(o_found & DL_OPT_ESWITCH_MODE)) {
+ if ((o_required & DL_OPT_ESWITCH_MODE) &&
+ !(o_found & DL_OPT_ESWITCH_MODE)) {
pr_err("E-Switch mode option expected.\n");
return -EINVAL;
}