misc: fastrpc: add checked value for dma_set_mask
authorBo YU <tsu.yubo@gmail.com>
Thu, 28 Mar 2019 07:47:37 +0000 (03:47 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Apr 2019 15:56:54 +0000 (17:56 +0200)
commit01b76c32e3f30d54ab8ec1efeed3c6ecef7f6027
treec80b9f227b8d741a2d212bf3614ba9de3ad60d74
parentc24b074cfd67907ac48b64487755200bdbf531e1
misc: fastrpc: add checked value for dma_set_mask

There be should check return value from dma_set_mask to throw some info
if fail to set dma mask.

Detected by CoverityScan, CID# 1443983:  Error handling issues (CHECKED_RETURN)

Fixes: f6f9279f2bf0 ("misc: fastrpc: Add Qualcomm fastrpc basic driver model")
Signed-off-by: Bo YU <tsu.yubo@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/fastrpc.c