]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pch_uart: check kzalloc result in dma_handle_tx()
authorFengguang Wu <fengguang.wu@intel.com>
Sat, 28 Jul 2012 12:43:57 +0000 (20:43 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Aug 2012 19:10:16 +0000 (12:10 -0700)
commita92098a1cb7ec08c86d1b97d1831d8edaf26b1a2
tree550ccfd69cdbe92d70bbf8a84c8f9ff394f1d7a5
parent221ca778d677c5ec3a33385a3b6dd548174252a6
pch_uart: check kzalloc result in dma_handle_tx()

Reported by coccinelle:

drivers/tty/serial/pch_uart.c:979:1-14: alloc with no test, possible model on line 994

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pch_uart.c