android_kernel_xiaomi_sm8350/net/rds
Dan Carpenter 94713bab64 ERR_PTR() dereference in net/rds/ib.c
rdma_create_id() doesn't return NULL, only ERR_PTR().

Found by smatch (http://repo.or.cz/w/smatch.git).  Compile tested.

regards,
dan carpenter

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-09 17:21:22 -07:00
..
af_rds.c RDS: remove unused #include <version.h> 2009-04-09 17:21:20 -07:00
bind.c
cong.c rds: Fix build on powerpc. 2009-03-02 01:49:28 -08:00
connection.c rds: use kmem_cache_zalloc instead of kmem_cache_alloc/memset 2009-04-09 17:21:21 -07:00
ib_cm.c RDS: Use spinlock to protect 64b value update on 32b archs 2009-04-02 00:52:22 -07:00
ib_rdma.c RDS: Rewrite connection cleanup, fixing oops on rmmod 2009-04-02 00:52:22 -07:00
ib_recv.c RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
ib_ring.c RDS/IW+IB: Set recv ring low water mark to 1/2 full. 2009-04-09 17:21:14 -07:00
ib_send.c RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
ib_stats.c RDS/IB: Stats and sysctls 2009-02-26 23:39:32 -08:00
ib_sysctl.c RDS/IB: Stats and sysctls 2009-02-26 23:39:32 -08:00
ib.c ERR_PTR() dereference in net/rds/ib.c 2009-04-09 17:21:22 -07:00
ib.h RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
info.c RDS: use get_user_pages_fast() 2009-04-09 17:21:20 -07:00
info.h RDS: Info and stats 2009-02-26 23:39:25 -08:00
iw_cm.c RDS: Use spinlock to protect 64b value update on 32b archs 2009-04-02 00:52:22 -07:00
iw_rdma.c RDS: Rewrite connection cleanup, fixing oops on rmmod 2009-04-02 00:52:22 -07:00
iw_recv.c RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
iw_ring.c RDS/IW+IB: Set recv ring low water mark to 1/2 full. 2009-04-09 17:21:14 -07:00
iw_send.c RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
iw_stats.c RDS: Add iWARP support 2009-02-26 23:39:33 -08:00
iw_sysctl.c RDS: Add iWARP support 2009-02-26 23:39:33 -08:00
iw.c ERR_PTR() dereference in net/rds/iw.c 2009-04-09 17:21:22 -07:00
iw.h RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
Kconfig rds: fix iband RDMA dependencies 2009-03-03 21:39:40 -08:00
loop.c RDS: loopback 2009-02-26 23:39:26 -08:00
loop.h RDS: loopback 2009-02-26 23:39:26 -08:00
Makefile RDS: Kconfig and Makefile 2009-02-26 23:43:35 -08:00
message.c RDS: Message parsing 2009-02-26 23:39:28 -08:00
page.c RDS: Message parsing 2009-02-26 23:39:28 -08:00
rdma_transport.c RDS: Correct some iw references in rdma_transport.c 2009-04-09 17:21:15 -07:00
rdma_transport.h RDS: Common RDMA transport code 2009-02-26 23:39:33 -08:00
rdma.c RDS: use get_user_pages_fast() 2009-04-09 17:21:20 -07:00
rdma.h RDS: RDMA support 2009-02-26 23:39:29 -08:00
rds.h RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
recv.c RDS: recv.c 2009-02-26 23:39:29 -08:00
send.c RDS: Establish connection before parsing CMSGs 2009-04-09 17:21:19 -07:00
stats.c RDS: Info and stats 2009-02-26 23:39:25 -08:00
sysctl.c RDS: sysctls 2009-02-26 23:39:26 -08:00
threads.c RDS: Connection handling 2009-02-26 23:39:25 -08:00
transport.c RDS: Transport code 2009-02-26 23:39:24 -08:00