Skip to content

Commit

Permalink
mcap: linux: Improve error info..
Browse files Browse the repository at this point in the history
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 <appanad@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
  • Loading branch information
kedareswararao authored and NavaKishoreManne committed Nov 23, 2015
1 parent 8cbd645 commit 8826f30
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mcap/linux/mcap_lib.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8826f30

Please sign in to comment.