linux/drivers/infiniband
Matan Barak d9edfc5a4f IB/core: Nullify ib_uobject during allocation
Currently, we initialize all fields of ib_uobject straight after
allocation. Therefore, a kmalloc was sufficient. Since ib_uobject
could be embedded in a type specific structure, we nullify it to
spare programmer errors.

Fixes: 3832125624 ('IB/core: Add support for idr types')
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-04-20 11:44:07 -04:00
..
core IB/core: Nullify ib_uobject during allocation 2017-04-20 11:44:07 -04:00
hw IB/hfi1: Add transmit fault injection feature 2017-04-05 14:45:09 -04:00
sw IB/hfi1: Eliminate synchronize_rcu() in mr delete 2017-04-05 14:45:09 -04:00
ulp IB/IPoIB: ibX: failed to create mcg debug file 2017-04-05 13:47:24 -04:00
Kconfig RDMA/bnxt_re: Add bnxt_re driver build support 2017-02-14 09:51:28 -05:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00