diff options
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2017-01-20 12:14:13 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-05 14:37:19 +0200 |
commit | 3d2cbbcbde3d755b012dfce8115b35f53408f648 (patch) | |
tree | ff8e13f297b966990e71cfda5645f9aa85dcc838 /drivers/target/target_core_xcopy.c | |
parent | dac30e3dbd72c0c141de72338b1ca50d7f585771 (diff) | |
download | talos-op-linux-3d2cbbcbde3d755b012dfce8115b35f53408f648.tar.gz talos-op-linux-3d2cbbcbde3d755b012dfce8115b35f53408f648.zip |
amd-xgbe: Check xgbe_init() return code
[ Upstream commit 738f7f647371ff4cfc9646c99dba5b58ad142db3 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/target/target_core_xcopy.c')
0 files changed, 0 insertions, 0 deletions