Re: [PATCH 3/5] block: use pr_xxx() instead of printk() in partition code
From: Hannes Reinecke <hare@suse.de>
Date: 2023-08-09 06:09:10
From: Hannes Reinecke <hare@suse.de>
Date: 2023-08-09 06:09:10
On 8/8/23 15:57, Damien Le Moal wrote:
Replace calls to printk() in the core, atari, efi and sun partition code with the equivalent pr_info(), pr_err() etc calls. For each partition type, the pr_fmt message prefix is defined as "partition: xxx: " where "xxx" is the partition type name. Signed-off-by: Damien Le Moal <dlemoal@kernel.org> --- block/partitions/atari.c | 11 +++++++---- block/partitions/check.h | 1 + block/partitions/core.c | 33 ++++++++++++++++----------------- block/partitions/sgi.c | 7 +++++-- block/partitions/sun.c | 5 ++++- 5 files changed, 33 insertions(+), 24 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.de> Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman