Skip to content
Snippets Groups Projects
Unverified Commit 33cf167c authored by Devendar Gali's avatar Devendar Gali
Browse files

QDMA: Fix compilation issue


Initialized the variable to fix compilation issue
when compiling using TANDEM_BOOT_SUPPROTED.

Signed-off-by: default avatarDevendar Gali <devendar.gali@amd.com>
parent 456de0dd
Branches
No related tags found
No related merge requests found
...@@ -2650,7 +2650,7 @@ ssize_t qdma_batch_request_submit(unsigned long dev_hndl, unsigned long id, ...@@ -2650,7 +2650,7 @@ ssize_t qdma_batch_request_submit(unsigned long dev_hndl, unsigned long id,
int qdma_init_st_ctxt(unsigned long dev_hndl, char *buf, int buflen) int qdma_init_st_ctxt(unsigned long dev_hndl, char *buf, int buflen)
{ {
struct xlnx_dma_dev *xdev = (struct xlnx_dma_dev *)dev_hndl; struct xlnx_dma_dev *xdev = (struct xlnx_dma_dev *)dev_hndl;
int rv; int rv = 0;
/** make sure that input buffer is not empty, else return error */ /** make sure that input buffer is not empty, else return error */
if (!buf || !buflen) { if (!buf || !buflen) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment