Skip to content

Commit

Permalink
2022.1.3 Patch: Ported changes from pull request Xilinx#170 to fix co…
Browse files Browse the repository at this point in the history
…verity issues

2022.1.3 Patch: Ported changes from pull request Xilinx#170 to fix coverity issues
  • Loading branch information
ssangani-xlnx authored and pbannister committed Aug 18, 2024
1 parent 734df55 commit d43aa8f
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
6 changes: 5 additions & 1 deletion QDMA/linux-kernel/RELEASE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RELEASE: 2022.1.2 Patch
RELEASE: 2022.1.3 Patch
=======================

This release is validated for
Expand Down Expand Up @@ -112,6 +112,10 @@ CPM5
----------------------
- Added VF 4K queues support for CPM5 design. This feature is applicable only when corresponding RTL support is added.

2022.1.3 Patch Updates
----------------------
- Ported changes from pull request https://github.com/Xilinx/dma_ip_drivers/pull/170 to fix coverity issues

KNOWN ISSUES:
=============
- CPM5 Only
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2193,7 +2193,7 @@ static int dump_eqdma_cpm5_context(struct qdma_descq_context *queue_context,
int n;
int len = 0;
int rv;
char banner[DEBGFS_LINE_SZ];
char banner[DEBGFS_LINE_SZ] = "";

if (queue_context == NULL) {
qdma_log_error("%s: queue_context is NULL, err:%d\n",
Expand Down Expand Up @@ -2652,7 +2652,7 @@ static int dump_eqdma_cpm5_intr_context(struct qdma_indirect_intr_ctxt
int n;
int len = 0;
int rv;
char banner[DEBGFS_LINE_SZ];
char banner[DEBGFS_LINE_SZ] = "";

eqdma_cpm5_fill_intr_ctxt(intr_ctx);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#define QDMA_VERSION_MAJOR 2022
#define QDMA_VERSION_MINOR 1
#define QDMA_VERSION_PATCH 2
#define QDMA_VERSION_PATCH 3

#define QDMA_VERSION_STR \
__stringify(QDMA_VERSION_MAJOR) "." \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1411,7 +1411,7 @@ static int dump_cpm4_context(struct qdma_descq_context *queue_context,
int n;
int len = 0;
int rv;
char banner[DEBGFS_LINE_SZ];
char banner[DEBGFS_LINE_SZ] = "";

if (queue_context == NULL) {
qdma_log_error("%s: queue_context is NULL, err:%d\n",
Expand Down Expand Up @@ -1925,7 +1925,7 @@ static int dump_cpm4_intr_context(struct qdma_indirect_intr_ctxt *intr_ctx,
int n;
int len = 0;
int rv;
char banner[DEBGFS_LINE_SZ];
char banner[DEBGFS_LINE_SZ] = "";

qdma_cpm4_fill_intr_ctxt(intr_ctx);

Expand Down
2 changes: 1 addition & 1 deletion QDMA/linux-kernel/driver/libqdma/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#define LIBQDMA_VERSION_MAJOR 2022
#define LIBQDMA_VERSION_MINOR 1
#define LIBQDMA_VERSION_PATCH 2
#define LIBQDMA_VERSION_PATCH 3

#define LIBQDMA_VERSION_STR \
__stringify(LIBQDMA_VERSION_MAJOR) "." \
Expand Down
2 changes: 1 addition & 1 deletion QDMA/linux-kernel/driver/src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

#define DRV_MOD_MAJOR 2022
#define DRV_MOD_MINOR 1
#define DRV_MOD_PATCHLEVEL 2
#define DRV_MOD_PATCHLEVEL 3

#define DRV_MODULE_VERSION \
__stringify(DRV_MOD_MAJOR) "." \
Expand Down

0 comments on commit d43aa8f

Please sign in to comment.