Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1461271pxu; Thu, 17 Dec 2020 10:26:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQZE/BQuq2pUYfk1lyOkNgsLe0q21rPXCDKu6UTcHsH4FPmkNr3pNzChGBoJq3QgXIfZkk X-Received: by 2002:a17:906:b14a:: with SMTP id bt10mr315441ejb.458.1608229592678; Thu, 17 Dec 2020 10:26:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1608229592; cv=pass; d=google.com; s=arc-20160816; b=vb43Ydj8dz/CoVURGl/2FUHD3NW3NH8Zf26b45r9zz2cFmo7xiW2rQ8YpY8Pd7yiVQ PMFlEl6DDEfqoZ8PdntP2SMyQZcNPW/9xQCK7XUuGBm/unr+G1OV9I5Dnzmw4+RHohjc dJjM1yjoHm1DOIytCMkeziwoHXOlRaz5zKkvDon8BWFADkzuhdw8no6om9eXbK73sLt1 Ug5RMsC18Jm46bKzF3Vn1ccDjSXBgfr4Ypza4ZUEqrLRoTBJEXCJ5dsnZr4ZPPemKVrK bnJXjPS6H+n7dMwrZOvqvIqNmDiwhv8ypQ9qB16Mr6qhBkopkmiO8e03uPts5VNBF5l/ jq+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=pzpKzTK7iPROAO4dv1iT2U5iakb9NowWPBs8tmPXrCs=; b=vSLsVsuZnwYg57mtOWtrgKyex7DcCawFboQpegbBXJ2knxjjaD9Kc5fZnZqKPD0Tdd JrAcZTVG0LINi+NXMYYalZCvqNTunjay5I16f3+R5+g1v//RZiG+XX/d1DIriZoESR3e L4BKX7xyOTvEJHH3a51jhgSSC+0Upk/yBia2BHI1AhVVQ9Ne/THqQRQdnhqPXh9xp1MF RlmncNevFyeXz8MJJEHMQwUWfsXsgVVuop3/Y6nxvS/u+KRDYEebsr3X5Ur6PqpgMsej fIIrCUjJRoqtyGcI4UUxw668UJUQBzB/yFgxY4B9P0aQfMj/35X9s/0r1WorqZChLZXF VYhQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b="bN/YQb3+"; arc=pass (i=1 spf=pass spfdomain=xilinx.com dkim=pass dkdomain=xilinx.com dmarc=pass fromdomain=xilinx.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id no7si2922192ejb.586.2020.12.17.10.26.09; Thu, 17 Dec 2020 10:26:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b="bN/YQb3+"; arc=pass (i=1 spf=pass spfdomain=xilinx.com dkim=pass dkdomain=xilinx.com dmarc=pass fromdomain=xilinx.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730834AbgLQSYq (ORCPT + 99 others); Thu, 17 Dec 2020 13:24:46 -0500 Received: from mail-mw2nam12on2081.outbound.protection.outlook.com ([40.107.244.81]:56545 "EHLO NAM12-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730789AbgLQSYp (ORCPT ); Thu, 17 Dec 2020 13:24:45 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RBAYs5m1EJutaaqtKemkRfLaaIJL5X4njvQqfdxUxjc93FBn+Q4GlFiyT5qT07wd6fV+Y4QCrCxSSEV4uH+xMQVqjgj2AeHhmpTFRLu+q/MxVUtRW5nZd3nW+McB+le0wEC/vfpDkffJc4usHugi9aO6FtNFdPrfPxSYHpu8xFZt4fwQABrDEngYu3g+dPCGl+/247HXYz+5yHyKiHz3G22XOB6l6OK5pj8y/lPnPeyXtUzlZ3qKspL7M5tvP85gjEO3l+QDqW2W/j/3pQNki8GbknjSotL3NlNKxO9ut+33I++0A2bCkSuReiZj1OEl67Ap4L7tee+ep60/c7oMUg== 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=pzpKzTK7iPROAO4dv1iT2U5iakb9NowWPBs8tmPXrCs=; b=KCIJNvrC15fXG7cMGo3KGrsukm5XhvMSNkzqOYvFS1mmWy8YAdq1WYkG5mJ1phRLhOcRosyYLYSVh+Ccvx3hgHwM61l4BO/Ki03LyfRw6VQGqV7K8poPriVn2CTBeV5XPvvaGP+XrGaMkWbsyRfk7V3z0KUqRkBuy5IJEwiWbXR1+EU4v/XfXcTDYcHhise8kN6mSAKxU+j2OuDU/Mjv0J2vVi205ULqFPauSkZkBU+QWAijD625lI43NkOrXrZTWEW0h94UBRAO9/ia8Ybb21stPxnmjFtciHW0gEtQbQ050o1I8HQoNAnzfdGzoclaIWM+UbMDlyF5vImzFvW4sA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=xilinx.com; dmarc=pass action=none header.from=xilinx.com; dkim=pass header.d=xilinx.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pzpKzTK7iPROAO4dv1iT2U5iakb9NowWPBs8tmPXrCs=; b=bN/YQb3+Gjb7Zhcol2vHOVSwdXbwv5zVWk7yspO8nOJ7NzC66LiwxHljSFzW/lXmb2EPwFo/8t7ntd9AdMD27I1CZONrDiU1dSDvDGfjn/TBlAshp7NaOyGWUtJjRYVY0+iTGHJYbx7GC26clt56v/1Jx5lR18Rh3q9xMWEA2iQ= Received: from BYAPR02MB5638.namprd02.prod.outlook.com (2603:10b6:a03:9f::18) by BY5PR02MB6129.namprd02.prod.outlook.com (2603:10b6:a03:1b3::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.20; Thu, 17 Dec 2020 18:23:50 +0000 Received: from BYAPR02MB5638.namprd02.prod.outlook.com ([fe80::c04a:e001:49fc:9780]) by BYAPR02MB5638.namprd02.prod.outlook.com ([fe80::c04a:e001:49fc:9780%4]) with mapi id 15.20.3654.025; Thu, 17 Dec 2020 18:23:50 +0000 From: Radhey Shyam Pandey To: Denis Kirjanov CC: "davem@davemloft.net" , "netdev@vger.kernel.org" , "kuba@kernel.org" , Michal Simek , "mchehab+samsung@kernel.org" , "gregkh@linuxfoundation.org" , "nicolas.ferre@microchip.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , git , Shravya Kumbham Subject: RE: [PATCH net v2] net: emaclite: Add error handling for of_address_ and _mdio_setup functions Thread-Topic: [PATCH net v2] net: emaclite: Add error handling for of_address_ and _mdio_setup functions Thread-Index: AQHWvNph+cTMJcpqKU6e5Ro4uvdh2anMTRgAgC97KmA= Date: Thu, 17 Dec 2020 18:23:49 +0000 Message-ID: References: <1605614877-5670-1-git-send-email-radhey.shyam.pandey@xilinx.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-TNEF-Correlator: authentication-results: linux-powerpc.org; dkim=none (message not signed) header.d=none;linux-powerpc.org; dmarc=none action=none header.from=xilinx.com; x-originating-ip: [149.199.50.130] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 79ec7b1a-5a3e-4efb-f1d3-08d8a2b8e6dd x-ms-traffictypediagnostic: BY5PR02MB6129: x-ld-processed: 657af505-d5df-48d0-8300-c31994686c5c,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1332; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: A8zBAW57VTGGLwJJiBj+QUrVsHnxN9HHQuxYbftf3YPnIcxDMlXi38RIKki/WN6uepnmN5/tqSDmiLX9dPUtXUY17EOMbVF4uAqPvQo+2gG05rO1bquFP4HO1k+/fl5Jq1OVe+jlU0fWdoq9OnhGU2fb3zrFuPS5IWPgG3YsGvO+BhXhyBXULlsE/H19sxI+Y49hhWt9M1XgYJ5EqvuuWsh13BBD73USyjI6UDKgPkMiMpuvhENgzAIURdFJBfvVRXtb1jPLn2sVYkgn69OWbrvPY294/KP4ldFfwVj+38LQ99C563BZxW04KkeVdMQLMHfvfPrXqVmbOBj1phdZKw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR02MB5638.namprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(136003)(39860400002)(366004)(346002)(396003)(86362001)(26005)(64756008)(66446008)(66476007)(8936002)(316002)(9686003)(2906002)(54906003)(76116006)(7416002)(53546011)(7696005)(55016002)(6916009)(4326008)(186003)(33656002)(6506007)(107886003)(66556008)(66946007)(52536014)(83380400001)(8676002)(478600001)(5660300002)(71200400001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?eW9rZ0wrNWlvVXAwUFg1LzR6dUg2L2N3dGs3aE43WHNSa0VwRXFOWmZQU1V4?= =?utf-8?B?V3ZiZ01nQnppdkM0d3QzTlh1cUJVcDVSK3hj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GRlBlWHVPSGJoZ2xtUkNKQ0hyTnRkdW4wdWM2M00y?= =?utf-8?B?Q2xWUEJwNHZ0ZXBacTRjRUpxRkhMUThQdVduajM5ZXJhWVNjOVpFRVBlNngz?= =?utf-8?B?MWQ2VVB1WUVRZlJnRElJR3JtYkVYMVFzT2NWc29kVWcwQUw5TkxoZHZhQzVG?= =?utf-8?B?V0cyNVdCaWpuVUhnRnJPV2FZYlVqQjV5SmRrL1R5MUZ4YjQzaXgzc1VuUlow?= =?utf-8?B?NithWHRBSXBtRE54S3FBUXdUUXJ2ck0rTDh5allmNnMzY1AvMFlMVWhTTmZN?= =?utf-8?B?cWhlUkJFd2hnU2sxYTRFaVBMTmdtM3pvYXhMYm5LU3BhWVZaaCt3aXFBTG9G?= =?utf-8?Q?/unamelvP0wLE=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR02MB5638.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 79ec7b1a-5a3e-4efb-f1d3-08d8a2b8e6dd X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Dec 2020 18:23:50.2423 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: avgzTjbIheyYSIC8J7I6ixBj2Du2BIqck5VfwF+Y1tGTD51SEGf3npHG6eT4OUaV7XzIokEnvXJu8MWrqKc2Hg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR02MB6129 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBEZW5pcyBLaXJqYW5vdiA8a2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