]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/spdk/dpdk/drivers/compress/zlib/zlib_pmd.c
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / spdk / dpdk / drivers / compress / zlib / zlib_pmd.c
index 5a4d47d4d532eb7f60e4cdc64e77ce237004206b..e39be2ed86a702429e3a80c2a40a3dcc173dcd70 100644 (file)
@@ -7,6 +7,8 @@
 
 #include "zlib_pmd_private.h"
 
+int zlib_logtype_driver;
+
 /** Compute next mbuf in the list, assign data buffer and length,
  *  returns 0 if mbuf is NULL
  */
@@ -30,6 +32,7 @@ process_zlib_deflate(struct rte_comp_op *op, z_stream *strm)
        default:
                op->status = RTE_COMP_OP_STATUS_INVALID_ARGS;
                ZLIB_PMD_ERR("Invalid flush value\n");
+               return;
        }
 
        if (unlikely(!strm)) {