diff options
author | Greg Kroah-Hartman <[email protected]> | 2022-11-09 15:48:43 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-11-10 18:24:03 +0100 |
commit | be7e8b917ead54754cc14b6c03769c8738a3f3f3 (patch) | |
tree | 53bd904ed0ebafd92019506c549fd88144f3f934 /lib/mpi/mpi-mod.c | |
parent | fa627348cfc7fb174468d88756b83c2d97890b07 (diff) |
blkdev: make struct block_device_operations.devnode() take a const *
The devnode() callback in struct block_device_operations should not be
modifying the device that is passed into it, so mark it as a const * and
propagate the function signature changes out into the one subsystem that
actually uses this callback.
Acked-by: Jens Axboe <[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