[PATCH 5.5 285/399] EDAC/sifive: Fix return value check in ecc_register()