From patchwork Wed Aug 14 09:28:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Wang X-Patchwork-Id: 171247 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp574455ily; Wed, 14 Aug 2019 02:31:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqxCZ/N8QUpf85EUSJ2AYD4cusc2q35RTmfcGQNl1/YXFTjZ78ezRsMgC1xnAQqSYOVBxyEp X-Received: by 2002:a63:5823:: with SMTP id m35mr38894825pgb.329.1565775064352; Wed, 14 Aug 2019 02:31:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565775064; cv=none; d=google.com; s=arc-20160816; b=kWnMeoYZjqnKxH+lBC0zaycUrMVhN1u0CP+HKfNSd1rBGWsdK3BjM6LXtRe63pLPH0 5eXYi2Z+mJi6KkgneoY8r7kFyYfHLV+5lm/i1ilDnlgyQAi608gxOT2Lzx5zqJ8gYISr AwGNx1uZnUmOAgwxUm9y9GqeFlBWzLtkP21Pju2a2plWFy0IeYAGo59hC9gEpa+F83yY a7RwrCHvL+e/tDzWsAp75Swd+imh9vCRQ2c5DVc974aqc5xjXddscJtEX2qasItcaqjG n8Ci/vh6NnDMvHQ/zAi840IJ/bKTTUwLqzQ3a0V8z8X0ZIoJIz86BCLXc7quHW3rTAQH Sw0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=WSikfJ/v+Nmfp4bJWiD9P6drwPfykwnhaOymMqq+6go=; b=VVC5okXzMy5cWE5s01UrbaIx1icQH1Eg6cglH28568dt4Ko6nJdKHE13tMJlduQOqg RkpJJ/3wre2PFTCBOZc3LD9wt1zaUKqeC5bw9zJy/V4RjKPlXvvNs5lI/IJFL7a/D46y YWN6AS4WMYO4MC38YQOGSMz33Nbn/pMgty8jKxN5wmpm2a+1tPC07OTFcrvRafmODwOG P6kx7Fl+w6WJ/WoQTfv0sot0ZsfAC/rUk0n36EsCxhrTwNZth1ZVyqHRVJVgPif+5RUu OT/1M5ZYJjd4GOFXMS0+8xBhHhFVob1VoDoTaI/4Cm488AFBvH6jhWPPffmKwdama6pc rNbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 26si68924188pgs.520.2019.08.14.02.31.04; Wed, 14 Aug 2019 02:31:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727009AbfHNJbD (ORCPT + 28 others); Wed, 14 Aug 2019 05:31:03 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:44626 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726157AbfHNJbA (ORCPT ); Wed, 14 Aug 2019 05:31:00 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 3667EDDEAECF5A81535B; Wed, 14 Aug 2019 17:30:56 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.439.0; Wed, 14 Aug 2019 17:30:49 +0800 From: Zhou Wang To: , CC: , , , Zhou Wang Subject: [PATCH 1/5] crypto: hisilicon - fix kbuild warnings Date: Wed, 14 Aug 2019 17:28:35 +0800 Message-ID: <1565774919-31853-2-git-send-email-wangzhou1@hisilicon.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1565774919-31853-1-git-send-email-wangzhou1@hisilicon.com> References: <1565774919-31853-1-git-send-email-wangzhou1@hisilicon.com> MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix to use proper type of argument for dma_addr_t and size_t. Fixes: 263c9959c937 ("crypto: hisilicon - add queue management driver for HiSilicon QM module") Reported-by: kbuild test robot Signed-off-by: Zhou Wang --- drivers/crypto/hisilicon/qm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.8.1 diff --git a/drivers/crypto/hisilicon/qm.c b/drivers/crypto/hisilicon/qm.c index 363f71b..796fdbf 100644 --- a/drivers/crypto/hisilicon/qm.c +++ b/drivers/crypto/hisilicon/qm.c @@ -347,7 +347,7 @@ static int qm_mb(struct hisi_qm *qm, u8 cmd, dma_addr_t dma_addr, u16 queue, struct qm_mailbox mailbox; int ret = 0; - dev_dbg(&qm->pdev->dev, "QM mailbox request to q%u: %u-%llx\n", queue, + dev_dbg(&qm->pdev->dev, "QM mailbox request to q%u: %u-%pad\n", queue, cmd, dma_addr); mailbox.w0 = cmd | @@ -1137,7 +1137,7 @@ struct hisi_qp *hisi_qm_create_qp(struct hisi_qm *qm, u8 alg_type) goto err_clear_bit; } - dev_dbg(dev, "allocate qp dma buf(va=%pK, dma=%pad, size=%lx)\n", + dev_dbg(dev, "allocate qp dma buf(va=%pK, dma=%pad, size=%zx)\n", qp->qdma.va, &qp->qdma.dma, qp->qdma.size); } @@ -1714,7 +1714,7 @@ int hisi_qm_start(struct hisi_qm *qm) QMC_ALIGN(sizeof(struct qm_cqc) * qm->qp_num); qm->qdma.va = dma_alloc_coherent(dev, qm->qdma.size, &qm->qdma.dma, GFP_KERNEL); - dev_dbg(dev, "allocate qm dma buf(va=%pK, dma=%pad, size=%lx)\n", + dev_dbg(dev, "allocate qm dma buf(va=%pK, dma=%pad, size=%zx)\n", qm->qdma.va, &qm->qdma.dma, qm->qdma.size); if (!qm->qdma.va) return -ENOMEM; From patchwork Wed Aug 14 09:28:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Wang X-Patchwork-Id: 171249 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp574575ily; Wed, 14 Aug 2019 02:31:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/BDzQZpRien3xfoX5ssPsgrCayBPzrZ0Yc2f25Kel7fRPgWhyaqAqIfi3esweVJwFCXKM X-Received: by 2002:a17:902:fe14:: with SMTP id g20mr39347878plj.54.1565775072144; Wed, 14 Aug 2019 02:31:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565775072; cv=none; d=google.com; s=arc-20160816; b=T8LJfXPOe3VB/vyhn7ymOSRpAcYKL/XNT7Ul2WgYkijPorYZRrBu2l4kMaC6McQ073 k+u25zLWcp9CBHONBbMQPMLW7gfwkGPp0JpgG1x+48xZXlB3TuxwrOTOfB1IiMqwP57x 4DtQAKNPOoou3fU/srJEJEMnyWB84MqpKVr6lPX1VdBiu9GDM4GHRYwSZzTcJWOS6T89 SA70j4RBLJ5/X7Gmug5TCvt9Kxe63qg0ndxYEVm/ZZw5Dnqz/tsPqnszjaPtAOYHKOTW hGzxkxrFBRMhMfayFM+Mokeajwmu4OsALPZfWkwo2sY+3lvKsgKN21CZNqtCzgilkAPt WRUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=YCKgdvTKpY5JEEfiEtBy8yJs2xjtOLk9g2hYkuS3ndU=; b=Kkl7x+n+D1B2QviJpD7L65LGUVDXVKIPlXtP+MXvq4wDAbnAH3dZ2ouZZkZjx7gii0 +DE+isaGwnHlZHDtNnejv9gnGP5lOKJubp8EwLyMcZrErqJhdTKHnuBGUDxoD/3ya2BL +syyBbaisvq7GReZ/XELfKoGey4hqLvuTHJxTWb7zy3fDiQsw6/Y198Oyqasa8pGRVeF Izzz+ZXRyhlA1Hn2cD7PSdasCs3yR2qEHYRkAyTeAZGaKRR89YnWvxiERJZMhB0IVGbj ag+uAB4U+TPrvnujWTjauFXs9yjqFxjMVTmABEeH9l/7J5ewjN2FUjL79KU2Imkeg3yh 5Ksg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l1si66918416pff.178.2019.08.14.02.31.11; Wed, 14 Aug 2019 02:31:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727140AbfHNJbH (ORCPT + 28 others); Wed, 14 Aug 2019 05:31:07 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:44662 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727067AbfHNJbE (ORCPT ); Wed, 14 Aug 2019 05:31:04 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 426B721764E76EDA9307; Wed, 14 Aug 2019 17:30:56 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.439.0; Wed, 14 Aug 2019 17:30:49 +0800 From: Zhou Wang To: , CC: , , , Zhou Wang Subject: [PATCH 2/5] crypto: hisilicon - add dependency for CRYPTO_DEV_HISI_ZIP Date: Wed, 14 Aug 2019 17:28:36 +0800 Message-ID: <1565774919-31853-3-git-send-email-wangzhou1@hisilicon.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1565774919-31853-1-git-send-email-wangzhou1@hisilicon.com> References: <1565774919-31853-1-git-send-email-wangzhou1@hisilicon.com> MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add ARM64/PCI/PCI_MSI dependency for CRYPTO_DEV_HISI_ZIP. Fixes: 62c455ca853e ("crypto: hisilicon - add HiSilicon ZIP accelerator support") Reported-by: kbuild test robot Signed-off-by: Zhou Wang --- drivers/crypto/hisilicon/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.8.1 diff --git a/drivers/crypto/hisilicon/Kconfig b/drivers/crypto/hisilicon/Kconfig index 1929317..fa8aa06 100644 --- a/drivers/crypto/hisilicon/Kconfig +++ b/drivers/crypto/hisilicon/Kconfig @@ -30,6 +30,7 @@ config CRYPTO_HISI_SGL config CRYPTO_DEV_HISI_ZIP tristate "Support for HiSilicon ZIP accelerator" + depends on ARM64 && PCI && PCI_MSI select CRYPTO_DEV_HISI_QM select CRYPTO_HISI_SGL select SG_SPLIT From patchwork Wed Aug 14 09:28:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Wang X-Patchwork-Id: 171250 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp574468ily; Wed, 14 Aug 2019 02:31:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqxx802WWQbbwc7Gdd2BgoXASk3KSdb/w2PhkMAPCoH9HlBjTfe/NATmmOFCdiju7nGV7m1x X-Received: by 2002:a17:90a:ec12:: with SMTP id l18mr6063896pjy.6.1565775065871; Wed, 14 Aug 2019 02:31:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565775065; cv=none; d=google.com; s=arc-20160816; b=ALMhadiFdR1k3vbSan2M4NwnN0/iZ3/0uTh2SmSsQm8SEc7XBGBuU6YWWswzElXUwX DXTWIiadUba2Kc8EraWFoxdfvzlXfHkFYFOhs0X9lV49lXtAEzRXG7L0GyDBI6o761T9 184jxVVY4WU/8xZZoOjgp2mYxAIESfcdQp+LZFgUh9Ul4h+VBIVTHG2gHFYSTi2pVP3D ahkKMk0c9SBp0SBRkOwf59JYZ67EpQahybtRPS+Y74btzZYaCQ0TiXW1ocBimlJN2OGB tOeQfaHIss7kZ4J/bb29KzHvRqoyehl6B3CBQwuLr9iAaZtlm48rnEgoPKs0uJFhzYD9 fh6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=Nmj+Twi/YwJC0OwBaLbbSkxGacWNjj7vAWkaGSXFVxA=; b=h2835MQS7TO0/c/tbnnqJ4wX/HDvi5DU+xz8Rc17SeK3T0fwvYXyjI/J2pAT1KZf1J ZxSkDYPqWpMqOIvYObJU15QHYu8d3WKGe666Zml3+FYpGpM9og8LB7s1XfVOS+yw2dfN sLjXbAfRrqt2LYyhnbAk+ybBzWW7dudokcOzCAlAvpyVOuETaaaRpHcqxmGfLX18lQKb y/qaG0UobADJew+obaupMJdct4sycggpXQMhgeFORjTvxfMGg1l1j0f71aiEHHFrhzKI GLqtaM7QA2iQzVJmYZtUwNS+Hh5qNdjDVpV9WYN+xTGuWlR6/O9diequDYIgMCSxWYim WHdQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 26si68924188pgs.520.2019.08.14.02.31.05; Wed, 14 Aug 2019 02:31:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727080AbfHNJbE (ORCPT + 28 others); Wed, 14 Aug 2019 05:31:04 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:44640 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726411AbfHNJa7 (ORCPT ); Wed, 14 Aug 2019 05:30:59 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 3A91F2AB08A1131FE742; Wed, 14 Aug 2019 17:30:56 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.439.0; Wed, 14 Aug 2019 17:30:49 +0800 From: Zhou Wang To: , CC: , , , Zhou Wang Subject: [PATCH 3/5] crypto: hisilicon - init curr_sgl_dma to fix compile warning Date: Wed, 14 Aug 2019 17:28:37 +0800 Message-ID: <1565774919-31853-4-git-send-email-wangzhou1@hisilicon.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1565774919-31853-1-git-send-email-wangzhou1@hisilicon.com> References: <1565774919-31853-1-git-send-email-wangzhou1@hisilicon.com> MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Just init curr_sgl_dma = 0 to avoid compile warning. Fixes: dfed0098ab91 ("crypto: hisilicon - add hardware SGL support") Reported-by: kbuild test robot Signed-off-by: Zhou Wang --- drivers/crypto/hisilicon/sgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.8.1 diff --git a/drivers/crypto/hisilicon/sgl.c b/drivers/crypto/hisilicon/sgl.c index 8ef7679..e083d17 100644 --- a/drivers/crypto/hisilicon/sgl.c +++ b/drivers/crypto/hisilicon/sgl.c @@ -150,7 +150,7 @@ hisi_acc_sg_buf_map_to_hw_sgl(struct device *dev, u32 index, dma_addr_t *hw_sgl_dma) { struct hisi_acc_hw_sgl *curr_hw_sgl; - dma_addr_t curr_sgl_dma; + dma_addr_t curr_sgl_dma = 0; struct acc_hw_sge *curr_hw_sge; struct scatterlist *sg; int sg_n = sg_nents(sgl); From patchwork Wed Aug 14 09:28:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Wang X-Patchwork-Id: 171251 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp574671ily; Wed, 14 Aug 2019 02:31:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqzgYUeB45eLwDXNtjCxvls17uvhn0jGq9LD8b/QdqFBD4/3EU+13kpTlDmIXUpzEvV/AhFp X-Received: by 2002:a17:902:ba8e:: with SMTP id k14mr21239493pls.10.1565775077997; Wed, 14 Aug 2019 02:31:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565775077; cv=none; d=google.com; s=arc-20160816; b=oEnhQq4HEe8PrePnd3iDzIzLnm4GLw9MFg6db1RBGiggucIEgvWNzaeIn0DpSEv3X9 croPWWjFGvV19vylhNkplXiWexSZmAm7PfZ1DqvZIdUN3uymozDoC4vvt5Og1ryUo+j/ 0hpp+/RrjpwuDEmJRGi9su92ESviPiMLyQUrlndo7HrcrjHw8ox/hVxIzeKZipLVAdK8 09DXdvjREESB8mmCNRr2IeKB90QirPWzx5fZi/l060o8w46m29Po/EVC2hEcr3EjPBIX 2PmugR+SJGCSRBXdBBrG2Adr6qZIH4LL9sR3lnqt0JnkdEJwBe7qInsv+su6Bb24jSFO vQwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=pd0xii9ktQ6zwEznzY8vIr2hObA5wAA95hwqrddwi24=; b=mmPJS/HXXS0XtCsYUFZpWc5SPjumhk+JZnEGH2E/n6e7Ln46Le2mI5Sf6r1ezEDpwB xheGENmlE/HRoiZres5ST9FMcvTX8AsCrX22U7fpPXWH5mgJTKWk85kM8804p6A6GZm8 WO0LrZJYQkwtfUQpjwQIbhi8i9C8lHYdB2wB+oYtCA+f7KuClQOPNQZAr98Ilufys6hX 9M63P+ZdKYEc8yES1UTj3MheAM/v0Oj4VWLgYYvEzEgZnfNQlvR3ltTJWLPH+6ECdNlC FCKp6QGmBMV1yRZm1aQON/UFWV2EUiCqw8pzlQJ/xKPLNnSjPaVlCbAZlMhrGvwKI9aA HUug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h19si2978070pfo.152.2019.08.14.02.31.17; Wed, 14 Aug 2019 02:31:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727258AbfHNJbQ (ORCPT + 28 others); Wed, 14 Aug 2019 05:31:16 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:44810 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726990AbfHNJbD (ORCPT ); Wed, 14 Aug 2019 05:31:03 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 46C17AB08D79185D4B96; Wed, 14 Aug 2019 17:31:01 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.439.0; Wed, 14 Aug 2019 17:30:50 +0800 From: Zhou Wang To: , CC: , , , Zhou Wang Subject: [PATCH 4/5] crypto: hisilicon - add missing single_release Date: Wed, 14 Aug 2019 17:28:38 +0800 Message-ID: <1565774919-31853-5-git-send-email-wangzhou1@hisilicon.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1565774919-31853-1-git-send-email-wangzhou1@hisilicon.com> References: <1565774919-31853-1-git-send-email-wangzhou1@hisilicon.com> MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix to add missing single_release in qm_regs_fops. Fixes: 263c9959c937 ("crypto: hisilicon - add queue management driver for HiSilicon QM module") Signed-off-by: Zhou Wang --- drivers/crypto/hisilicon/qm.c | 1 + 1 file changed, 1 insertion(+) -- 2.8.1 diff --git a/drivers/crypto/hisilicon/qm.c b/drivers/crypto/hisilicon/qm.c index 796fdbf..d72e062 100644 --- a/drivers/crypto/hisilicon/qm.c +++ b/drivers/crypto/hisilicon/qm.c @@ -958,6 +958,7 @@ static const struct file_operations qm_regs_fops = { .owner = THIS_MODULE, .open = qm_regs_open, .read = seq_read, + .release = single_release, }; static int qm_create_debugfs_file(struct hisi_qm *qm, enum qm_debug_file index)