From 219871e25270bcb8082a98264c48b78725a74335 Mon Sep 17 00:00:00 2001 From: Viresh Kumar Date: Fri, 14 Nov 2014 09:47:39 +0530 Subject: [PATCH] greybus: manifest: improve print message Suggested-by: Alex Elder Signed-off-by: Viresh Kumar Reviewed-by: Alex Elder Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/manifest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/greybus/manifest.c b/drivers/staging/greybus/manifest.c index 6b2c5ee03458..d1357a2e64d7 100644 --- a/drivers/staging/greybus/manifest.c +++ b/drivers/staging/greybus/manifest.c @@ -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 { -- 2.20.1