]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
EDAC, amd64: Improve amd64-specific printing macros
authorBorislav Petkov <bp@suse.de>
Thu, 1 Dec 2016 10:35:07 +0000 (11:35 +0100)
committerBorislav Petkov <bp@suse.de>
Thu, 1 Dec 2016 10:35:07 +0000 (11:35 +0100)
commit5246c540073fb3d6f9aae87215f297e4895e89b3
tree804e0ebcd57a7ab5925f8e2c5addfafe19324b17
parent95d3af6bd18f381b5b1c62f117ce7f152a5db3ea
EDAC, amd64: Improve amd64-specific printing macros

Prefix the warn and error macros with the respective string so that
callers don't have to say "Error" or "Warning". We save us string length
this way in the actual calls.

While at it, shorten the calls in reserve_mc_sibling_devs().

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Yazen Ghannam <Yazen.Ghannam@amd.com>
drivers/edac/amd64_edac.c
drivers/edac/amd64_edac.h