Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5109066ybi; Tue, 28 May 2019 07:41:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqxyjcssbw1fT7MlA/ULWYVI5594cJnyOYt3D7tYIezp6olXw0ecF0lvAfgHEM/zHMlgmW5y X-Received: by 2002:a17:902:8c8c:: with SMTP id t12mr60100831plo.116.1559054498739; Tue, 28 May 2019 07:41:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559054498; cv=none; d=google.com; s=arc-20160816; b=vb71H6g94d5I3vtliFDSCCEmWuFY/FB8e44aiiVPu6/MtBaGXSAGO/qVpWS1ABpmQe 3dN6CSn0jAr1KJzZmP2cRsuc4CPMYaF3ALZX2eUGEJhi0EC6ktHIp/CsjnvXjd+dUgU5 MKtMqpWbWcujE9RuGfrDe6h1iLeKr5Cag6nrOdNRdS1ZFPr8pua/kEJVyqKREQ3oOhQp 0k+OQk1UCjqJwjrQcv55E3t3yhksE4mOeQVuzIE172jeIp0KOoIUFZlNqT9Kqi2f4II0 YFyoO6nK4GpuZd9j3HVpDr16ycU58akyGNY4YvJhhFXRSFLnDcX59ZkeHxgT0wMW4hZa 4Ucw== 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=qGDwWypZZ4eJ/C1s8L1Asfv3QGVTeLnW226BrN1Qhsc=; b=T5r1axxvmxhlkMGH0tHa/PE9tH3rK/1/Dw1mBkuBYCcGtxALej6KvnmcDtWogrZVDT AL4WEqX/PtBVdmKpO8TF/oGz/0JRiSP6Jkn8DWAlR0dhOoVA7WK8bCFDkuMfngBnBumH GWjlc3kuXPLyPXxMt+pVeeN46PgNan5NA7l3cCVqhMG33mAfRcMTl5J4Z4P0T1L8HGxu piacaUBKE+li8oqzCdl4xdzVXenoUNK3B4VLuqZFEE+VYs1g3z2+DaWs5u2J42MeaTMq nr45IZDVnQg5sDNQiQEIsEh96YWewdh6NRS1fXS56M1bK2hjcM1iVEDM63qeh81rymIk Ziug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector2 header.b=YQGVulZ5; 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 s11si22084658pgm.376.2019.05.28.07.41.22; Tue, 28 May 2019 07:41:38 -0700 (PDT) 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=selector2 header.b=YQGVulZ5; 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 S1726592AbfE1OkN (ORCPT + 99 others); Tue, 28 May 2019 10:40:13 -0400 Received: from mail-eopbgr40067.outbound.protection.outlook.com ([40.107.4.67]:8762 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726481AbfE1OkN (ORCPT ); Tue, 28 May 2019 10:40:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qGDwWypZZ4eJ/C1s8L1Asfv3QGVTeLnW226BrN1Qhsc=; b=YQGVulZ5z7NJ6Y+7Ncw81kQTJTMvi/yaAkx9J6Lfh3Cln1v8qpTAA7t6WmcKRuWBsr9Xhd8Ve0zHECa6KNfSRl+nNrnKw/YH+LeyjG+lv4ts/dGuNSbQ9MYT54CdkgCWeoVne2I9il9y6KlEJcaZgUtI7sgSK8WbCPXEhY+rBEA= Received: from AM0PR0502MB4068.eurprd05.prod.outlook.com (52.133.38.142) by AM0PR0502MB3892.eurprd05.prod.outlook.com (52.133.50.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1943.16; Tue, 28 May 2019 14:40:08 +0000 Received: from AM0PR0502MB4068.eurprd05.prod.outlook.com ([fe80::6073:86f:d8a5:e427]) by AM0PR0502MB4068.eurprd05.prod.outlook.com ([fe80::6073:86f:d8a5:e427%6]) with mapi id 15.20.1922.021; Tue, 28 May 2019 14:40:08 +0000 From: Eran Ben Elisha To: Geert Uytterhoeven , Igor Konopko , David Howells , "Mohit P . Tahiliani" , Takashi Sakamoto , Matias Bjorling , Jiri Pirko , "David S . Miller" , Jamal Hadi Salim , Cong Wang , Clemens Ladisch , Jaroslav Kysela , Takashi Iwai , Joe Perches , Arnd Bergmann , Dan Carpenter CC: "linux-block@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-afs@lists.infradead.org" , "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 5/5] [RFC] devlink: Fix uninitialized error code in devlink_fmsg_prepare_skb() Thread-Topic: [PATCH 5/5] [RFC] devlink: Fix uninitialized error code in devlink_fmsg_prepare_skb() Thread-Index: AQHVFWEYr6PWoO5LskiotnwgE/6kraaAm7cA Date: Tue, 28 May 2019 14:40:08 +0000 Message-ID: <0f92eb11-20b5-c50b-1577-d3896f28c73b@mellanox.com> References: <20190528142424.19626-1-geert@linux-m68k.org> <20190528142424.19626-6-geert@linux-m68k.org> In-Reply-To: <20190528142424.19626-6-geert@linux-m68k.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6P192CA0056.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:82::33) To AM0PR0502MB4068.eurprd05.prod.outlook.com (2603:10a6:208:d::14) authentication-results: spf=none (sender IP is ) smtp.mailfrom=eranbe@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4a896751-60d3-4369-5f3e-08d6e37a616d x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:AM0PR0502MB3892; x-ms-traffictypediagnostic: AM0PR0502MB3892: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 00514A2FE6 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(136003)(366004)(39860400002)(346002)(376002)(189003)(199004)(305945005)(4326008)(6512007)(66946007)(66446008)(64756008)(66556008)(66476007)(7736002)(73956011)(7416002)(6436002)(6246003)(229853002)(2171002)(6486002)(25786009)(14454004)(53936002)(31686004)(316002)(54906003)(110136005)(6116002)(3846002)(6506007)(386003)(52116002)(99286004)(66066001)(2906002)(8936002)(5660300002)(8676002)(53546011)(81166006)(2616005)(81156014)(476003)(71200400001)(71190400001)(186003)(102836004)(256004)(446003)(478600001)(14444005)(68736007)(36756003)(86362001)(26005)(11346002)(486006)(76176011)(31696002)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR0502MB3892;H:AM0PR0502MB4068.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: lE27RtcEefp9ltSt6Kv+xlAnNQ3LF7Dytl0hgc7GSB/ClPcCgdkne7kqy1z3lQ59g1O0T7jLwbt47LXR0y4P2uvx7jIyFnHNXeibMbMxVtrBJ6cJus8d/fb11Po7iHU8DDSOQMTK0iWyvQcDkjvMwkrGwY1aFe+sD/K6npafjBu/fovDJVP0GroIG83LBn1tXbshl19+i69yntq9bMc6D9pWH/YRNdwVLi4bwXt1JFLvarMwqImNAQx9QyJP9/IPiAEkm7pk4kzscHEuml1xqZMKamVoUv9zE52z8ZwdBmZgf9Yc/Bar7MLYat3KUJpcMy2lEplcyBQZvPG4BkT+kz6B/JpjoD8kZMj9nTnPx/DzewsjApugXV3tjMEiyppOXeF18i4fKDjQAHjf+kvluhiZMiTTO9yjKdKjEFjg6xE= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4a896751-60d3-4369-5f3e-08d6e37a616d X-MS-Exchange-CrossTenant-originalarrivaltime: 28 May 2019 14:40:08.5523 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: eranbe@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3892 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDUvMjgvMjAxOSA1OjI0IFBNLCBHZWVydCBVeXR0ZXJob2V2ZW4gd3JvdGU6DQo+IFdp dGggZ2NjIDQuMToNCj4gDQo+ICAgICAgbmV0L2NvcmUvZGV2bGluay5jOiBJbiBmdW5jdGlvbiDi gJhkZXZsaW5rX2Ztc2dfcHJlcGFyZV9za2LigJk6DQo+ICAgICAgbmV0L2NvcmUvZGV2bGluay5j Oj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