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 <appanad@xilinx.com>
This commit is contained in:
Kedareswara rao Appana 2015-11-18 15:50:06 +05:30 committed by Nava kishore Manne
parent 6f6f2268ba
commit fff3aa2723

View file

@ -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;
}