Re: [PATCH 5/5] nvmet-fc: use pr_* print macros instead of dev_*

From: Hannes Reinecke
Date: Tue Nov 04 2025 - 05:58:34 EST


On 10/28/25 16:26, Daniel Wagner wrote:
Many of the nvmet-fc log messages cannot print the device used, because
it's not there yet:

(NULL device *): {0:0} Association deleted

Use the pr_* macros consistently throughout the module and match the
output of the nvme-fc module.

Using port:association ids are more useful when debugging what's going
on, because these match now with the log entries from nvme-fc.
---
drivers/nvme/target/fc.c | 48 +++++++++++++++++++++---------------------------
1 file changed, 21 insertions(+), 27 deletions(-)

Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@xxxxxxx +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich