Searched hist:"0607512 d0a8d7fac86667466b884095e04b10a59" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | ras.h | 0607512d0a8d7fac86667466b884095e04b10a59 Tue Jun 27 10:35:41 CDT 2017 Arnd Bergmann <arnd@arndb.de> ras: mark stub functions as 'inline'
With CONFIG_RAS disabled, we get two harmless warnings about unused functions:
include/linux/ras.h:37:13: error: 'log_arm_hw_error' defined but not used [-Werror=unused-function] static void log_arm_hw_error(struct cper_sec_proc_arm *err) { return; } include/linux/ras.h:33:13: error: 'log_non_standard_event' defined but not used [-Werror=unused-function] static void log_non_standard_event(const guid_t *sec_type,
Clearly these are meant to be 'inline', like the other stubs in the same header.
Fixes: 297b64c74385 ("ras: acpi / apei: generate trace event for unrecognized CPER section") Fixes: e9279e83ad1f ("trace, ras: add ARM processor error trace event") Acked-by: Borislav Petkov <bp@suse.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Will Deacon <will.deacon@arm.com>
|