From patchwork Tue Jun 20 07:52:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Coquelin X-Patchwork-Id: 128826 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 97BEB42D04; Tue, 20 Jun 2023 09:53:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9747242D17; Tue, 20 Jun 2023 09:53:09 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 4F33642C4D for ; Tue, 20 Jun 2023 09:53:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1687247584; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=e138NHBx8JM3R1rpjVkfhfDaZi/mXuJlqHHetdkNw0Y=; b=JfKZkUW0HNUzyEdSxS4fO5yMkTxEIT9YOiQP6sw3gEEpGvPChucwO0aUF4cPaRF2eNSh3s GdnCMoasWg4ZuJh1nCAacn2OdtDj0mE6+zxuGmJ2cai/QP72LRtb3b31Nl+lGHpNG3rdWu cc8CqqXbbGIcf9Q76g2OIrZhVCpnSkE= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-655-4_5M9MjnPtS2iGSukkk7ZQ-1; Tue, 20 Jun 2023 03:52:58 -0400 X-MC-Unique: 4_5M9MjnPtS2iGSukkk7ZQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4F4BF85A58A; Tue, 20 Jun 2023 07:52:58 +0000 (UTC) Received: from max-t490s.redhat.com (unknown [10.39.208.22]) by smtp.corp.redhat.com (Postfix) with ESMTP id 785A4207B2BC; Tue, 20 Jun 2023 07:52:56 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, kai.ji@intel.com, g.singh@nxp.com, hemant.agrawal@nxp.com, pablo.de.lara.guarch@intel.com, fanzhang.oss@gmail.com, roretzla@linux.microsoft.com Cc: Maxime Coquelin , stable@dpdk.org Subject: [PATCH v2 1/6] crypto/qat: fix sym device prototype Date: Tue, 20 Jun 2023 09:52:46 +0200 Message-ID: <20230620075251.103491-2-maxime.coquelin@redhat.com> In-Reply-To: <20230620075251.103491-1-maxime.coquelin@redhat.com> References: <20230620075251.103491-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org qat_dev_cmd_param parameter of qat_sym_dev_create() was wrongly marked as unused, this patch fixes it. Fixes: fb3b9f492205 ("crypto/qat: rework burst data path") Cc: stable@dpdk.org Acked-by: Tyler Retzlaff Acked-by: Fan Zhang Signed-off-by: Maxime Coquelin --- drivers/crypto/qat/qat_sym.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/qat/qat_sym.c b/drivers/crypto/qat/qat_sym.c index 345c845325..506a80419a 100644 --- a/drivers/crypto/qat/qat_sym.c +++ b/drivers/crypto/qat/qat_sym.c @@ -179,7 +179,7 @@ qat_sym_dequeue_burst(void *qp, struct rte_crypto_op **ops, int qat_sym_dev_create(struct qat_pci_device *qat_pci_dev, - struct qat_dev_cmd_param *qat_dev_cmd_param __rte_unused) + struct qat_dev_cmd_param *qat_dev_cmd_param) { int i = 0, ret = 0; uint16_t slice_map = 0;