]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: dgnc: Fix frame size is larger than 1024B
authorKonrad Zapalowicz <bergo.torino@gmail.com>
Wed, 6 Aug 2014 12:21:21 +0000 (14:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:13 +0000 (12:23 -0700)
commitea6e9dea2e72a7abd146a2c5bab726b27f34b36c
tree784e49ea37af16f4b29fd670ec9e8c04898d07ff
parent338fd80f9da7772ff3b957adb7ae1ed4615c484c
staging: dgnc: Fix frame size is larger than 1024B

This comit fixes the following sparse warnign:

drivers/staging/dgnc/dgnc_tty.c:572:1:
    warning: the frame size of 1060 bytes is larger than 1024 bytes
    [-Wframe-larger-than=]

This was caused by having buffer as an automatic variable. This commit
moves it from the stack to the heap.

Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_tty.c