serial: 8250_dma: check the result of TX buffer mapping
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Mon, 28 Apr 2014 12:59:56 +0000 (15:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 20:07:27 +0000 (13:07 -0700)
Using dma_mapping_error() to make sure the mapping did not
fail.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dma.c

Simple merge