Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4565449imu; Tue, 8 Jan 2019 02:25:16 -0800 (PST) X-Google-Smtp-Source: ALg8bN70ioP8M8YYgdx8lZJDR8tu62U769u9nsP355lM6fc6p/cAWlzY8okdv4Q5ymfn5qQdxqlD X-Received: by 2002:a17:902:b112:: with SMTP id q18mr1153997plr.255.1546943115994; Tue, 08 Jan 2019 02:25:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546943115; cv=none; d=google.com; s=arc-20160816; b=kCb6CVPYSYl50XZGxPSpFWAPzpCj6tDoRq1fnCPyeyUwfFwRi2jGTpbTmKQ8aYEfby EzmShgpUmPb1Ym8Sg/vcJ1dhufqIemUL1sz5eExzyt7S01vmm8JBeaBHhJUNHRjrTGhJ meFvrUG/hQGhNgiEa+XMawFAQoJyvc5w8gEhzhTjzOjPY+Do4KQSLn+DgweIc0H33ERa HXpaNVkJNAoEoEH9CalkeTOuOkFz3BQforSdqn6SQt+ZwDRyb9FRECCN6o62CTc0ihX8 BhHRs/LfDpA4yCbCJiZxZUAkO77uv4dP+eCpWZ5UrziEVfQ/ckAHLrPcVudCKLcfhMYI pzWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=On8ICrgJkbEUzsxeC2y8dv7ul6hjSiKkbX6E5QOEi4g=; b=lj2WeeHCftsp2wOluTECt28sjX1afQqMzWzxHmwwslTT0pHGjr6ftDNwT2JzlLKgNV OkX9sFoIz0EVFvWXvrg3va4rp2+t5PWIIdMdsbKNTaMB1Tqx3oWrbrvkWKR4rJdni2B9 1Anu0dpHYUCzOjwAPFiySgCQ77VHxEaOgHP6YOFGUtlU3JyTP15JjLU2ro3cjk9V/LO8 NDS8dinqB6i3iiVjiADTWLCRq2tVcrZIjwWwo47Sx5rn5e2i9PIG+OgBwclLGE49VWWd qElYil+Ah11M39ieSNWyqdIvEiipzACg5Gav+iDQcAi7gmpm0hCaB7D90Pu9SCj7plno +uSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=XdzN13vG; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4si5348985pff.161.2019.01.08.02.24.59; Tue, 08 Jan 2019 02:25:15 -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; dkim=pass header.i=@nxp.com header.s=selector1 header.b=XdzN13vG; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728041AbfAHJrf (ORCPT + 99 others); Tue, 8 Jan 2019 04:47:35 -0500 Received: from mail-eopbgr130075.outbound.protection.outlook.com ([40.107.13.75]:18686 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727001AbfAHJrf (ORCPT ); Tue, 8 Jan 2019 04:47:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=On8ICrgJkbEUzsxeC2y8dv7ul6hjSiKkbX6E5QOEi4g=; b=XdzN13vGOrEoCWZcBDOwH+VIpKrKeL23f53OjduljsT8L/ts6aHUopaFVmvPlDi+PhNOVojI/cdveS19W82iOHD9TCL5jDmzYRHozUkuMiGkBZRNi9LRgURgPS7YH3GM6wSbjy8vciUHdpXNNez1bHY+EAtAZfMFMtkuEDyckok= Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com (52.134.3.153) by VI1PR0402MB3824.eurprd04.prod.outlook.com (52.134.16.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.10; Tue, 8 Jan 2019 09:47:31 +0000 Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::9c4e:17cb:deff:1c18]) by VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::9c4e:17cb:deff:1c18%5]) with mapi id 15.20.1495.011; Tue, 8 Jan 2019 09:47:31 +0000 From: Horia Geanta To: Christophe Leroy , Herbert Xu , "David S. Miller" CC: "linux-crypto@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , "stable@vger.kernel.org" Subject: Re: [PATCH v4 1/2] crypto: talitos - reorder code in talitos_edesc_alloc() Thread-Topic: [PATCH v4 1/2] crypto: talitos - reorder code in talitos_edesc_alloc() Thread-Index: AQHUpx9U2UgnBhsXrEyEQzxfOR/K1Q== Date: Tue, 8 Jan 2019 09:47:30 +0000 Message-ID: References: <5ed91db5e2976a4c260465c3d027acc9affd2d2b.1545445924.git.christophe.leroy@c-s.fr> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=horia.geanta@nxp.com; x-originating-ip: [86.34.165.90] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR0402MB3824;6:NJQ4MHmnPQVX4tYi727ZGWzyzWhbDCDZ8L0695zFx8MWsdIc19vldXXOnkrOfDTL0QaKbGtOXYJNaL1ffrxmiHWu+l2vOdASJK3TsJHgGD1y4LYbAqMeY5OSOaFQuJRTuBSIYyg5ZD3WehH5m9hrzZrY7aABWVeDiQVXF8oSN9ZRAQAUsxKQDOX/4UfDsWSbZrCGYAPzwxzcP2yfkRowW5X847/AOWKbloIkV6k+32qh2ra5SfkNR5GP6ukDyXMD+g3KkbU4dygE2tg3B9XbQ2yFQXxTug52n7AIZl/1dsj12gMWp4ZlQ7MSFjh/NBEyul+o/lEUR44FkFvQaMEdj9EOzCrlSd3SIA8MxWUIqYv2XlQkVVgHbUUw7ZqFL5buIds8EWllwqfPHLUvwpBWCUSLHYjB61BykSrbb1Tn2HzT/gqvnRiDv+ReYjzqUo0p9XEUY8B9MkeW+PBi8WH2Mg==;5:+F3UBqXWpkzvkDF5m99U8xfiZOVEAylwwGala5e/sunVf8QoQh187v1V9OzhOSTB9J9Ka6ntqHDr5Vqiu+ncoojSRM5lQaA7IaS3xcV4x6/z3yYNOanVhRCToe6D9Y8vvvl6+a8+p8q+bTBOMc4V0hLdl/PSDLp9WpsRY3Kvt6y2PaUeqvmi+8bZ5OJi2gerG9MW4K0tasQzmjic2COZnw==;7:WJjRLxP1O8Sac/8ey5yPazefcIZhQJL6xYZRHKpdZfA4CvGeBL9sSKsMQRF+YEf2/CYw4DPtZayFtnung/De4okvn9Lb2qWF1vU+cVaO57ptLxEfBMBWltc6D/WilIityDeu4uyxPyWwY6GXk8+lTg== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: a845eab7-56a0-4c0a-a156-08d6754e4edc x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:VI1PR0402MB3824; x-ms-traffictypediagnostic: VI1PR0402MB3824: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(10201501046)(93006095)(93001095)(3231475)(944501520)(52105112)(3002001)(6055026)(6041310)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:VI1PR0402MB3824;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0402MB3824; x-forefront-prvs: 0911D5CE78 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(39860400002)(396003)(366004)(136003)(346002)(189003)(199004)(55016002)(5660300001)(102836004)(486006)(110136005)(229853002)(97736004)(54906003)(7696005)(74316002)(186003)(6506007)(53546011)(68736007)(99286004)(86362001)(316002)(71200400001)(71190400001)(6436002)(3846002)(76176011)(81156014)(8936002)(8676002)(106356001)(476003)(81166006)(14454004)(33656002)(256004)(2906002)(478600001)(446003)(105586002)(6246003)(6116002)(26005)(9686003)(44832011)(4326008)(53936002)(25786009)(66066001)(305945005)(7736002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0402MB3824;H:VI1PR0402MB3485.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: BLApUqWy8m3W6PslOiuj23CSxFxMQvNNej/yFizX1mxos3d9OR62wKGgV5lYanmXqHdUywErv/FAlMEHeALdPQUnMLyTj6iGkUbrUV76ndx2wAYNxWI/KoImciC66DmWDPibfOviestasHNwPzc5O4tEMt7EoQys9wmY3kTCaVg9sLZbiQaLm8+VPbo+hsWpINJaukFiF5mi+0ckXQL1+4C9jbYIOvfdStk9t89s+9aMraDzVdw4cen/lDJe7xU6/bqNAAOe0N8vlc4fbFGaJytNNA1/AXvUb1fJQxi8zSy7kpCuqYVXHOB6Fg/V20q1 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a845eab7-56a0-4c0a-a156-08d6754e4edc X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2019 09:47:30.9534 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3824 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/8/2019 8:56 AM, Christophe Leroy wrote:=0A= > This patch moves the mapping of IV after the kmalloc(). This=0A= > avoids having to unmap in case kmalloc() fails.=0A= > =0A= > Signed-off-by: Christophe Leroy =0A= Reviewed-by: Horia Geant=E3 =0A= =0A= Since patch 2/2 is Cc-ing stable, this one should do the same.=0A= Herbert, could you append the commit message before applying it?=0A= =0A= Thanks,=0A= Horia=0A=