OSDN Git Service

RAS/CEC: Fix cec_init() prototype
authorLuca Stefani <luca.stefani.ge1@gmail.com>
Wed, 5 Aug 2020 09:57:08 +0000 (11:57 +0200)
committerBorislav Petkov <bp@suse.de>
Thu, 20 Aug 2020 08:33:33 +0000 (10:33 +0200)
commit85e6084e0b436cabe9c909e679937998ffbf9c9d
tree1885eb40713c2dd4a6f72c84479f6f486ecc2af1
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
RAS/CEC: Fix cec_init() prototype

late_initcall() expects a function that returns an integer. Update the
function signature to match.

 [ bp: Massage commit message into proper sentences. ]

Fixes: 9554bfe403bd ("x86/mce: Convert the CEC to use the MCE notifier")
Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Tested-by: Sami Tolvanen <samitolvanen@google.com>
Link: https://lkml.kernel.org/r/20200805095708.83939-1-luca.stefani.ge1@gmail.com
drivers/ras/cec.c