aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2022-11-21 10:46:48 +0100
committerGreg Kroah-Hartman <[email protected]>2022-11-22 17:34:52 +0100
commita53d1acc978321734a8fd7388f2c050a7219ab69 (patch)
tree43e078bf4a8003808966ee194fe097485c2c58aa /lib/mpi/mpi-mod.c
parentc45a88bb3f6cdaeb29d8ee98463610ad815721ab (diff)
kobject: kset_uevent_ops: make name() callback take a const *
The name() 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 the single existing name() callback to have the correct signature to preserve the build. Acked-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions