aboutsummaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>2016-02-09 13:45:47 +0200
committerIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>2016-02-10 15:41:26 +0200
commitc171cee0a969721911137a350524352661243ad9 (patch)
tree2937f086db2e456965cc90ad6fbeda8f96d9ff7d /platform
parent4d40cefb7f364870deed351d75516d145c6d0106 (diff)
linux-ks2: packet: add missed initialization for desc
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Diffstat (limited to 'platform')
-rw-r--r--platform/linux-keystone2/odp_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linux-keystone2/odp_packet.c b/platform/linux-keystone2/odp_packet.c
index f395ebd5..13edf77b 100644
--- a/platform/linux-keystone2/odp_packet.c
+++ b/platform/linux-keystone2/odp_packet.c
@@ -25,7 +25,7 @@
static Cppi_HostDesc *alloc_buffers(Qmss_QueueHnd queue, uint32_t len)
{
- Cppi_HostDesc *desc, *first_desc = NULL, *prev_desc = NULL;
+ Cppi_HostDesc *desc = NULL, *first_desc = NULL, *prev_desc = NULL;
uint32_t len_remain = len;
while (len_remain) {