Re: [PATCH 1/2] dt-bindings: phy: Update SERDES_MAX to be SERDES_MAX + 1

2018-10-17 Thread Gustavo A. R. Silva
On 10/17/18 5:23 PM, Rob Herring wrote: >>> Friendly ping. Who can you take this? >> >> Applied. No need (nor benefit) to ping me. You can check the status of >> DT patches on patchwork[1]. If it is there and in the "New" state, it is >> in my queue. > > Actually, this doesn't apply to my tr

Re: [PATCH 1/2] dt-bindings: phy: Update SERDES_MAX to be SERDES_MAX + 1

2018-10-17 Thread Rob Herring
On Wed, Oct 17, 2018 at 10:09:31AM -0500, Rob Herring wrote: > On Tue, Oct 16, 2018 at 10:44:52AM +0200, Gustavo A. R. Silva wrote: > > Hi, > > > > On 10/9/18 9:27 AM, Quentin Schulz wrote: > > > Hi Gustavo, > > > > > > On Tue, Oct 09, 2018 at 12:21:36AM +0200, Gustavo A. R. Silva wrote: > > >> S

Re: [PATCH 1/2] dt-bindings: phy: Update SERDES_MAX to be SERDES_MAX + 1

2018-10-17 Thread Gustavo A. R. Silva
On 10/17/18 5:09 PM, Rob Herring wrote: >> >> Friendly ping. Who can you take this? > > Applied. No need (nor benefit) to ping me. You can check the status of > DT patches on patchwork[1]. If it is there and in the "New" state, it is > in my queue. > OK. I've got it. I just didn't know who

Re: [PATCH 1/2] dt-bindings: phy: Update SERDES_MAX to be SERDES_MAX + 1

2018-10-17 Thread Rob Herring
On Tue, Oct 16, 2018 at 10:44:52AM +0200, Gustavo A. R. Silva wrote: > Hi, > > On 10/9/18 9:27 AM, Quentin Schulz wrote: > > Hi Gustavo, > > > > On Tue, Oct 09, 2018 at 12:21:36AM +0200, Gustavo A. R. Silva wrote: > >> SERDES_MAX is a valid value to index ctrl->phys in > >> drivers/phy/mscc/phy-o

Re: [PATCH 1/2] dt-bindings: phy: Update SERDES_MAX to be SERDES_MAX + 1

2018-10-16 Thread Gustavo A. R. Silva
Hi, On 10/9/18 9:27 AM, Quentin Schulz wrote: > Hi Gustavo, > > On Tue, Oct 09, 2018 at 12:21:36AM +0200, Gustavo A. R. Silva wrote: >> SERDES_MAX is a valid value to index ctrl->phys in >> drivers/phy/mscc/phy-ocelot-serdes.c. But, currently, >> there is an out-of-bounds bug in the mentioned dri

Re: [PATCH 1/2] dt-bindings: phy: Update SERDES_MAX to be SERDES_MAX + 1

2018-10-09 Thread Quentin Schulz
Hi Gustavo, On Tue, Oct 09, 2018 at 12:21:36AM +0200, Gustavo A. R. Silva wrote: > SERDES_MAX is a valid value to index ctrl->phys in > drivers/phy/mscc/phy-ocelot-serdes.c. But, currently, > there is an out-of-bounds bug in the mentioned driver > when reading from ctrl->phys, because the size of

[PATCH 1/2] dt-bindings: phy: Update SERDES_MAX to be SERDES_MAX + 1

2018-10-08 Thread Gustavo A. R. Silva
SERDES_MAX is a valid value to index ctrl->phys in drivers/phy/mscc/phy-ocelot-serdes.c. But, currently, there is an out-of-bounds bug in the mentioned driver when reading from ctrl->phys, because the size of array ctrl->phys is SERDES_MAX. Partially fix this by updating SERDES_MAX to be SERDES6G_