]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
mce-amd-k8: Code cleanups
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 18 May 2013 08:15:30 +0000 (05:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 18 May 2013 08:18:02 +0000 (05:18 -0300)
commit813ae45c637eecba9149c96388ea59740fcd76e4
tree37a9beb1cfc6096900ef6c0d3a576435ae4b1941
parent99f943553c4c461ce18c85c8ccf03930853360bb
mce-amd-k8: Code cleanups

Instead of doing the error_msg buffer filling logic everywhere,
move it to a common routine.

That cleans up the code a lot, and makes easier to use the same
code to also handle other *_msg fields on latter patches.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
mce-amd-k8.c
ras-mce-handler.h