Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp377900img; Thu, 28 Feb 2019 00:41:41 -0800 (PST) X-Google-Smtp-Source: AHgI3IaooOzqLUZR8DfieyFkPw9ZsqM5xX1D8wQH8OsWbuMfEGwdi61m/c2a1+RtvqW6ufXXxxlH X-Received: by 2002:a62:4414:: with SMTP id r20mr6264369pfa.37.1551343301007; Thu, 28 Feb 2019 00:41:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551343300; cv=none; d=google.com; s=arc-20160816; b=EfcmFOUSGJooj1ihcZkjvwvVuv5w4wmVdVySljcQJOpECyp4+1QmnTo2wZa/zBidl3 oLSKroelXamJKaloqDVsIboY9MbwxSpVBuYOTEbNAgEakyCGIH/R1JWHwZD86D2ByPnN umjKCKzPVcU19ij9bHC/RWnyyRQg663pRHiwYEJ+oCQ12zRaK3ULnWSxWGhxRbhUGVen NRd3IPlZkw4cJQiJqcwt1Cue5mtKbP6UvaxrYNBxZka9BHlS/0fF6w8/+vrnJMV6h1xL Rhm2nW5B+8eSEUEo91k1C7R7a5klY1cgwjR0MTMErNB7RR2Hl/Z2jEjgSwKXhYXiYYtv kvTQ== 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 :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=rv4PzrQxD4/QS4TNAhkMXC4q67VM4knzaAf10qjsTX0=; b=KkLYvTTkGa+/6w9eEjrqjCpRqbU+Kt85puweW9lHmd2YNrEMoGTV+yXczp/w9OtBYe xmy22HmRd7qf49EjJtszsP2L0ZiKxnZRSIndyWwKQb7SLA976fy3aSky9Ph6K34T711h vvXviqIT9jafy3MhJHlneH7QVpStEc8CUWZ0zAxiwcbOzcuTTTgPblMTsZUF2vaFRu3/ nGG8yD62mu1ZfP+PNh+KO6fJl8ee772Byu5oAex8jdzwh2LUIVy6zg0gUOqAPSAOzFWV ws/QB/hn6dNi9yaL56pXuXLp0eal6NDcPi4Kx+wUK6/KBEUQD2C3pp0WMUr6CmgVz2lc wnfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector1 header.b=ZoMoD6AF; 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=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x14si17223644pgq.185.2019.02.28.00.41.25; Thu, 28 Feb 2019 00:41: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; dkim=pass header.i=@Mellanox.com header.s=selector1 header.b=ZoMoD6AF; 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=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731593AbfB1Ikl (ORCPT + 99 others); Thu, 28 Feb 2019 03:40:41 -0500 Received: from mail-eopbgr30068.outbound.protection.outlook.com ([40.107.3.68]:32112 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727714AbfB1Ikl (ORCPT ); Thu, 28 Feb 2019 03:40:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rv4PzrQxD4/QS4TNAhkMXC4q67VM4knzaAf10qjsTX0=; b=ZoMoD6AFscnEybc/hDXLuh3POnAaRhTOTR2QwX3q0fQwseKxKnRxXH6HDC8m0a6vs/cDsDAWXvYY1JeO0wyzWUpptyiR/LkxtlEvp1kFRjhv5BIyZyWSshEqPrTnhKDriKFvqwcbDtZPOn+L4d365M3D+Ma5gMyr8rLJxnP8XUc= Received: from HE1PR05MB3257.eurprd05.prod.outlook.com (10.170.243.19) by HE1PR05MB3354.eurprd05.prod.outlook.com (10.170.243.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.16; Thu, 28 Feb 2019 08:40:35 +0000 Received: from HE1PR05MB3257.eurprd05.prod.outlook.com ([fe80::550a:a35e:2062:792a]) by HE1PR05MB3257.eurprd05.prod.outlook.com ([fe80::550a:a35e:2062:792a%7]) with mapi id 15.20.1643.022; Thu, 28 Feb 2019 08:40:35 +0000 From: Tariq Toukan To: Robert Eshleman CC: Tariq Toukan , "David S. Miller" , "netdev@vger.kernel.org" , "linux-rdma@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/8] net/mlx4: use kzalloc instead of kmalloc Thread-Topic: [PATCH 1/8] net/mlx4: use kzalloc instead of kmalloc Thread-Index: AQHUzmMbUgrdV9kWXUGqPZgGsrBPfaX05cEA Date: Thu, 28 Feb 2019 08:40:35 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6PR01CA0068.eurprd01.prod.exchangelabs.com (2603:10a6:20b:e0::45) To HE1PR05MB3257.eurprd05.prod.outlook.com (2603:10a6:7:35::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=tariqt@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6ea472aa-f765-4773-bf8d-08d69d586828 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:HE1PR05MB3354; x-ms-traffictypediagnostic: HE1PR05MB3354: x-microsoft-exchange-diagnostics: =?utf-8?B?MTtIRTFQUjA1TUIzMzU0OzIzOm8zSTVaV2hYOGVFNVJIZU1hNUZXM3pyUmxN?= =?utf-8?B?M29nKzlRTjVyRDZSYks2WFdNZU5lSHNjb1B1ZWxDM2M0YWZFYVJVU082dVAr?= =?utf-8?B?T05RYXBPUjU5MnJPNFFCTUVWVE5rM3hlaStHdlVlYUQ5MWFhMEJFakMybUtV?= =?utf-8?B?UHF5SVlXT3JxUGh0b1dOd3g4WEZ2Wm5ZcVVWUzRYeTQ1U2tlYUZFZWI5MENJ?= =?utf-8?B?bkVOMkhBeU1hUXkvNEs4WjhROXREVnFyeC9BT3ZzY0ZINlhtNkF0T2JsNGtV?= =?utf-8?B?UVVpc1lYVHJOUUYzSERPa0NPWGJqL2ZEcFNGZEVjNXY1T1k5aEhKY0JjL3g5?= =?utf-8?B?d1kvZVgyRUdQNXB2aTFCd01NSzNsQjFMSUl1a3lVUVQrMFRNWHFTYzVnNmpX?= =?utf-8?B?OHpkTnFqZElvY2JuTzRIaUdoZlNBR1hDdzFScWxFd3RwV3hVYnNzUG96Vk1K?= =?utf-8?B?UmwreVduU1h5T2N3Z0pPa09iTzkzVkd5TjZNd1FRYXJ1aStaRG5RWXlwcU9H?= =?utf-8?B?YVlIcXhxeWdzRnNjajZEYzFFcXFEY1BtcEhwRTNNWXhwNUsxNlA3Z2dZSkNz?= =?utf-8?B?R3NZdVVRWTRBcEEvUStQZ09yTXdodzZzV0U2REc0Z1l0ZGJ5ODVsa3p0R1BW?= =?utf-8?B?Q2wybXhzZW9KaWNWOTAvWWtHVUZpVUphKzdYTisreEdld0RhRFNhUmRpNUhk?= =?utf-8?B?cHEwbDByeGVYZzdseklzcXZVZnJTSjZkQW02S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pwcHdjcGtGSS9jclNKakFwTHdvLzdpUitRbUMz?= =?utf-8?B?b3RmNkxETjZ4eDdzMHVQMldURzNtVzR3WEdFQjEzbENiNTAvODdJVFVZY0xX?= =?utf-8?B?SkF6OXU3ZkNWQXRtRVBlUT09?= x-microsoft-antispam-prvs: x-forefront-prvs: 0962D394D2 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(39860400002)(136003)(396003)(366004)(346002)(199004)(189003)(8936002)(26005)(71200400001)(71190400001)(2906002)(102836004)(54906003)(386003)(478600001)(5660300002)(6506007)(99286004)(6512007)(53936002)(66066001)(76176011)(53546011)(68736007)(86362001)(6436002)(1411001)(52116002)(31696002)(97736004)(316002)(81166006)(36756003)(2616005)(11346002)(305945005)(486006)(7736002)(81156014)(476003)(186003)(229853002)(8676002)(6116002)(446003)(6486002)(3846002)(25786009)(6916009)(256004)(6246003)(106356001)(4326008)(14454004)(31686004)(105586002);DIR:OUT;SFP:1101;SCL:1;SRVR:HE1PR05MB3354;H:HE1PR05MB3257.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: fjgyHUw4t+DGmGy8WT3XslBD2sBCdIOwADZsWJady8ZWeL+835b29qHBVOG2krFOLXkx5nPWI2NdxamPxv0D4tW+0f4bTX+VKUmV0wHqR/d0WZGPgGJApj3InbuN3CihxCKZ3nTRtFiRAHzX/Q0SqZC+x9iAqnIf5GmcTNrX5UZ20jf/sb2gBETeYzQoE1zxfD7tfBrV2AyTw1i5SF/Xq34SM2LUIYKBFEcaeji2CMhyatG+/fi0SyYkqRBx3cAQTM1i9Gb6CEQ1y11pj/lqrQU9F8JmPwaGrVoB9+y8OJO87P+0GF2n428TR1bc1t1ARBGyxenqYkjQy4Yg0BN6ea7BTI2LkuoUbx+OENgSh6lgLGn3vUKRrKdXZ5zEPTT/w5gwFCplynpnov+q8apGgXfwBFifBqOkSWjFwKb2Ibc= Content-Type: text/plain; charset="utf-8" Content-ID: <459F25E69B8C3D4BB6E8DB80B977D26D@eurprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6ea472aa-f765-4773-bf8d-08d69d586828 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Feb 2019 08:40:34.1902 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR05MB3354 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDIvMjcvMjAxOSA4OjA5IEFNLCBSb2JlcnQgRXNobGVtYW4gd3JvdGU6DQo+IFRoaXMg cGF0Y2ggcmVwbGFjZXMgYSBrbWFsbG9jL21lbXNldCgsMCkgY2FsbCB3aXRoIGEgY2FsbCB0byBr emFsbG9jLg0KPiBJdCBhbHNvIHJlbW92ZXMgYSBtZW1zZXQoLDApIGNhbGwgdGhhdCBhbHdheXMg Zm9sbG93cyBhICp6YWxsb2MgY2FsbC4NCj4gDQo+IFNpZ25lZC1vZmYtYnk6IFJvYmVydCBFc2hs ZW1hbiA8Ym9iYnllc2hsZW1hbkBnbWFpbC5jb20+DQo+IC0tLQ0KPiAgIGRyaXZlcnMvbmV0L2V0 aGVybmV0L21lbGxhbm94L21seDQvY21kLmMgICB8IDEgLQ0KPiAgIGRyaXZlcnMvbmV0L2V0aGVy bmV0L21lbGxhbm94L21seDQvZW5fcnguYyB8IDMgKy0tDQo+ICAgMiBmaWxlcyBjaGFuZ2VkLCAx IGluc2VydGlvbigrKSwgMyBkZWxldGlvbnMoLSkNCj4gDQo+IGRpZmYgLS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