From: Heiko Carstens Date: Fri, 24 Jan 2025 13:51:53 +0000 (+0100) Subject: s390/vmlogrdr: Use internal_name for error messages X-Git-Tag: v6.14-rc1~36^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=76bda8a16d77063cffea9fc4e3ead033afba9d6d;p=thirdparty%2Flinux.git s390/vmlogrdr: Use internal_name for error messages Use the internal_name member of vmlogrdr_priv_t to print error messages instead of the system_service member. The system_service member is not a string, but a non-null terminated eight byte character array, which contains the ASCII representation of a z/VM system service. Reviewed-by: Gerald Schaefer Signed-off-by: Heiko Carstens Signed-off-by: Alexander Gordeev --- diff --git a/drivers/s390/char/vmlogrdr.c b/drivers/s390/char/vmlogrdr.c index 3dd50ac9c5b0d..374f06c77a864 100644 --- a/drivers/s390/char/vmlogrdr.c +++ b/drivers/s390/char/vmlogrdr.c @@ -356,7 +356,7 @@ static int vmlogrdr_open (struct inode *inode, struct file *filp) if (connect_rc) { pr_err("vmlogrdr: iucv connection to %s " "failed with rc %i \n", - logptr->system_service, connect_rc); + logptr->internal_name, connect_rc); goto out_path; }