From patchwork Mon Nov 5 12:35:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 10668133 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0A3AF17D4 for ; Mon, 5 Nov 2018 12:34:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF080286C0 for ; Mon, 5 Nov 2018 12:34:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E356D289B4; Mon, 5 Nov 2018 12:34:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A6E4F286C0 for ; Mon, 5 Nov 2018 12:34:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727351AbeKEVx0 (ORCPT ); Mon, 5 Nov 2018 16:53:26 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:14593 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729067AbeKEVxZ (ORCPT ); Mon, 5 Nov 2018 16:53:25 -0500 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 5E69BD1C6B7DE; Mon, 5 Nov 2018 20:33:48 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.408.0; Mon, 5 Nov 2018 20:33:42 +0800 From: John Garry To: , CC: , , , , John Garry Subject: [PATCH 0/2] crypto: hisilicon - A couple of fixes Date: Mon, 5 Nov 2018 20:35:13 +0800 Message-ID: <1541421315-25623-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patchset fixes a couple of issues I discovered while attempting to bringup the driver. John Garry (2): crypto: hisilicon - Fix NULL dereference for same dst and src crypto: hisilicon - Fix reference after free of memories on error path drivers/crypto/hisilicon/sec/sec_algs.c | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-)