commit | 738f7f647371ff4cfc9646c99dba5b58ad142db3 | [log] [tgz] |
---|---|---|
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | Fri Jan 20 12:14:13 2017 -0600 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 22 16:57:14 2017 -0500 |
tree | 1ae1371dc4273cb2ae058ee6eb6122fc05bd13e2 | |
parent | 4eccbfc36186926b570310bfbd44f4216cd05c63 [diff] |
amd-xgbe: Check xgbe_init() return code The xgbe_init() routine returns a return code indicating success or failure, but the return code is not checked. Add code to xgbe_init() to issue a message when failures are seen and add code to check the xgbe_init() return code. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>