From patchwork Thu Feb 9 12:36:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weili Qian X-Patchwork-Id: 652162 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58314C05027 for ; Thu, 9 Feb 2023 12:37:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229764AbjBIMhB (ORCPT ); Thu, 9 Feb 2023 07:37:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229570AbjBIMhA (ORCPT ); Thu, 9 Feb 2023 07:37:00 -0500 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30D2557758; Thu, 9 Feb 2023 04:36:58 -0800 (PST) Received: from kwepemm600009.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4PCGXM29n6z16NXm; Thu, 9 Feb 2023 20:34:43 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by kwepemm600009.china.huawei.com (7.193.23.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Thu, 9 Feb 2023 20:36:55 +0800 From: Weili Qian To: CC: , , , , Weili Qian Subject: [PATCH v2 0/5] crypto: hisilicon/qm - some fixes and cleanups Date: Thu, 9 Feb 2023 20:36:12 +0800 Message-ID: <20230209123617.30545-1-qianweili@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemm600009.china.huawei.com (7.193.23.164) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Fix and clean up some issues in qm.c and sgl.c. v1 -> v2: - Instead of changing the data type in min_t(), use min() instead of min_t(). Weili Qian (5): crypto: hisilicon/qm - remove some unused defines crypto: hisilicon/qm - use min() instead of min_t() crypto: hisilicon/qm - change function names crypto: hisilicon/qm - update comments to match function crypto: hisilicon/qm - fix coding style issues drivers/crypto/hisilicon/qm.c | 54 ++++++++++++---------------------- drivers/crypto/hisilicon/sgl.c | 1 - include/linux/hisi_acc_qm.h | 5 ++-- 3 files changed, 21 insertions(+), 39 deletions(-)