Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753823AbcJRJVA (ORCPT ); Tue, 18 Oct 2016 05:21:00 -0400 Received: from mail-db5eur01on0073.outbound.protection.outlook.com ([104.47.2.73]:50448 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752344AbcJRJUw (ORCPT ); Tue, 18 Oct 2016 05:20:52 -0400 X-Greylist: delayed 3572 seconds by postgrey-1.27 at vger.kernel.org; Tue, 18 Oct 2016 05:20:51 EDT Authentication-Results: spf=pass (sender IP is 193.47.165.134) smtp.mailfrom=mellanox.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=pass action=none header.from=mellanox.com; Subject: Re: [PATCH 03/28] [v2] infiniband: shut up a maybe-uninitialized warning To: Arnd Bergmann , Doug Ledford References: <20161017220342.1627073-1-arnd@arndb.de> <20161017220557.1688282-3-arnd@arndb.de> CC: Linus Torvalds , , Sean Hefty , "Hal Rosenstock" , Matan Barak , Leon Romanovsky , Sagi Grimberg , "Bart Van Assche" , Alex Vesker , Guy Shapiro , From: Haggai Eran Message-ID: <33302790-0a4c-e2b3-868d-3e7dadbd3c07@mellanox.com> Date: Tue, 18 Oct 2016 09:47:31 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20161017220557.1688282-3-arnd@arndb.de> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.0.52.254] X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:193.47.165.134;IPV:NLI;CTRY:IL;EFV:NLI;SFV:NSPM;SFS:(10009020)(979002)(6009001)(7916002)(2980300002)(438002)(24454002)(199003)(377454003)(189002)(7846002)(11100500001)(64126003)(4326007)(5660300001)(81156014)(54356999)(76176999)(50986999)(81166006)(31686004)(36756003)(8666005)(2906002)(65826007)(356003)(23746002)(5001770100001)(626004)(106466001)(189998001)(50466002)(86362001)(4001350100001)(31696002)(33646002)(47776003)(87936001)(92566002)(2950100002)(6666003)(586003)(8936002)(65956001)(83506001)(65806001)(305945005)(3846002)(8676002)(6116002)(7416002)(7736002)(230700001)(77096005)(7059030)(3940600001)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB5PR05MB1095;H:mtlcas13.mtl.com;FPR:;SPF:Pass;PTR:mail13.mellanox.com;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;DB3FFO11FD051;1:AA3NLjRNiuW0InIdoS5tOnEz04jqJ2obzVJJM2VISCqhVfAgwzF4MdKCTOE5pBHzR6mk2RnOPFwP2qYqGS4UpmiLEerJ2TJSojmlkrSdR5p5VszPcKsPs4oSPPg4n0N8JsYUMER8Kt49H4+6o9WtlG3BK7YLWtmuxUwL5CSioM5IopcQCoEETkAj26Wvoa/BX4CfIA3uka7O8S837tNeR+aoRNK5qch5U6o3Pb2iOFnIkziaH5zFv3K1iOjGvbgPe3h4ZK96uqZkgt72Me9leEgnh3LZ9LXMHDCpjn1JxD/1nYWd1WGxGfc86qE4g4I9LpZP+J61hmECGyMVcLsRPS9mfHvNnWq7eV1P5W4Tv4I3myOrzB7wBX9qNpGgQSkX1rBBC18JsdDNTXcDQFKUdWs71jFjGIVwGfk2fM1nhExfu0bf/J4LADMChDMsplvWxc9gvkAWYutRMZndH9jyAWSDkrnfXvit4u+YIk9ev3X9p95avczn+jWmlxSx+FGLsiiDswPgV/LTO+Y6MWmYL5lsjXrBs1t1ckki9u1tq662IXb0p0kxdCSfOiq3Ufuoly3Koe9r2b5MaOKhAXSuG4FH5/zx/y47lwS+cJn79ro= X-MS-Office365-Filtering-Correlation-Id: 2dc6f9f3-d5ee-445f-eaba-08d3f722c4ba X-Microsoft-Exchange-Diagnostics: 1;DB5PR05MB1095;2:zWcyHddD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9+0BZ/dYPQOTf3w0lHhtmzNDR3Ro+OA/7/e2xL8J9fxHpiAtIeF5hvbGzoMEGpbd9EyNI2M3MpqUf X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(5005006)(8121501046)(13016025)(13018025)(10201501046)(3002001)(6055026);SRVR:DB5PR05MB1095;BCL:0;PCL:0;RULEID:;SRVR:DB5PR05MB1095; X-Microsoft-Exchange-Diagnostics: 1;DB5PR05MB1095;4:8EmYhWbJs2ze0m7l5W8EmYXjh9sEKcylatRXFVgPIe/vEQoXsiIafm9U1me90gHerQTh/MSGDM7O9EXUMAOccrSiB/NxeOSM7wbsV3OKnrpgJLZhDequwY0KctJy/sqci8f3wcXDGdpgGL/R090wSs22RZErOGC+DQD5c9L8VTydZWYOl/DIrtSnZU0v21IUOTFG464su0Lh4haI5jBzHp7PG96ItrNu9u1WPQLIbC2pS7em7OD4OKq3WJVV5/CrtWf7d8JU9SD3KtwrzTA6qGWwuPUw80T4+Le06z8+yZUi9jCpAg0tbVxz2neoMQ36YidZoT1hCwrDIMgjjpTCNsXo7WI4AF1K90beT/Eum19V72fZ/xa1YPvubp3ik/ocsFNQu2qyQDZsT4puCSV82hql2DLqAgetNzeTZRCdwHmaLFc+T89hZfWjDe65Wr/0CzYEom6UI48OImeVnnHnZA== X-Forefront-PRVS: 00997889E7 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;DB5PR05MB1095;23:e1l6F96voHjhu/POrf0THoghMV8gSJAF2Na31?= =?Windows-1252?Q?Z6zRm6BON/PNh5xPw62CmRKZnkuE4Z1NxjFiTt+pp1KFNwPVLdrWWHOi?= =?Windows-1252?Q?7h0hKREOfSdYEdFhX7rwJXvZCagGPcFtopjqnQD2HYmNKb4GTa24634/?= =?Windows-1252?Q?uIWVo0dmvJqa3lT9kNDRBHm6PMx0GCmnbSHYsZJmdlTX4wziR/IhyU2X?= =?Windows-1252?Q?HkyvSqdpOrf0vqKLdJaoGB+3KVXCUKH09OcXgBN6HH3X8G4Xo62duLa8?= =?Windows-1252?Q?IWBkvuX9V9XM/wkVCneGxGAQWEDxTAc4hKetNv3mJ2e32RqyDcXpk4jb?= =?Windows-1252?Q?hvKfE83ZjF4zz3k6rtZxGpItcVotnPxEJj4AQ8HXmjrpfYwYo3WtDGbT?= =?Windows-1252?Q?zotTUF55alSwRMW3ynaezVhvs3vOZzIujnpwM9AI6oZO1oWRN7FMGF7n?= =?Windows-1252?Q?nutsp6JRxb1QI2+GDdeZO1fykp3hMplZ4jLJGexzl2ftVcsBDPqxbR12?= =?Windows-1252?Q?4zYbbae0Z+wlO0GmEQakqkfXfWIMM/g60JB0xmcU27sZKy2RyE6kBll4?= =?Windows-1252?Q?xkqLh5lef7IYSV0b1etRMu6iYDnCzr5U8xRs7aX9rea6XRTtuFnNNuxa?= =?Windows-1252?Q?wjaUZDZyFXOvdUSP+6LP6azrz7OuafFe7BAoVJVWOT82ACfCV+886dtl?= =?Windows-1252?Q?n0gHtolo3kFkumpXZGtZ6asIluc2UsjFzZkKiFHwZOzbhBuytfO/Z2E1?= =?Windows-1252?Q?pNok9cJkPcjGD3c4UAr1WLVaB6QynyK6LghGD3SCpouNmPINWDUVCySE?= =?Windows-1252?Q?dcrapIF8iK63HG8yECgI05Hd50hoj4X/AoMzc0RQxAeU/9Enev80flao?= =?Windows-1252?Q?muGRpODgU5owKPdy7fWhxjuqI928vNzfZGnpXSqqesCGepNLrFLsy6W1?= =?Windows-1252?Q?nUUQyiyOTZ3n2knXM9rAL5fCrjlEYVoRG8m+Tl2wYvTjuoCbBcQT4fXG?= =?Windows-1252?Q?cOTutL1tiTmQkK7FfKKiaeFUr2laDv2j2zVwEiwfoa05RukCBzqMeYQL?= =?Windows-1252?Q?OFoU/tm7L0QpNvWgnLb80YY9OkjgVIn5b2G//8EivVjmzYD8BGVkR/S+?= =?Windows-1252?Q?VbsznLyJlP243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lTYiICml6OqIbQ1k/QJKSm4gLmFG6ciVSptM5lQ3wTcnu+BxqkTruY6fDQM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;DB5PR05MB1095;7:hDdoQZxBthfU4LoVaO0EVIqH5qIl/iZR6SnxNExc13zO+vqw993mOu0yckpgmniBHskhlDl6U5AzNBZ3iCOdGFgGPsetpacgdF8ETpPAyVe7adMzW6al93E8Fnvy7c3UNlQWM18PbISazUhwJRGNM3mu50u3BzhiYwACFfgmYC3FR0/UBDqfNsm/nS+JXPgkP4EkYOAuoRkObuzwdaKSD0CeFhKx+jzrPPGHDOeq9md9FVe2HssrkZ0Qv+g458PZKa0OJ57rgYAGAEGjog83m44kaLL2ThPiTHiuFcHIlqyLnDjqwseS34Ws+p6rJSBibZ9b03w68/6my2jQa6Ympj97V5RuyVE02iZGieqYG+c= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2016 06:48:28.9032 (UTC) X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a652971c-7d2e-4d9b-a6a4-d149256f461b;Ip=[193.47.165.134];Helo=[mtlcas13.mtl.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR05MB1095 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 485 Lines: 12 On 10/18/2016 1:05 AM, Arnd Bergmann wrote: > @@ -1309,7 +1311,7 @@ static bool validate_net_dev(struct net_device *net_dev, > static struct net_device *cma_get_net_dev(struct ib_cm_event *ib_event, > const struct cma_req_info *req) > { > - struct sockaddr_storage listen_addr_storage, src_addr_storage; > + struct sockaddr_storage listen_addr_storage = {}, src_addr_storage = {}; Doesn't this still translate to an extra initialization that Doug was worried about? Haggai