diff options
author | David S. Miller <davem@davemloft.net> | 2020-06-07 17:11:41 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-07 17:11:41 -0700 |
commit | 4f8ad73898171cea2dce9ecf5bd4337c9dfcddc1 (patch) | |
tree | 8e658364c9cedeaba345771432fd53b9f54dacb5 /drivers | |
parent | 9049a40c858f49c141e12924b77b91cce4c46617 (diff) | |
parent | fcdf818d239ee38c258a2ad56f9e49834d23f402 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/tty/vcc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/vcc.c b/drivers/tty/vcc.c index d2a1e1228c82..9ffd42e333b8 100644 --- a/drivers/tty/vcc.c +++ b/drivers/tty/vcc.c @@ -605,6 +605,7 @@ static int vcc_probe(struct vio_dev *vdev, const struct vio_device_id *id) port->index = vcc_table_add(port); if (port->index == -1) { pr_err("VCC: no more TTY indices left for allocation\n"); + rv = -ENOMEM; goto free_ldc; } |