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:
parent
6f6f2268ba
commit
fff3aa2723
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue