Received: by 10.223.185.116 with SMTP id b49csp1033162wrg; Wed, 14 Feb 2018 10:32:40 -0800 (PST) X-Google-Smtp-Source: AH8x224je3ZQCEiGScgdzMkprmn3zrf10yhKr4LrHFCjW5WCpAjFp/d5Fo4ehm+cCP3Ex2XCmbgY X-Received: by 10.101.64.67 with SMTP id h3mr115026pgp.168.1518633160107; Wed, 14 Feb 2018 10:32:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518633160; cv=none; d=google.com; s=arc-20160816; b=LyuzUMa6ItgXILeVUmDNOmwvrOvzSWz2b7KaCgldBeEVTYoCrL6axVIjhruDkmADG4 oeqxyIVyYmhxEpHy8K6PQaRjl/C+gGJGLDJ8+ZeINHAMaiE74VZ589uSUBW+2lHzs6Bz UaZo5qyMCRI769nvAZ9odZKqB4Av3dXF77dnArpDQ/GAglXJwVcMMrhGq2f8BcDs+kQq PR4GyKy2qDGwzYvxQ2XB/WGiibp6GLOHLkF6RTwJXxFXoKFde850tPU+U/5IS8X8BQ9P r1oWHpsEkUJfj89W3CAEZ/YXAG1tUI2Tz6JlzTslPNcAh+7FSi3cec5uF3/7ZuM/CX72 ZmKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:cc:to:arc-authentication-results; bh=GtSAp3YvrriksB4xshaZvtz4qPqRn5BEYzL+jb2iqtw=; b=LIXbaiIQ95tJPBswvHSq0entuKDHMAxDOtq+MnWm8B79ySCb7R7gjbATrC0CHr78ft 8AdEoc7KZD3YkNM9y0VEVKvHs7OiDrosAXaPRgw5kaiTBrnR7Zam/Wokr/B9oZTZ4M/D fxB+017PgtrW0XNJr/VJMsIxsBLb6fvJb1JJQunvgaHlT2a4s/BhukCWCpuW+l4+SWK7 VCYuLp0fZjUEGBU0JSrHS7iL3etm90CFaaDtJz1JM57WTKn3xzDlk3pdA0MHOp8BceV6 41miwqbZt7MGobj0osrjZ1DpKbNK/YavZaj1urhh4XSJUDEkrY6oBkKE4eqg6hGzkQ6U 8Sig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k192si8317770pgc.299.2018.02.14.10.32.24; Wed, 14 Feb 2018 10:32:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162152AbeBNSaf (ORCPT + 99 others); Wed, 14 Feb 2018 13:30:35 -0500 Received: from mout.web.de ([212.227.15.3]:45961 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161903AbeBNSad (ORCPT ); Wed, 14 Feb 2018 13:30:33 -0500 Received: from [192.168.1.2] ([78.48.82.239]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MASfy-1excf21fty-00Bdu3; Wed, 14 Feb 2018 19:30:18 +0100 To: linux-crypto@vger.kernel.org, Aymen Sghaier , "David S. Miller" , Herbert Xu , =?UTF-8?Q?Horia_Geant=c4=83?= Cc: LKML , kernel-janitors@vger.kernel.org From: SF Markus Elfring Subject: [PATCH 0/2] crypto/caam: Adjustments for eight function implementations Message-ID: <9a9a602d-93da-457d-c37d-2acbb4b7b5d5@users.sourceforge.net> Date: Wed, 14 Feb 2018 19:30:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:QzOLIaWDmLdKc7gjWmonN/UlPoUeWxjPc848Kr/8syC+SciG4Nq rxTKcrBvmtX/g/rU26IODVqnGgQTPmQlBo+eYDJuQ5nuJm3ZpwUrVs/odc+sIAE0+ny8K3E 7/sT4TlFsBOA6EUd/F2w0kK0VX6/nUd6Svo+zoHysoikFGkY0gXAP22rUh0NfhohHQMlLKA 2uN2E1CYjLMazZ1rnY2ZQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:LmNRbXbIEeU=:KgJHhfgDBXzMFhyRCbJ0pL jO5HyS22pzeir/N9iMZJ2n36k03vmLn+ZjK9+4slkdRytZVWfM4oTSXglY74UW+qdAde1dQ5i aAuu82w7EAtWLf/XlSAFwSqt5bGz9SsxTShR47DF7tkh4WmiDRUn29adtZfQGt5kDKL9gVs3/ UM3ZHMu/ZGYgdTnh08QpgzAG0ulNLoRMylN4QZxTVpP0qUnn8IFaHPuh4B4Cxf8cHMLFNDWPT kvRLdjHbudpI2Qm+5LrzL1UXkrr9EaUh6NFAvacpq+7owqIgFuBpQB/pXha3ByVlSgBrefb5x VfxsOhM6j/GSoYWtw8/dczdUe/p47ZZ/TYkmOMWZyTXqkP1Vz/5uu/IqhD/d/892aFkSCP6nt ignnqCHcrDPotDjws/HLsdIa6FawW7yxc3uT3dYwKrXB2IuKtd/SVrvqB2gzqbL6wF6J1EMTG wRWAuK5BisUjcEG/Z/YvGxlOiC7auZFPOqUQQZyi+SOE43cA0iZoyZIHzj6ZC3++LvytNE+Ji tHKhA5A7sMP/9URVOc7IEgqTSYR4fe7fA7FIV/hbyPA/NRMhFl1PCEjF53LOoVMmh//bB+/su U0JadsuJ73vFK7OJQSrCEVrxiXV2do1aaJW2vk4eD6n+gwjHmQfvkXFRRAJzZzHd93qU8Zvx9 QlB+NqGnfNrGxYkBEPsGUoc5rNJOyKjDAhS6jlF+53SfDRV7zHHaJsmzDs67uNhQHfWRhaVbc UU0RvzNmbQVZTjj1N+FCSl89R7lku6kw2f30tYFDSWr+kbbxa6hujbADr8lQtLDRI0oC0CoEw PCnb5Rzwqw+p+kzu8SqzvPF86d4JU9FOtMmH7IUuqacjUqkHZ8= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Wed, 14 Feb 2018 19:23:45 +0100 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Delete an error message for a failed memory allocation in seven functions Use common error handling code in four functions drivers/crypto/caam/caamalg.c | 38 +++++++++++++++++--------------------- drivers/crypto/caam/caamhash.c | 35 +++++++++++++---------------------- drivers/crypto/caam/key_gen.c | 4 +--- 3 files changed, 31 insertions(+), 46 deletions(-) -- 2.16.1