aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-06-27 17:35:41 +0200
committerWill Deacon <[email protected]>2017-06-29 10:48:57 +0100
commit0607512d0a8d7fac86667466b884095e04b10a59 (patch)
tree22ba3897b21e4790621e1ae7b5808f35f9369d69 /tools/perf/scripts/python/call-graph-from-sql.py
parent3edb1dd13ce6f6480c1f2bffc47a49cf959fa9cb (diff)
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 <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions