https://github.com/torvalds/linux
Revision 463a3f66473b58d71428a1c3ce69ea52c05440e5 authored by Dan Carpenter on 14 May 2021, 14:18:10 UTC, committed by Jason Gunthorpe on 19 May 2021, 18:32:07 UTC
The uapi_get_object() function returns error pointers, it never returns
NULL.

Fixes: 149d3845f4a5 ("RDMA/uverbs: Add a method to introspect handles in a context")
Link: https://lore.kernel.org/r/YJ6Got+U7lz+3n9a@mwanda
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
1 parent cfa3b79
History
Tip revision: 463a3f66473b58d71428a1c3ce69ea52c05440e5 authored by Dan Carpenter on 14 May 2021, 14:18:10 UTC
RDMA/uverbs: Fix a NULL vs IS_ERR() bug
Tip revision: 463a3f6
File Mode Size
Kconfig -rw-r--r-- 75.9 KB
Makefile -rw-r--r-- 1.2 KB
calibrate.c -rw-r--r-- 8.6 KB
do_mounts.c -rw-r--r-- 14.9 KB
do_mounts.h -rw-r--r-- 908 bytes
do_mounts_initrd.c -rw-r--r-- 3.4 KB
do_mounts_rd.c -rw-r--r-- 7.7 KB
init_task.c -rw-r--r-- 6.2 KB
initramfs.c -rw-r--r-- 16.3 KB
main.c -rw-r--r-- 38.2 KB
noinitramfs.c -rw-r--r-- 813 bytes
version.c -rw-r--r-- 1.1 KB

back to top