On Sat, Sep 13, 2025 at 08:40:53AM -0700, Alok Tiwari wrote:
> The error log in vhost_scsi_make_tport() prints the arguments in the
> wrong order, producing confusing output. For example, when creating a
> target with a name in WWNN format such as "fc.port1234", the log
> looks like:
> 
>   Emulated fc.port1234 Address: FCP, exceeds max: 64
> 
> Instead, the message should report the emulated protocol type first,
> followed by the configfs name as:
> 
>   Emulated FCP Address: fc.port1234, exceeds max: 64
> 
> Fix the argument order so the error log is consistent and clear.
> 
> Signed-off-by: Alok Tiwari <alok.a.tiw...@oracle.com>
> ---
>  drivers/vhost/scsi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>

Attachment: signature.asc
Description: PGP signature

Reply via email to