Re: net-next: KSZ switch driver oops in ksz_mib_read_work

2019-06-12 Thread Andrew Lunn
On Tue, Jun 11, 2019 at 04:27:47PM -0700, Florian Fainelli wrote: > On 6/11/19 10:57 AM, Robert Hancock wrote: > > We are using an embedded platform with a KSZ9897 switch. I am getting > > the oops below in ksz_mib_read_work when testing with net-next branch. > > After adding in some debug output,

Re: net-next: KSZ switch driver oops in ksz_mib_read_work

2019-06-11 Thread Florian Fainelli
On 6/11/19 10:57 AM, Robert Hancock wrote: > We are using an embedded platform with a KSZ9897 switch. I am getting > the oops below in ksz_mib_read_work when testing with net-next branch. > After adding in some debug output, the problem is in this code: > > for (i = 0; i < dev->mib_port_cnt;

net-next: KSZ switch driver oops in ksz_mib_read_work

2019-06-11 Thread Robert Hancock
We are using an embedded platform with a KSZ9897 switch. I am getting the oops below in ksz_mib_read_work when testing with net-next branch. After adding in some debug output, the problem is in this code: for (i = 0; i < dev->mib_port_cnt; i++) { p = &dev->ports[i];