]> Git Repo - linux.git/commit - block/genhd.c
block: use the %pg format specifier in printk_all_partitions
authorChristoph Hellwig <[email protected]>
Tue, 27 Jul 2021 06:25:14 +0000 (08:25 +0200)
committerJens Axboe <[email protected]>
Mon, 2 Aug 2021 19:37:28 +0000 (13:37 -0600)
commita9e7bc3de4051d037a8e6f2d30448c347263737e
tree559bdfd9628f692832674f8758d4152c4bdfe9bd
parent26e2d7a362f6a83146ea3eaa8f17ca9ce35388d3
block: use the %pg format specifier in printk_all_partitions

Simplify printing the partition name by using the %pg format specifier
that is equivalent to a bdevname call.

Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
block/genhd.c
This page took 0.05447 seconds and 4 git commands to generate.