Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1907620pxx; Sat, 31 Oct 2020 02:10:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySpf+H5F+G++Sq7qSIbINDJCOe5+Q7WjZcM7c510wVfz62J8phRsLwo9haUZeVBRAHXMhP X-Received: by 2002:a50:b584:: with SMTP id a4mr6775200ede.301.1604135422483; Sat, 31 Oct 2020 02:10:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604135422; cv=none; d=google.com; s=arc-20160816; b=Hi565ypGO7jLKSgDB6gDHnADLl658khlsxyE3MNyomSEyg69dZvdmVAZNxwV1DOXqQ 2cArNh3FsIsS3dww4q1Au1UgaGG2ymjal5ZA4U2cMu86hO1U7qgJOsp3SRmonUkQBWxZ PqOJ0Af792UK/+9kcbtHqm2e0g+Ka55Y/kXcs7eayIig5luRTnmKdogFtWAm0dbD4wqn Bn2oDHX2JbeQxVhh/tbb3mZYadyi2uvT9rSxT/f1RpMuIbch+UkQXfAD7vzOvqxZNQw4 9KJDSTz3rp8GtWneBtbiw0pRt3B6fpJsmwdQlHAQluMYSOUIfAYluGLdS3gIaftRziSr eAxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=7qdZ1ng8bw1H0bnlvTGau4XPV5lMXOP7Lqby48orcM8=; b=jz2gBLwDX+GiWCegNfF9Vd5cJNeZWLfsX8k39QFMJgF3+Y60+BB15sPxHYh+K5i7tV SXHtbjCGhgIto/dfVHEWGfcYlvA0qxXX1kx5krcgx7xV/zKJqfaeMeZDt9YeOWf4VLZQ wGH+HdG3YZ9EoG/MW8QRiKLVz+tvYoL6klMlO5xpnGQr1gj5L43hDhiyPXUZdSNH6z6U j91MJMOj1MzxuGyURAMB6SXVkn2BwjzT0fOfB/iVNb9czkaj4gSSmWEnFf19j2QWcdJX ooEFAkSyyQ2uZJ/MPMz66lbAdH3xiLnAjWsOwDri7faRi8NZp2H0Hisun4RsXXdk1G6U ncxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i20si2922833edy.320.2020.10.31.02.09.59; Sat, 31 Oct 2020 02:10:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726541AbgJaJJK (ORCPT + 99 others); Sat, 31 Oct 2020 05:09:10 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:7018 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726534AbgJaJIr (ORCPT ); Sat, 31 Oct 2020 05:08:47 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4CNYJ95KZFzhcfL; Sat, 31 Oct 2020 17:08:41 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.487.0; Sat, 31 Oct 2020 17:08:33 +0800 From: Weili Qian To: , CC: , , , Subject: [PATCH 0/8] crypto: hisilicon/qm - misc clean up Date: Sat, 31 Oct 2020 17:07:00 +0800 Message-ID: <1604135228-18410-1-git-send-email-qianweili@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This patchset makes some clean up, please see comments in each patch. Weili Qian (8): crypto: hisilicon/qm - numbers are replaced by macros crypto: hisilicon/qm - modify the return type of function crypto: hisilicon/qm - modify the return type of debugfs interface crypto: hisilicon/qm - modify return type of 'qm_set_sqctype' crypto: hisilicon/qm - replace 'sprintf' with 'scnprintf' crypto: hisilicon/qm - split 'qm_qp_ctx_cfg' into smaller pieces crypto: hisilicon/qm - split 'qm_eq_ctx_cfg' into smaller pieces crypto: hisilicon/qm - split 'hisi_qm_init' into smaller pieces drivers/crypto/hisilicon/hpre/hpre_main.c | 4 +- drivers/crypto/hisilicon/qm.c | 207 +++++++++++++++++++----------- drivers/crypto/hisilicon/qm.h | 2 +- drivers/crypto/hisilicon/sec2/sec_main.c | 4 +- drivers/crypto/hisilicon/zip/zip_main.c | 4 +- 5 files changed, 134 insertions(+), 87 deletions(-) -- 2.8.1