Home
last modified time | relevance | path

Searched hist:"682 a60446b150f3058b77806768977f4dff0fffb" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/misc/
H A Dfastrpc.cdiff 682a60446b150f3058b77806768977f4dff0fffb Fri Feb 15 19:35:43 CST 2019 Wei Yongjun <weiyongjun1@huawei.com> misc: fastrpc: Fix return value check in fastrpc_map_create()

In case of error, the function dma_buf_get() returns ERR_PTR() and never
returns NULL. The NULL test in the return value check should be replaced
with IS_ERR().

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>