]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerJiri Slaby <jslaby@suse.cz>
Mon, 13 Oct 2014 13:41:39 +0000 (15:41 +0200)
commit77043778de5e2e9c906d9a4a901feabbeac44265
tree4e05c64987a06d3e093baac92b4234ffae2b8762
parentc7aa3df027f72ce81e02a3775e789fb7c039aefa
serial: 8250_dma: check the result of TX buffer mapping

commit d4089a332883ad969700aac5dd4dd5f1c4fee825 upstream.

Using dma_mapping_error() to make sure the mapping did not
fail.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: "Petallo, MauriceX R" <mauricex.r.petallo@intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/tty/serial/8250/8250_dma.c