Received: by 2002:a05:6a10:144:0:0:0:0 with SMTP id 4csp478550pxw; Fri, 8 Apr 2022 12:20:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvS/Z95Jjkv5pUpqEJxoZRQDTvwNZeRkoPkdo1/Lf05U6N/op4kazMv3wgWca9ISgKjTQL X-Received: by 2002:a17:907:6284:b0:6e0:f895:15a with SMTP id nd4-20020a170907628400b006e0f895015amr19980224ejc.713.1649445604406; Fri, 08 Apr 2022 12:20:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649445604; cv=pass; d=google.com; s=arc-20160816; b=C2nDRzu4HR0FKi8l3K6lAt5E0B7rfaR0wXtYXWh6InaRcsS3JBOF4o2Kr6/8q2oznj adUpnyx8bFdjn7w8Vnas3FD1IdZ5QoJS8L8ZXxRwlWgu2k15ZgD2ZlnCouxU2Wq+ciXV snqCYMR2+sgvYdQgBcEDxS+NrxA3VbdhB9hzHdxR+Y02jyxpYq6l5tlcG5HOFnc8y8Xz EqeeOtobJsE9C+XISw2HIaKfWr2W4m/KqhMIlXPcRyiFd6RDNxgYQ5qg5Y2sjrPZjZKQ xaoiq3tDONZ9huD6NiSJflQ9I2RYAvaSqI5MK5CzJtHU2n0Ft4ue5qnD/aXdy7Featxs Zg/Q== 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-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=L/6D5RxLNpSNxg9wMQ/i1u1j/a5rQqspgCgdDfC2/7E=; b=qG5GQ7+h3uKZWD1/kxe5j6jO2zL3VVUtLj9KOqyA1ytmsOcNzYH43JpN7eSlAtDnET 4UQudMZE8/gH0HZRFmV7N9AX94JjwHnoAdf/ZotKTk412NEpCuh0FJDra3VTwAD3fH5A Lx+WWMGidEPhjhZTU1oRQWvwHipnvPnb4IPA89SNDgQeplcY+9jj63nxh9ekjVNuyTTm Tz1x4wFKZ2Si7001YQU9Y/YdUsRdrRrmsVZgH1b5AQmz1On8AgcTb56uTE0D0cm89jiz D9ybDesdivyzp6FtEcwRDWUcRoDLod9SSeFsUqaY+NtNq+unAQ6NjCx33aHkdVHmw82f 4IZA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=m83433u4; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id zg1-20020a170907248100b006e0d34b7dadsi1522427ejb.943.2022.04.08.12.19.39; Fri, 08 Apr 2022 12:20:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=m83433u4; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235941AbiDHMvE (ORCPT + 99 others); Fri, 8 Apr 2022 08:51:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235932AbiDHMux (ORCPT ); Fri, 8 Apr 2022 08:50:53 -0400 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140077.outbound.protection.outlook.com [40.107.14.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89AB3996A3; Fri, 8 Apr 2022 05:48:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m8t7mYOKh4Gxs58FmK43/vGXBcaXL6Q56mALbdrnMLqhR7Qr2+ChU/bTJr3KgDbc3F9qYqfRml63JlsnRs75wTKgf6i1N/QuKVIH9Sxzgbqq7Cha+cyvKWfudkxh997UfQfFP3KTAXX0Vw0BxAxDRdbiHhXFImAWu4b2vGQiKXlyoqIEPNztnzA1j7Qzo8W7BFHpqW2qf/98U2B6wTST+KAWZ3HNO4IE3PJJHzxHrRti6W7mbq0F6vK/N7anoim9CrnFfy+ljHLhXMEXCjD940ELZ7dN4IptMOXZuZGpQ3yYHbdzDgUheDfceDplye2QKsvjYFYvDgSFSTl7swKFFQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=L/6D5RxLNpSNxg9wMQ/i1u1j/a5rQqspgCgdDfC2/7E=; b=AL7B4BxqdFPwAb9BI6zy7fwO6tL/tfb0wXELCd4sKGMl+PNfWBVk1U5QiqXxpxvyzj6g6KTpbxlxhtGpKde9gONrLVeANz5Jo7ZcqpPVM4o/KEHIxATJ5oOH7yB/6CuxtbRPFjVMJ+FSuRKiPUjyEhUGoayXVaNJoFUTiu5e69OMl0we9LFL5Oe8mXuPmaHyGyhbFNYcy6bZx2/fEdIULK2r7rcY7xJsGvE0+CE2paUhmqbKIIk65BJ8LtC5d5aUiEMEAxI5MMwzCXWPZafjlusPyIIb/kRgyYTLuw2nRFIir4cdUtX7G2ohvuIVOcKTOu3ns0fZ4JIzOw2dbDkqrw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L/6D5RxLNpSNxg9wMQ/i1u1j/a5rQqspgCgdDfC2/7E=; b=m83433u4h8Td5//LdgoiM2oQYe/b1oczWPBGTPO2JCleBEGB8ghCRcaO6K3m+JXeOoJGTUjwnclZF19JcPY3OkXviMykRUinuIuYr6/hZ+rOkaETfz+H4btY5W6OCSs6s4I25wYi4+VP3TidABE2gfnSs0zjnlobMJQ4WoK3oII= Received: from VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) by VE1PR04MB7453.eurprd04.prod.outlook.com (2603:10a6:800:1b0::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.22; Fri, 8 Apr 2022 12:48:48 +0000 Received: from VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::8ed:49e7:d2e7:c55e]) by VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::8ed:49e7:d2e7:c55e%3]) with mapi id 15.20.5123.031; Fri, 8 Apr 2022 12:48:48 +0000 From: Vladimir Oltean To: Colin Foster CC: "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , Paolo Abeni , Jakub Kicinski , "David S. Miller" , Russell King , Heiner Kallweit , Andrew Lunn , Florian Fainelli Subject: Re: [PATCH v2 net-next 1/1] net: mdio: mscc-miim: add local dev variable to cleanup probe function Thread-Topic: [PATCH v2 net-next 1/1] net: mdio: mscc-miim: add local dev variable to cleanup probe function Thread-Index: AQHYStmBfKpjw0kok0qtTUik7cmjGKzl+EaA Date: Fri, 8 Apr 2022 12:48:48 +0000 Message-ID: <20220408124847.zmbk2umwyxsxsr7n@skbuf> References: <20220407234445.114585-1-colin.foster@in-advantage.com> <20220407234445.114585-2-colin.foster@in-advantage.com> In-Reply-To: <20220407234445.114585-2-colin.foster@in-advantage.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 817b4db2-a68b-4dc7-6dd0-08da195e2047 x-ms-traffictypediagnostic: VE1PR04MB7453:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ykOKlUEGb/mH9l62y0AJJ2D1n5sAFPrT5vEhw89kcRGOuJszSaPls4CdZi/QSVopOORFdJ85tdPXkDTHuJHsiz2lSz4hrT+To/c4RWlAPBUzJnAcZmWwEH3JMCtkJWfFA/FUptxMtmGIJ5tY7Fri1eiWu4WnjbLbb0JJqoYQjA8ViA7OMjZCtbqN5B4r4O2wntewqeZREOu8Q4yn/mcU0ngZynq6sMtrEUvAUiimVIe3/2Lw2uNdgNQ8oUwDQlXFkzC+rSE9K+uo2YDLbzt1xVmvsf62yeyrRuThp8ydFva9yJ8HkAxYBl+LLkkMfgTqmTxILN1BjPIi5Vz4nVGdAR5tKCQCbFL8KY/BVl4kvDRHDh/fq3gSl77NP4+YdFxdimsLjgzsCQ7t8HQMQDknhaUHtBPXwJhEPVL7DPeYjLVZlMKqg76G7KrGSzQPuyqZSl3QFoCQJ09TA17iKPhjpXPizYfDxxmbNqSDEyqR8XRzpvUZHHgkMLYn+764v5Jr5Hpvk6TS+bfLQr5vb0tdNjn8ZWHWdIirz7X18uLg2ejXPTEb3Me+U0ZbgE0zQcdeSgL4Z2mrkXhPajpOa2j4kGThH5hGt6j3kOrF9o26PFEdORvKTk/iptD17X1McIR9hqxDUjd7269U1aOtsxa6yPMojkz9Z0X1fBLPxwXjyOFGuA0ABj3JRZ1VeP65y0xkRMHMKUX2Sa70KPqQK9mh1Q== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5136.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(7916004)(366004)(2906002)(5660300002)(6506007)(7416002)(186003)(38070700005)(26005)(66556008)(66476007)(9686003)(6512007)(316002)(38100700002)(44832011)(64756008)(66446008)(76116006)(86362001)(8676002)(4326008)(71200400001)(66946007)(8936002)(1076003)(83380400001)(6916009)(54906003)(6486002)(558084003)(91956017)(508600001)(33716001)(122000001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?lTT+qk1VcBv+/Ovjgek+DwGx2BrcMaj0zCWrcCJohw957/fFDlnx9wDNh035?= =?us-ascii?Q?O6FciLwh3XGAm9FKkKCMEns1lhmGl73bIYqNjG+aL692n0E2SGRbx4NkQUIS?= =?us-ascii?Q?xCEzkCmUWgdJk3zXph0qsmSywAgGp6PBA5U2UPvBHOAnMcNC5XDtf2AYMNZr?= =?us-ascii?Q?DeyaaBxCGeRcfHL6iBFT6eWHW6geJ4LmIOL9jSqxK3NTR0pyHSGHLH6V+YvY?= =?us-ascii?Q?NmRgmMUcKdvdLSztv5EROMNZRgA7eff3a5CnCPuPUbAe+ARUVShIlHcNQETd?= =?us-ascii?Q?kOlsUgZnXejnqwkb8lm5p+FQ9F4BuJfDEZnROE2KdFDAfAEujJdyniPfCStT?= =?us-ascii?Q?DCWYcBjOCZ03D77gJEzw4hF9MNMan2jyyU7Y92nP9Se82tNP+HdAglT5A7xg?= =?us-ascii?Q?ycDNRvfJLXF95JKMY37jqYFLmkj+QSgdnb09nr088PlWtlXogq2sga9Yry2W?= =?us-ascii?Q?F+cIG/EGGHewIWYNXC0eOvBb46UIE0XdXMKxFdcZ192ZxMI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11+DlFbwXB3TREYJYX5Yy71RoCa5AxA+6?= =?us-ascii?Q?LCjV9tN0YCygiKPG6zPvv7Jjs/ZM3A1+plwWgbayjw8mnCqBR1Yv3xPkCPNp?= =?us-ascii?Q?Z0MM8kq6ZQb+pL/iYz0a41o9BBkUIyO6p9N3tzVXVTC163fbCLGgVDxq1tZa?= =?us-ascii?Q?SXXF0ddhUGLj1/L+45gP7SZKTyVjFD8vNR+4KLryoSThX2XQH9raO6UAU1Np?= =?us-ascii?Q?4btBlIqojL09jnzr/Gq8MT98v2+xFpGcJ0hXdcpVI9iZDjvXvvPvwRMDOXAa?= =?us-ascii?Q?cvtoiFajObmYz4/P0XgTTY8+KahJN09+d4hDM7IpQm0ZCSqPWwoMkoMpdb2L?= =?us-ascii?Q?3hJmCOa4ZQp416Lsk831a+o2HbGtW70=3D?= Content-Type: text/plain; charset="us-ascii" Content-ID: <16917EE6E641DE43B8FCB4436849A3AD@eurprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5136.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 817b4db2-a68b-4dc7-6dd0-08da195e2047 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2022 12:48:48.4737 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: vmsmAqc/NQ7jipzCXTY6bg8mAZv8st8ipnGZx6NuLqZU9tC3gp92xufoUYPgm/450iyoBf+Zd3keDZR0CmxASQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7453 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 07, 2022 at 04:44:45PM -0700, Colin Foster wrote: > Create a local device *dev in order to not dereference the platform_devic= e > several times throughout the probe function. >=20 > Signed-off-by: Colin Foster > --- Reviewed-by: Vladimir Oltean =