]> www.infradead.org Git - users/dwmw2/linux.git/commit
block: constify partition prober array
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 30 May 2023 17:09:57 +0000 (19:09 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 30 May 2023 17:12:43 +0000 (11:12 -0600)
commit539050f92ea7666bca17c2c380d8071d2f93dcde
tree28a4e5c1eaeb99a9deac4e7ae0fffc31a0e0f3cc
parent403b6fb8dac1e9407c04652cedd92285c5ae9aa5
block: constify partition prober array

The array is never modified so it can be const.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202304191640.SkNk7kVN-lkp@intel.com/
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20230419-const-partition-v3-1-4e14e48be367@weissschuh.net
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partitions/core.c