[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f105e251-e8e9-2179-ce74-3d7739844370@gmail.com>
Date: Wed, 1 Dec 2021 19:55:26 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: Jonas Gorski <jonas.gorski@...il.com>, Andrew Lunn <andrew@...n.ch>
Cc: Rafał Miłecki <rafal@...ecki.pl>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Yang Yingliang <yangyingliang@...wei.com>,
Dejin Zheng <zhengdejin5@...il.com>,
Network Development <netdev@...r.kernel.org>,
bcm-kernel-feedback-list <bcm-kernel-feedback-list@...adcom.com>
Subject: Re: [PATCH] Revert "net: ethernet: bgmac: Use
devm_platform_ioremap_resource_byname"
On 11/18/2021 1:14 AM, Jonas Gorski wrote:
> Hi Andrew,
>
> On Wed, 17 Nov 2021 at 17:42, Andrew Lunn <andrew@...n.ch> wrote:
>>
>> On Wed, Nov 17, 2021 at 05:07:18PM +0100, Jonas Gorski wrote:
>>> This reverts commit 3710e80952cf2dc48257ac9f145b117b5f74e0a5.
>>>
>>> Since idm_base and nicpm_base are still optional resources not present
>>> on all platforms, this breaks the driver for everything except Northstar
>>> 2 (which has both).
>>>
>>> The same change was already reverted once with 755f5738ff98 ("net:
>>> broadcom: fix a mistake about ioremap resource").
>>>
>>> So let's do it again.
>>
>> Hi Jonas
>>
>> It is worth adding a comment in the code about them being optional. It
>> seems like bot handlers are dumber than the bots they use, but they
>> might read a comment and not make the same mistake a 3rd time.
>
> Sounds reasonable, will spin a v2 with a comment added.
I just hit that problem as well refreshing my Northstar Plus to boot
net-next, are you going to submit this patch in the next few days? Thanks!
--
Florian
Powered by blists - more mailing lists