summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-12-19 19:40:27 +0200
committerBjorn Helgaas <bhelgaas@google.com>2026-01-27 16:36:52 -0600
commit2aa7c47a681f54b5cf4d98e13447be2ea5fb5af3 (patch)
tree76d18219dfd052f29619903897dad0682be0f9a5 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent6a5e64c75e82953e4d6b52bba30e2e281532b386 (diff)
resource: Mark res given to resource_assigned() as const
The caller may hold a const struct resource which will trigger an unnecessary warning when calling resource_assigned() as it will not modify res in any way. Mark resource_assigned()'s struct resource *res parameter const to avoid the compiler warning. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20251219174036.16738-15-ilpo.jarvinen@linux.intel.com
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions