From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2B4FC433F5 for ; Mon, 22 Nov 2021 14:07:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232335AbhKVOLA (ORCPT ); Mon, 22 Nov 2021 09:11:00 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:45512 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229984AbhKVOK7 (ORCPT ); Mon, 22 Nov 2021 09:10:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=upueizCiMQuEceGsQAkUcPYoBnUQX/FnhfGm4yPF4Ew=; b=wqvlkKesOkzRaE1mbhhtICnk0R dx1qFizFYxDRWgfbk63DZSp4Gk/ba3+VkZ6BBe0tRHdKMGZftD5WUyq4O4F2/imKWnWXpqqK35gCG OOHO2zeTRs0eda1CRPqzK9obwUY4Ly8lc5hQRA/dyjIDvoBGGw1v6hco5szZWap131bg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1mp9ym-00EIVH-SB; Mon, 22 Nov 2021 15:07:32 +0100 Date: Mon, 22 Nov 2021 15:07:32 +0100 From: Andrew Lunn To: Yinbo Zhu Cc: Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , Masahiro Yamada , Michal Marek , Nick Desaulniers , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: Re: [PATCH v1 1/2] modpost: file2alias: fixup mdio alias garbled code in modules.alias Message-ID: References: <1637583298-20321-1-git-send-email-zhuyinbo@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1637583298-20321-1-git-send-email-zhuyinbo@loongson.cn> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 22, 2021 at 08:14:57PM +0800, Yinbo Zhu wrote: > After module compilation, module alias mechanism will generate a ugly > mdio modules alias configure if ethernet phy was selected, this patch > is to fixup mdio alias garbled code. > > In addition, that ugly alias configure will cause ethernet phy module > doens't match udev, phy module auto-load is fail, but add this patch > that it is well mdio driver alias configure match phy device uevent. What PHY do you have problems with? What is the PHY id and which driver should be loaded. This code has existed a long time, so suddenly saying it is wrong and changing it needs a good explanation why it is wrong. Being ugly is not a good reason. Andrew