greybus: manifest: fix the placement of arguments to pr_err
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Thu, 29 Oct 2015 16:58:24 +0000 (16:58 +0000)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 2 Nov 2015 19:25:07 +0000 (11:25 -0800)
We're one character out here in the placement of the inputs to pr_err().
Later patches show this up when pushing through checkpatch.pl. This patch
fixes by moving the offending variables one character left.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/manifest.c

index 2264ec5914f927a753a6db5329d1ebb60b0002ab..3e61b6655a5f958a2568b17605cba9d8277df01f 100644 (file)
@@ -467,8 +467,8 @@ bool gb_manifest_parse(struct gb_interface *intf, void *data, size_t size)
        /* Validate major/minor number */
        if (header->version_major > GREYBUS_VERSION_MAJOR) {
                pr_err("manifest version too new (%hhu.%hhu > %hhu.%hhu)\n",
-                       header->version_major, header->version_minor,
-                       GREYBUS_VERSION_MAJOR, GREYBUS_VERSION_MINOR);
+                      header->version_major, header->version_minor,
+                      GREYBUS_VERSION_MAJOR, GREYBUS_VERSION_MINOR);
                return false;
        }