diff options
| author | Tom Rix <[email protected]> | 2023-03-11 13:51:13 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2023-03-19 16:20:49 +0000 |
| commit | 8732565549011cabbea08329a1aefd78a68d96c7 (patch) | |
| tree | 1a490b63e5a3494f7a1fbca84409bd3bcdc5e62f /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
| parent | trace/hwlat: Do not start per-cpu thread if it is already running (diff) | |
| download | kernel-8732565549011cabbea08329a1aefd78a68d96c7.tar.gz kernel-8732565549011cabbea08329a1aefd78a68d96c7.zip | |
ftrace: Set direct_ops storage-class-specifier to static
smatch reports this warning
kernel/trace/ftrace.c:2594:19: warning:
symbol 'direct_ops' was not declared. Should it be static?
The variable direct_ops is only used in ftrace.c, so it should be static
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Signed-off-by: Tom Rix <[email protected]>
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions
