From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753382AbcJZGix (ORCPT ); Wed, 26 Oct 2016 02:38:53 -0400 Received: from mail-db5eur01on0054.outbound.protection.outlook.com ([104.47.2.54]:34448 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751129AbcJZGiw (ORCPT ); Wed, 26 Oct 2016 02:38:52 -0400 From: Horia Geanta Neag To: Arnd Bergmann , Herbert Xu CC: "David S. Miller" , Cata Vasile , "linux-crypto@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] crypto: caam: fix type mismatch warning Thread-Topic: [PATCH] crypto: caam: fix type mismatch warning Thread-Index: AQHSLwbjDPR8ZwU5yEe7P5yIkrNkwA== Date: Wed, 26 Oct 2016 06:23:17 +0000 Message-ID: References: <20161025212923.2452320-1-arnd@arndb.de> 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: [192.88.146.1] x-ms-office365-filtering-correlation-id: fc54be73-99cc-41bc-f8e4-08d3fd6892f4 x-microsoft-exchange-diagnostics: 1;VI1PR04MB1309;7:cz33YRlBUjkq4WVDZ9JVhfT2U0x5zooT1ofCAx5+GdF+zmq7yVFLbErfj5YOdw5QDyg3cJkd2a1+NT077pOLyeyy1Y4K5MzRBJslv0tTQEHk2xNYJmISCt6x1E6X1cB4+R1LB65QzQqeetabxE43HhI/eE+9hX7DewwCVwloTl8bjO5AvBATJdZt4CKC+gsS+2CaH7nI02U7n4TiLL52SP6aqeIfNuvL7QKBuu/usIafLzj+4aXhPVjXIKiCSKzdNUkEvW7zvBFGOa4M4iR7muCdhxBlm+hTo13nCujd8WVuhRDy+At6BATilct0gSq74+w9ChwOn20MwQTOH/bVURuyjke2xUKBGV1vxMyDQBE= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR04MB1309; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040176)(6045068)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6046068)(6072074);SRVR:VI1PR04MB1309;BCL:0;PCL:0;RULEID:;SRVR:VI1PR04MB1309; x-forefront-prvs: 0107098B6C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(7916002)(199003)(189002)(377454003)(24454002)(2900100001)(86362001)(5660300001)(122556002)(3846002)(102836003)(6116002)(189998001)(66066001)(7696004)(9686002)(76176999)(11100500001)(81166006)(74316002)(305945005)(77096005)(50986999)(101416001)(7736002)(92566002)(54356999)(8676002)(81156014)(7846002)(106356001)(68736007)(106116001)(3660700001)(105586002)(3280700002)(5002640100001)(87936001)(76576001)(2906002)(19580395003)(10400500002)(4326007)(33656002)(19580405001)(586003)(97736004)(8936002)(5001770100001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB1309;H:DB4PR04MB0847.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-2" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2016 06:23:17.2355 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1309 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id u9Q6d44f027285 On 10/26/2016 12:29 AM, Arnd Bergmann wrote: > Building the caam driver on arm64 produces a harmless warning: > > drivers/crypto/caam/caamalg.c:140:139: warning: comparison of distinct pointer types lacks a cast > > We can use min_t to tell the compiler which type we want it to use > here. > > Fixes: 5ecf8ef9103c ("crypto: caam - fix sg dump") > Signed-off-by: Arnd Bergmann Reviewed-by: Horia Geantã Thanks, Horia