Hi Lee, > -----Original Message----- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Lee Daly > Sent: Tuesday, January 8, 2019 10:29 AM > To: akhil.go...@nxp.com > Cc: dev@dpdk.org; Varghese, Vipin <vipin.vargh...@intel.com>; Daly, Lee > <lee.d...@intel.com> > Subject: [dpdk-dev] [PATCH v6 1/2] test/compress: add checksum tests
> + > + struct rte_comp_xform *compress_xform = > + rte_malloc(NULL, sizeof(struct rte_comp_xform), 0); > + if (compress_xform == NULL) { > + RTE_LOG(ERR, USER1, "Compress xform could not be > created\n"); test/test/test_compressdev.c:1531:6: error: variable 'decompress_xform' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] if (compress_xform == NULL) { ^~~~~~~~~~~~~~~~~~~~~~ test/test/test_compressdev.c:1661:11: note: uninitialized use occurs here rte_free(decompress_xform); ^~~~~~~~~~~~~~~~ There are clang compilation issues iwith this patch. Could you fix them? Thanks, Pablo