commit | 7262b7b26de1495f77edbe1e71cb15b8198adb9d | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Sat Feb 22 13:09:03 2014 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 24 18:58:10 2014 -0500 |
tree | d6088faba94085e47305f6ad6f71e21e222f3d3a | |
parent | 0e7ede80d929ff0f830c44a543daa1acd590c749 [diff] |
net: stmmac: Check return value of alloc_dma_desc_resources() alloc_dma_desc_resources() returns an error value and the next line actually checks for it, so assign the return value properly. Found by the coverity scanner. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>