]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b7b1d6f6280ded2195155a5273d992950c50e69
tree4bd8f394132db1cf1b29a72d6919350d0b7e8d57
parent4ed2b15f1727a53467a99b6dcc2af8c044780412
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