summaryrefslogtreecommitdiff
path: root/kernel/bpf/devmap.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-11 15:01:09 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-13 16:44:00 +0200
commitc6c631d2b72b9390587cd1ee5b7905f8ea5bb1ea (patch)
tree84df0e34cad5497b93faea879244489d3bc1605c /kernel/bpf/devmap.c
parentf6e98ef5f78a106821d451f9783dd96ba8551cb3 (diff)
driver core: mark async_driver as a const *
Within struct device_private, mark the async_driver * as const as it is never modified. This requires some internal-to-the-driver-core functions to also have their parameters marked as constant, and there is one place where we cast _back_ from the const pointer to a real one, as the driver core still wants to modify the structure in a number of remaining places. Cc: Rafael J. Wysocki <rafael@kernel.org> Link: https://lore.kernel.org/r/20240611130103.3262749-12-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/bpf/devmap.c')
0 files changed, 0 insertions, 0 deletions