Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1504938ybc; Tue, 19 Nov 2019 22:50:48 -0800 (PST) X-Google-Smtp-Source: APXvYqzkiAe/ZCzXh+TY13+OGolHOGtuzT+7FL+4ujuEnfUPr4b8HeUlCDQmkbIUJDSF2KITrfiQ X-Received: by 2002:a17:906:1d59:: with SMTP id o25mr3048712ejh.17.1574232648297; Tue, 19 Nov 2019 22:50:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1574232648; cv=pass; d=google.com; s=arc-20160816; b=ZXYaqws11RoMNFoBu4ztwvPR51XNU2R9tu+FhertomeYatHEeMlu1jEQJuRhNkpmvG f3MTWk3PtON1+6ExR84sd4gHlchOPURVwGIJbrAk96B+w/0YsgQZcCO57FY7v3PNucTA X9h+bnNiAnQzSh1xGE0L9DGpXe1iNNNyw5M1H4+HepUC4gdaHejYepG7eq1EPOLgFUsW 0t6o/xvRj9p9XhERiEuqCY0in6Wu0cCS4kI35SCSh4pXMsMAh1/zRAIwCYbqtVWql3oy 9wSFKFcGmTgF2M77bDzO1tPoqdgJBGNPZi+NQXSs6UpgGrHQemImrWlZHZXufxh0PVOd bNJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=OE4wwLvuXgSjPKi+br6ukVBWvo8q9PudQXLCtsLbgAo=; b=Hz4R3k1ZbCNFNBlI1BRs0akKB4CV3HiaIYNgJQb7VYpBSbiQ2aiUeJyjyxheGaMoMe sqhToxVoykjfwQ0WrdpxY0unEkSCwcAMPoSLH6AVWoBoQ+nEZonDiGhDq5aiv528NBXK OpSbPBMqROMtJxPhVAC+fuwzPpZwtVP/vUsisr4m70t6tktBXV5e3BUXzXh4IdlU0S+W Sm77PGoGW1GCg1dI8CQF69TQuYiJtY5kZTg7Ws6TZwBDzpKRAq1bWFwgO2s3rU9jc7nl PTVwxqlBkIFa6HHVhVlq0liRIT7n/ot7+wktS69cJmZFKhoAEb5vZNaxQIS7mkwnEZkJ PVaA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=DuBfJgC0; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 g43si17887909edg.203.2019.11.19.22.50.22; Tue, 19 Nov 2019 22:50:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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=selector2 header.b=DuBfJgC0; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 S1727786AbfKTGsu (ORCPT + 99 others); Wed, 20 Nov 2019 01:48:50 -0500 Received: from mail-eopbgr30064.outbound.protection.outlook.com ([40.107.3.64]:37892 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726880AbfKTGsu (ORCPT ); Wed, 20 Nov 2019 01:48:50 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MywdcaNfUoXwboFXnTWWiz9pQ0rfEvQy10bHKUSQ3EoNckbUm0fEIA5RNXAfD7QQaLAH6ihI9RZ0SECm+97pZUzTmgp09GO6C+p3Y2hZZQH3j4TFtdXQkQWvju3WGfIv04XT+fXk+8p4HZZAmu2lj6zzHSb9sLKevVsMdE/HW1SFNEff0YBbtFnwlY7AknOW92aC/EN7mIe1xAIGAvXjdysXcrTkn1xdqQsqpAG7qRFO4CNf9gy9UAA+hsP1Pl1mqfMISx70nFuGblqoZLoVUmArMaPMkELp2cLZeJ7g7pFxdUjhjlUwmcx4FDnf9wk5EhSne7i+js5bfa+OxCU/mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OE4wwLvuXgSjPKi+br6ukVBWvo8q9PudQXLCtsLbgAo=; b=R+XtPtOeMGX7Ngk1O1hz3Fw1hWzKBsgHFuZJre17NPKkS7iQO88t0W1L3yZ/5IdhpkCibDCEWrl4AjXoMqXRLUclg2Wsy25HlD/yUYkxXfZD6g+0UpiSW1iuuM7422np/3nGj6BZrBdHViJO18Pbapo/skAdki8pXcFnZZSWa2ELh0bRCvJg6apKy2gUcf5hpAzu6u9Pj7g459nmw0kJFLnESqVgsYm53U22KUWLhBjQ8fx2D/45bQ8Xea4UTjr81Cet1BCN7ZfqeUmhz1gA6aMJqzFhCpa3vayxvCgeeUYuh53J98ruvNSoAeO6Ha9DplsWezHPrbmJulIdUm5u1g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OE4wwLvuXgSjPKi+br6ukVBWvo8q9PudQXLCtsLbgAo=; b=DuBfJgC0DP5gTJDrHEeU9DG7kPhs4fb3kceRcUBBk6q4yXUPI876yBYWgaPhzDSmnXeH5jJP6Ut/oo6agA52NBm6FnYRXIqwTYE04YtSVSMlJmGlBsq4Xh7TfWfYZ2Wcwlz3BYKlUXnLkq8Y+oCWMYi3B4HANLTD7VxcUug3Gcs= Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com (52.134.3.153) by VI1PR0402MB2718.eurprd04.prod.outlook.com (10.175.21.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.28; Wed, 20 Nov 2019 06:48:46 +0000 Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::89e1:552e:a24d:e72]) by VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::89e1:552e:a24d:e72%3]) with mapi id 15.20.2474.015; Wed, 20 Nov 2019 06:48:46 +0000 From: Horia Geanta To: Iuliana Prodan , Herbert Xu , Aymen Sghaier CC: "David S. Miller" , Tom Lendacky , Gary Hook , "linux-crypto@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH 07/12] crypto: caam - refactor caam_jr_enqueue Thread-Topic: [PATCH 07/12] crypto: caam - refactor caam_jr_enqueue Thread-Index: AQHVnZa0sS6CFfezokOAnr5a2apfuA== Date: Wed, 20 Nov 2019 06:48:46 +0000 Message-ID: References: <1574029845-22796-1-git-send-email-iuliana.prodan@nxp.com> <1574029845-22796-8-git-send-email-iuliana.prodan@nxp.com> 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: [212.146.100.6] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: bfa70ebc-be06-48c9-9fc4-08d76d85b133 x-ms-traffictypediagnostic: VI1PR0402MB2718:|VI1PR0402MB2718: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2512; x-forefront-prvs: 02272225C5 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(376002)(366004)(396003)(136003)(39860400002)(189003)(199004)(8676002)(6246003)(316002)(4326008)(81166006)(7696005)(81156014)(71190400001)(33656002)(91956017)(25786009)(44832011)(476003)(5660300002)(55016002)(8936002)(76116006)(229853002)(9686003)(186003)(486006)(66066001)(99286004)(6506007)(53546011)(6436002)(86362001)(66946007)(110136005)(446003)(76176011)(6636002)(478600001)(14454004)(74316002)(66446008)(26005)(6116002)(102836004)(64756008)(66556008)(14444005)(52536014)(2906002)(71200400001)(7736002)(3846002)(54906003)(66476007)(305945005)(256004);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0402MB2718;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: BCL:0; x-microsoft-antispam-message-info: TvLU7SuwCILgPL1mB+GxJsBTgPJ8YmI78KlhUJvMvSu/M87Qs72GciU1CeBy9tqY2w09aFt7kAiqPs0awnIQ4LP35sjPvREvIQtqaAJvRZAMHX3Kh+9gsc4iP1EOx6fru7qDonEayGnZC87x/TQIGSuY62Kc6dY9u7LSV7z1PkOsrM83abZGNDuBBcsBycfoMPWWPHdVWxaSQJlT+kIBHp5Vj1Mv4uFdTpqFT82YP2/VsKvAt3vTQLC8IHl/9k/KjB5qYZ7gL/pnPGEWy+rukfbJAh60+Y9wV7Q4HnBL1ZwmdsfVSSb057kMM5E+JejVXQDbrsUOGDv8xYPumoeG8fCm/dCHoT4NnAu0mpKsFzWhfvmnjUOw6AJ2SdtfgBki65CJm7ifh2oQXWM6AjYyJ5LgaXcu9AYiXJgoHGC+/1fZ4VP+zBdez3+/on+aY8Jq Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bfa70ebc-be06-48c9-9fc4-08d76d85b133 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Nov 2019 06:48:46.6013 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Smik4Jj11py1morsMbIkxmcmB5uqTCz0HZbXIjiJVblh31ekj6S1aH20CRdzlUAUeK+yo7cV98ZaHFqQvsJW7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2718 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 11/20/2019 12:49 AM, Iuliana Prodan wrote:=0A= > On 11/19/2019 7:55 PM, Horia Geanta wrote:=0A= >> On 11/18/2019 12:31 AM, Iuliana Prodan wrote:=0A= >>> diff --git a/drivers/crypto/caam/caamhash.c b/drivers/crypto/caam/caamh= ash.c=0A= >>> index baf4ab1..d9de3dc 100644=0A= >>> --- a/drivers/crypto/caam/caamhash.c=0A= >>> +++ b/drivers/crypto/caam/caamhash.c=0A= >> [...]=0A= >>> @@ -933,11 +943,13 @@ static int ahash_final_ctx(struct ahash_request *= req)=0A= >>> DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),=0A= >>> 1);=0A= >>> =0A= >>> - ret =3D caam_jr_enqueue(jrdev, desc, ahash_done_ctx_src, req);=0A= >>> + jrentry =3D &edesc->jrentry;=0A= >>> +=0A= >>> + ret =3D caam_jr_enqueue(jrdev, desc, ahash_done_ctx_src, jrentry);=0A= >>> if (ret =3D=3D -EINPROGRESS)=0A= >>> return ret;=0A= >>> =0A= >>> - unmap_ctx:=0A= >>> +unmap_ctx:=0A= >> That's correct, however whitespace fixing should be done separately.=0A= >>=0A= > Should I make a separate patch for these two whitespaces?=0A= > =0A= Whitespace fixes should be moved out of this patch set.=0A= In general, patches handling this go through the whole file / driver.=0A= =0A= Horia=0A=