Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3285162pxm; Mon, 28 Feb 2022 16:28:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQp7yU2NoApFSNkCTmfvPXzATnWZEE05TVESUbgL8+Bu77lM24QtzZNKgsQ+mc6Ib40Njw X-Received: by 2002:a63:e403:0:b0:365:5657:7b4d with SMTP id a3-20020a63e403000000b0036556577b4dmr19354413pgi.130.1646094534849; Mon, 28 Feb 2022 16:28:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646094534; cv=none; d=google.com; s=arc-20160816; b=QJQRBfHxRWBn+OEsKi9UbHaPIBSw1JzhQPqeOM7Xzcia5mxfyieDHl/rX3xHuOZ4NE LuG0J3OivVI7FVgw9UGuiTIsY3fadJfqr5yiEsfDVrpDt09U02+yRoMoGSq9DeaZBeP/ oCiftDrxMK2SxXHb7g6nY9PV56Sokw9EpZ/ba1K59t7qDABddd7PBHXqSlYh3jAyk6u1 uNg0E3Md5l0o2BkVSb+STCRfBa03knVpksvBNEbYdk/fXLSfnOPakGcd74tHiEy0MVX6 R/y8wJ13u7fDKhD5kYYQwz7dioogdsbuYTBHGvlJLnRwKUIefcFAJCn6zNEcoDUwsiJ1 p87g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=jHhhXdYvdwbERT2LG1xSfD5WhTW4Le242Y9B4XkNvMc=; b=FKkIKAEQ0BEBmNLycqo1hsrE6rrJEaoZ6Fk4IpTtmOXqQePRBXE+PfhZUn9qqYn1qW XmoqpieBtZG2zOjZjPRNV76ilWlTXMyOMMh32ipCJBiAEBW5iokPyF7GJsG2HX0FXi8q TLFv28gZ996QDydAw3WgXvk3VNo+tCdPyemPqaWjUltaTIIBXQNb+Fe44qwRjhXbto2+ hWQ6rznJ1TsadrU1+Xgj/FzuezLs236h0kNdfVqzyZgYSk8tnwB1My5Wqb5MP96V0AVf WGQxUVuDkwKL/pxTql8d7cKubONK4zq4MzAhhj7Fgt0ZBnhL9fibKLJXmrCnxweadadB wrqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=xIYZtIP3; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b8-20020a63d308000000b0037589f4d175si10696625pgg.443.2022.02.28.16.28.38; Mon, 28 Feb 2022 16:28:54 -0800 (PST) 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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=xIYZtIP3; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231526AbiCAAP1 (ORCPT + 99 others); Mon, 28 Feb 2022 19:15:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229964AbiCAAP0 (ORCPT ); Mon, 28 Feb 2022 19:15:26 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBFC513F2E; Mon, 28 Feb 2022 16:14:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=jHhhXdYvdwbERT2LG1xSfD5WhTW4Le242Y9B4XkNvMc=; b=xIYZtIP3LfKmvTwJ7lKDXdJQP+ NYarX7erluU6lSzaEJcwjUB8EN7FPIof6PZMXiXJVMLFyhp0vAefyVs4PGTMrPdvdEfADEn8DUS0/ H2/achkGrugQ5zEHuYtyHtOU2BirkHOeDeAb5/TiRlupuCZNqzCqWFTke/f5ThdxBvSY7Ft+cttGL WJvRt5U/IkfhtS2sYkiAbheh/I1IHI41vCWUtjSzMYHAqIsMSyKZXCDNxjEW4Y18myxSh6tuqvwJn 13Wfi8YU6LSnM656UJ08SW2oW/VJyxI1bSOdx7Ccr5p64+etsBcJM3CGFJTYqmMmqI1fOKKIIrwzI rpHdhpLA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:57568) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nOqA4-0000aE-Ev; Tue, 01 Mar 2022 00:14:40 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1nOqA2-0006cU-H3; Tue, 01 Mar 2022 00:14:38 +0000 Date: Tue, 1 Mar 2022 00:14:38 +0000 From: "Russell King (Oracle)" To: Peter Geis Cc: Andrew Lunn , Heiner Kallweit , "David S. Miller" , Jakub Kicinski , linux-rockchip@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] net: phy: fix motorcomm module automatic loading Message-ID: References: <20220228233057.1140817-1-pgwipeout@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220228233057.1140817-1-pgwipeout@gmail.com> Sender: Russell King (Oracle) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 Mon, Feb 28, 2022 at 06:30:57PM -0500, Peter Geis wrote: > The sentinel compatible entry whitespace causes automatic module loading > to fail with certain userspace utilities. Fix this by removing the > whitespace and sentinel comment, which is unnecessary. Umm. How does it fail? > static const struct mdio_device_id __maybe_unused motorcomm_tbl[] = { > { PHY_ID_MATCH_EXACT(PHY_ID_YT8511) }, > - { /* sentinal */ } > + {} These two should be 100% identical in terms of the object code produced, and thus should have no bearing on the ability for the module to be loaded. Have you investigated the differences in the produced object code? If not, please do so, and describe what they were. Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!