[PATCH openEuler-1.0-LTS 02/49] pstore/ram: Fix error return code in ramoops_probe()