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: NHeikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录