Re: [PATCH v1 4/7] device property: fwnode_get_phy_mode: Change API to solve int/unit warnings
From: Andy Shevchenko
Date: Mon Feb 03 2020 - 04:22:53 EST
On Mon, Feb 03, 2020 at 09:13:42AM +0000, Calvin Johnson (OSS) wrote:
> > -----Original Message-----
> > From: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> > Subject: Re: [PATCH v1 4/7] device property: fwnode_get_phy_mode:
> > Change API to solve int/unit warnings
> >
> > On Fri, Jan 31, 2020 at 5:38 PM Calvin Johnson <calvin.johnson@xxxxxxx>
> > wrote:
> > >
> > > From: Calvin Johnson <calvin.johnson@xxxxxxxxxxx>
> > >
> > > API fwnode_get_phy_mode is modified to follow the changes made by
> > > Commit 0c65b2b90d13c1 ("net: of_get_phy_mode: Change API to solve
> > > int/unit warnings").
> >
> > I think it would be good to base your series on Dan's fix patch.
>
> This patch is based on Dan's fix patch https://www.spinics.net/lists/netdev/msg606487.html .
> Commit 0c65b2b90d13c1 ("net: of_get_phy_mode: Change API to solve int/unit warnings").
> Can you please give more clarity on what you meant? Please point to me, if there is some
> specific patch that you are referring to.
Ah, sorry, I meant the "device property: change device_get_phy_mode() to
prevent signedess bugs" [1]. It fixes some PHY initialization issues with the
existing code (thus, should be backported).
[1]: https://lkml.org/lkml/2020/1/31/1
--
With Best Regards,
Andy Shevchenko