[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOiHx==NgT8v+UmM7oqjBxj3OO7deZVYZPiDJR6cy0q1_JV+2A@mail.gmail.com>
Date: Thu, 2 Dec 2021 11:16:22 +0100
From: Jonas Gorski <jonas.gorski@...il.com>
To: Florian Fainelli <f.fainelli@...il.com>
Cc: Andrew Lunn <andrew@...n.ch>,
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 Thu, 2 Dec 2021 at 04:55, Florian Fainelli <f.fainelli@...il.com> wrote:
> 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!
Ah sorry, got sidetracked by a nasty security issue in our software.
Will do so later today.
Regards
Jonas
Powered by blists - more mailing lists