diff options
| author | Greg Kroah-Hartman <[email protected]> | 2023-01-11 12:30:18 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-01-27 13:45:53 +0100 |
| commit | 56d5f362ad0f8f60bc7c6fd5d7bc2b528d6963f5 (patch) | |
| tree | 9626cf495d0203973305e03e0d31b0b7d481ea8f /tools/perf/scripts/python/bin | |
| parent | 2a81ada32f0e584fc0c943e0d3a8c9f4fae411d6 (diff) | |
kobject: kset_uevent_ops: make uevent() callback take a const *
The uevent() callback in struct kset_uevent_ops does not modify the
kobject passed into it, so make the pointer const to enforce this
restriction. When doing so, fix up all existing uevent() callbacks to
have the correct signature to preserve the build.
Cc: Christine Caulfield <[email protected]>
Cc: David Teigland <[email protected]>
Cc: Bob Peterson <[email protected]>
Cc: Andreas Gruenbacher <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Acked-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions