greybus: Revert "manifest: improve print message"
authorGreg Kroah-Hartman <greg@kroah.com>
Fri, 14 Nov 2014 22:37:32 +0000 (14:37 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 14 Nov 2014 22:37:32 +0000 (14:37 -0800)
This reverts commit b8ba855506906de71df5b12b50cdbbf7259a930c.

needed to revert an older change.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/manifest.c

index 4b85c535397833ab6e0dd04e09cf332997dd11b6..7b0621db0a09b9f4e6d83198d6bea1c4a7677a76 100644 (file)
@@ -379,7 +379,8 @@ bool gb_manifest_parse(struct gb_module *gmod, void *data, size_t size)
 
                if (is_module) {
                        if (++found > 1) {
-                               pr_err("multiple module descriptors found in manifest\n");
+                               pr_err("manifest must have 1 module descriptor (%u found)\n",
+                                       found);
                                result = false;
                                goto out;
                        } else {