android_kernel_xiaomi_sm8350/drivers/infiniband/core
Li Zefan c7482b81c8 IB: Fix return value in ib_device_register_sysfs()
If kobject_create_and_add() fails and returns NULL, the current code
in ib_device_register_sysfs() does not set ret and hence returns 0.
Set ret to -ENOMEM for this failure, so that the caller knows that
ib_device_register_sysfs() actually failed.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-02-15 15:05:05 -08:00
..
addr.c [NETNS]: Add namespace parameter to ip_route_output_key. 2008-01-28 15:11:07 -08:00
agent.c
agent.h
cache.c
cm_msgs.h
cm.c IB/cm: Fix infiniband_cm class kobject ref counting 2008-02-12 14:38:27 -08:00
cma.c RDMA/cma: Do not issue MRA if user rejects connection request 2008-02-14 15:30:41 -08:00
core_priv.h
device.c
fmr_pool.c IB/fmr_pool: Allocate page list for pool FMRs only when caching enabled 2008-02-04 20:20:44 -08:00
iwcm.c
iwcm.h
mad_priv.h IB/mad: Report number of times a mad was retried 2008-01-25 14:15:30 -08:00
mad_rmpp.c IB/mad: Report number of times a mad was retried 2008-01-25 14:15:30 -08:00
mad_rmpp.h
mad.c IB/mad: Fix incorrect access to items on local_list 2008-01-25 14:15:31 -08:00
Makefile
multicast.c IB/multicast: Report errors on multicast groups if P_key changes 2008-01-25 14:15:29 -08:00
packer.c
sa_query.c
sa.h
smi.c
smi.h IB/mad: Enable loopback of DR SMP responses from userspace 2008-01-25 14:15:25 -08:00
sysfs.c IB: Fix return value in ib_device_register_sysfs() 2008-02-15 15:05:05 -08:00
ucm.c IB/cm: Add basic performance counters 2008-01-25 14:15:30 -08:00
ucma.c RDMA/cma: add support for rdma_migrate_id() 2008-01-25 14:15:32 -08:00
ud_header.c
umem.c SG: Change sg_set_page() to take length and offset argument 2007-10-24 11:20:47 +02:00
user_mad.c IB/umad: Simplify and fix locking 2008-01-25 14:15:42 -08:00
uverbs_cmd.c
uverbs_main.c
uverbs_marshall.c
uverbs.h
verbs.c