From fff3aa272373e54930e16605de93dd02605febd4 Mon Sep 17 00:00:00 2001 From: Kedareswara rao Appana Date: Wed, 18 Nov 2015 15:50:06 +0530 Subject: [PATCH] mcap: linux: Improve error info.. This patch updates the error information message in the driver so that it will error out with detailed info so that it will be clear to the users incase of path to bitstreams is incorrect. Signed-off-by: Kedareswara rao Appana --- mcap/linux/mcap_lib.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mcap/linux/mcap_lib.c b/mcap/linux/mcap_lib.c index f7766123..cd4fdff3 100644 --- a/mcap/linux/mcap_lib.c +++ b/mcap/linux/mcap_lib.c @@ -635,7 +635,10 @@ int MCapConfigureFPGA(struct mcap_dev *mdev, char *file_path, u32 bitfile_type) bswap = 1; } else { - pr_err("Unknown File Format\n"); + pr_err("Unknown File Format.. This may be"); + pr_err(" due to .bit/.bin/.rbt files does not exist at the."); + pr_err(" specified location, Please cross check the"); + pr_err(" path is correct or not\n"); goto free_resources; }