EDAC/mc_sysfs: Make debug messages consistent
authorRobert Richter <rrichter@marvell.com>
Mon, 2 Sep 2019 12:33:47 +0000 (12:33 +0000)
committerBorislav Petkov <bp@suse.de>
Wed, 4 Sep 2019 09:39:19 +0000 (11:39 +0200)
commite701f412030ec3783f1c30c7741492693d6213e3
tree4bd8f394132db1cf1b29a72d6919350d0b7e8d57
parent644110e17d26e51f9f33830753cc899500d5d384
EDAC/mc_sysfs: Make debug messages consistent

Debug messages are inconsistently used in the error handlers. Some lack
an error message, some are called regardless of the return status,
messages for the same error are at different locations in the code
depending on the error code. This happens esp. near put_device() calls.

Make those debug messages more consistent. Additionally, unify the error
messages to have the same terms for the same operations of the device.

Signed-off-by: Robert Richter <rrichter@marvell.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: "linux-edac@vger.kernel.org" <linux-edac@vger.kernel.org>
Cc: James Morse <james.morse@arm.com>
Cc: Tony Luck <tony.luck@intel.com>
Link: https://lkml.kernel.org/r/20190902123216.9809-5-rrichter@marvell.com
drivers/edac/edac_mc_sysfs.c