diff options
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | 2017-05-30 00:21:40 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2017-05-30 10:55:51 +0300 |
commit | 7d2fdaa694c596671c0d1d8d625966f7eb8cdea8 (patch) | |
tree | c1c86137721e9fa04260c97f38153de860e772e7 /drivers/edac/thunderx_edac.c | |
parent | 7103de0e5872605d34e951fd03c30fe7d87ea703 (diff) | |
download | linux-7d2fdaa694c596671c0d1d8d625966f7eb8cdea8.tar.xz |
EDAC, mv64x60: Check driver registration success
Check the return status of platform_driver_register() in
mv64x60_edac_init(). Only output messages and initialise the
edac_op_state if the registration is successful.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: linuxppc-dev@lists.ozlabs.org
Link: http://lkml.kernel.org/r/20170529212142.25572-2-chris.packham@alliedtelesis.co.nz
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/thunderx_edac.c')
0 files changed, 0 insertions, 0 deletions