Re: [PATCH net-next] net: axienet: move use of resource after validity check

2019-06-13 Thread David Miller
From: Robert Hancock Date: Tue, 11 Jun 2019 10:56:02 -0600 > We were accessing the pointer returned from platform_get_resource before > checking if it was valid, causing an oops if it was not. Move this access > after the call to devm_ioremap_resource which does the validity check. > > Signed-of

Re: [PATCH net-next] net: axienet: move use of resource after validity check

2019-06-12 Thread Andrew Lunn
On Tue, Jun 11, 2019 at 10:56:02AM -0600, Robert Hancock wrote: > We were accessing the pointer returned from platform_get_resource before > checking if it was valid, causing an oops if it was not. Move this access > after the call to devm_ioremap_resource which does the validity check. > > Signed

[PATCH net-next] net: axienet: move use of resource after validity check

2019-06-11 Thread Robert Hancock
We were accessing the pointer returned from platform_get_resource before checking if it was valid, causing an oops if it was not. Move this access after the call to devm_ioremap_resource which does the validity check. Signed-off-by: Robert Hancock --- This bug was introduced in my recent axienet