diff options
author | David S. Miller <davem@davemloft.net> | 2020-06-08 02:11:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-08 02:11:41 +0200 |
commit | 4f8ad73898171cea2dce9ecf5bd4337c9dfcddc1 (patch) | |
tree | 8e658364c9cedeaba345771432fd53b9f54dacb5 /drivers | |
parent | Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... (diff) | |
parent | Merge branch 'sparc-scnprintf' (diff) | |
download | linux-4f8ad73898171cea2dce9ecf5bd4337c9dfcddc1.tar.xz linux-4f8ad73898171cea2dce9ecf5bd4337c9dfcddc1.zip |
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; } |