From patchwork Mon Oct 21 07:40:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shukun Tan X-Patchwork-Id: 11201483 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E579614E5 for ; Mon, 21 Oct 2019 07:40:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CE1862089C for ; Mon, 21 Oct 2019 07:40:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727297AbfJUHkb (ORCPT ); Mon, 21 Oct 2019 03:40:31 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:57396 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727097AbfJUHka (ORCPT ); Mon, 21 Oct 2019 03:40:30 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id D33854A323ABC7A7D38C; Mon, 21 Oct 2019 15:40:26 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.439.0; Mon, 21 Oct 2019 15:40:18 +0800 From: Shukun Tan To: , CC: , , Subject: [PATCH 0/4] Misc fixes and optimisation patch Date: Mon, 21 Oct 2019 15:40:59 +0800 Message-ID: <1571643663-29593-1-git-send-email-tanshukun1@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This series mainly fix sparse warnings, optimise the code to be more concise. Shukun Tan (3): crypto: hisilicon - Fix using plain integer as NULL pointer crypto: hisilicon - fix param should be static when not external. crypto: hisilicon - fix endianness verification problem of QM Zhou Wang (1): crypto: hisilicon - tiny fix about QM/ZIP error callback print drivers/crypto/hisilicon/qm.c | 96 +++++++++++++++---------------- drivers/crypto/hisilicon/qm.h | 2 +- drivers/crypto/hisilicon/zip/zip_crypto.c | 2 +- drivers/crypto/hisilicon/zip/zip_main.c | 9 ++- 4 files changed, 52 insertions(+), 57 deletions(-)