diff options
author | kbuild test robot <[email protected]> | 2017-11-08 03:18:01 +0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-11-07 20:44:56 +0100 |
commit | 9275b933d409d3a4efa08102ca813557b93fb0b9 (patch) | |
tree | 6e0359c2aea693749cc2e5509de232ef5dcc66b5 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 819aeee065e5d1b417ecd633897427c89f3253ec (diff) |
resource: Fix resource_size.cocci warnings
arch/x86/kernel/crash.c:627:34-37: ERROR: Missing resource_size with res
arch/x86/kernel/crash.c:528:16-19: ERROR: Missing resource_size with res
Use resource_size function on resource object
instead of explicit computation.
Generated by: scripts/coccinelle/api/resource_size.cocci
Fixes: 1d2e733b13b4 ("resource: Provide resource struct in resource walk callback")
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Juergen Gross <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Brijesh Singh <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/20171107191801.GA91887@lkp-snb01
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions