diff options
| author | 2017-04-18 12:03:39 +0300 | |
|---|---|---|
| committer | 2017-04-20 11:44:07 -0400 | |
| commit | d9edfc5a4f81165e64d4ad6e423a8554c88dd0de (patch) | |
| tree | 2c5ae8c0cdda14dda6c34ddc3f2a92e89040d359 /include/linux/timerqueue.h | |
| parent | IB/core: Don't pass the lock state to _rdma_remove_commit_uobject (diff) | |
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: 3832125624b7 ('IB/core: Add support for idr types')
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
