greybus: manifest: improve print message
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 14 Nov 2014 04:17:39 +0000 (09:47 +0530)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 14 Nov 2014 21:19:16 +0000 (13:19 -0800)
Suggested-by: Alex Elder <elder@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/manifest.c

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