stmmac: fix NULL pointer dereference in capabilities fixup (v2)
commite2c57f839c63f452b4704e048c8db9cf669ed410
authorAngus Clark <angus.clark@st.com>
Wed, 26 Oct 2011 19:43:08 +0000 (26 19:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Oct 2011 03:17:11 +0000 (27 23:17 -0400)
tree8e3553d961db5fc5de5e83ba5469b0e0cbcbdfc3
parent5e6efe88c54ad79353666f5371b5b97c0e16111e
stmmac: fix NULL pointer dereference in capabilities fixup (v2)

Signed-off-by: Angus Clark <angus.clark@st.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c