serial: sc16is7xx: dynamically allocate tx/rx buffer
authorJon Ringle <jringle@gridpoint.com>
Sat, 26 Apr 2014 00:11:07 +0000 (20:11 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 19:22:42 +0000 (12:22 -0700)
commitbeb04a9f04d95b0d1fdb96719559612705dfc1c9
treeb924ec83de2fa5577f30ce636680966889c595b8
parent3df5adb23f115a5d2c7ca10fc66a5b9176cedc49
serial: sc16is7xx: dynamically allocate tx/rx buffer

This fixes the warnings:

   drivers/tty/serial/sc16is7xx.c: In function 'sc16is7xx_handle_rx':
>> drivers/tty/serial/sc16is7xx.c:548:1: warning: 'sc16is7xx_handle_rx' uses dynamic stack allocation [enabled by default]
   drivers/tty/serial/sc16is7xx.c: In function 'sc16is7xx_handle_tx':
>> drivers/tty/serial/sc16is7xx.c:589:1: warning: 'sc16is7xx_handle_tx' uses dynamic stack allocation [enabled by default]

Signed-off-by: Jon Ringle <jringle@gridpoint.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c