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)
commitd4089a332883ad969700aac5dd4dd5f1c4fee825
tree0dbbb4dec60fbbd491ae8ee31dcbce95e1f3ab50
parent06aa82e498c144c7784a6f3d3b55458b272d6146
serial: 8250_dma: check the result of TX buffer mapping

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