aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/hvc/hvc_iucv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/hvc/hvc_iucv.c')
-rw-r--r--drivers/tty/hvc/hvc_iucv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/hvc/hvc_iucv.c b/drivers/tty/hvc/hvc_iucv.c
index c3425bb3a1f6..b6f7d52f7c35 100644
--- a/drivers/tty/hvc/hvc_iucv.c
+++ b/drivers/tty/hvc/hvc_iucv.c
@@ -255,7 +255,7 @@ static int hvc_iucv_write(struct hvc_iucv_private *priv,
255 default: 255 default:
256 written = -EIO; 256 written = -EIO;
257 } 257 }
258 /* remove buffer if an error has occured or received data 258 /* remove buffer if an error has occurred or received data
259 * is not correct */ 259 * is not correct */
260 if (rc || (rb->mbuf->version != MSG_VERSION) || 260 if (rc || (rb->mbuf->version != MSG_VERSION) ||
261 (rb->msg.length != MSG_SIZE(rb->mbuf->datalen))) 261 (rb->msg.length != MSG_SIZE(rb->mbuf->datalen)))
@@ -620,7 +620,7 @@ static void hvc_iucv_hangup(struct hvc_iucv_private *priv)
620 * the index of an struct hvc_iucv_private instance. 620 * the index of an struct hvc_iucv_private instance.
621 * 621 *
622 * This routine notifies the HVC back-end that a tty hangup (carrier loss, 622 * This routine notifies the HVC back-end that a tty hangup (carrier loss,
623 * virtual or otherwise) has occured. 623 * virtual or otherwise) has occurred.
624 * The z/VM IUCV HVC device driver ignores virtual hangups (vhangup()) 624 * The z/VM IUCV HVC device driver ignores virtual hangups (vhangup())
625 * to keep an existing IUCV communication path established. 625 * to keep an existing IUCV communication path established.
626 * (Background: vhangup() is called from user space (by getty or login) to 626 * (Background: vhangup() is called from user space (by getty or login) to