From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754197AbcIBOr4 (ORCPT ); Fri, 2 Sep 2016 10:47:56 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:33249 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754098AbcIBOry (ORCPT ); Fri, 2 Sep 2016 10:47:54 -0400 From: Quentin Lambert To: Giovanni Cabiddu , Salvatore Benedetto , Herbert Xu , "David S. Miller" , qat-linux@intel.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Quentin Lambert Cc: kernel-janitors@vger.kernel.org Subject: [PATCH v2 0/2] add omitted release in qat_common Date: Fri, 2 Sep 2016 16:47:51 +0200 Message-Id: <20160902144753.31334-1-lambert.quentin@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160902144400.31216-1-lambert.quentin@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The first patch introduces a variable to handle different error codes and be able to reuse the same clean up code. The second add an omitted release by jumping to the clean code having set the returned value to the proper error code. -changes since v1 I failed to send the first version properly and it was missing a proper commit message, just ignore it. --- drivers/crypto/qat/qat_common/qat_uclo.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) ---