aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/misc/hpilo.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2019-02-16 01:35:43 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-19 14:50:11 +0100
commit682a60446b150f3058b77806768977f4dff0fffb (patch)
tree8b1db04a3ac3f90afdf89563a542b1f28c40e66f /drivers/misc/hpilo.c
parentbinder: reduce mmap_sem write-side lock (diff)
downloadwireguard-linux-682a60446b150f3058b77806768977f4dff0fffb.tar.xz
wireguard-linux-682a60446b150f3058b77806768977f4dff0fffb.zip
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>
Diffstat (limited to 'drivers/misc/hpilo.c')
0 files changed, 0 insertions, 0 deletions