diff options
Diffstat (limited to 'drivers/s390/char/con3215.c')
-rw-r--r-- | drivers/s390/char/con3215.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/con3215.c b/drivers/s390/char/con3215.c index 96e35aece..aec5d83af 100644 --- a/drivers/s390/char/con3215.c +++ b/drivers/s390/char/con3215.c @@ -839,7 +839,7 @@ static int tty3215_open(struct tty_struct *tty, struct file * filp) memset(raw, 0, sizeof(raw3215_info)); raw->buffer = (char *) kmalloc(RAW3215_BUFFER_SIZE, GFP_KERNEL); if (raw->buffer == NULL) { - kfree_s(raw, sizeof(raw3215_info)); + kfree(raw); return -ENOMEM; } raw->tqueue.routine = raw3215_softint; |