From 28a5c88043c80a38040abde957fbe1755b796912 Mon Sep 17 00:00:00 2001 From: Sam Protsenko Date: Fri, 13 Jul 2018 16:35:47 +0300 Subject: dfu: Provide more verbose error message It might be useful for user to see some human-readable root cause message in addition to "configuration failed" message, so that the issue can be fixed quickly. Signed-off-by: Sam Protsenko --- drivers/dfu/dfu.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/dfu') diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c index 5b9abd685d..318949529b 100644 --- a/drivers/dfu/dfu.c +++ b/drivers/dfu/dfu.c @@ -71,6 +71,7 @@ int dfu_init_env_entities(char *interface, char *devstr) ret = dfu_config_entities(env_bkp, interface, devstr); if (ret) { pr_err("DFU entities configuration failed!\n"); + pr_err("(partition table does not match dfu_alt_info?)\n"); goto done; } -- cgit v1.2.1