]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "Prevent NUll pointer dereference with two PHYs on cpsw"
authorAndrew Goodbody <andrew.goodbody@cambrionix.com>
Wed, 20 Apr 2016 15:14:51 +0000 (16:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Apr 2016 16:01:36 +0000 (12:01 -0400)
commit00ab654d8661ae10ae043e7ef61fc02f49b38606
treedd816b84d2d1726079c5a14cf76711e45bb6050b
parent95a58a3ba420a74d48d05e5a5f9cb1efd64fb688
Revert "Prevent NUll pointer dereference with two PHYs on cpsw"

This reverts commit 9e377b3c6a0265b9b00f80a82cf2475daacc02b9

This can result in a "Unable to handle kernel paging request"
during boot. This was due to using an uninitialised struct member,
data->slaves.

Signed-off-by: Andrew Goodbody <andrew.goodbody@cambrionix.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c