diff options
author | Oded Gabbay <ogabbay@kernel.org> | 2022-05-11 10:06:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-22 21:01:20 +0200 |
commit | 49d2a8af97a20d65d09ac85b57e525b32fdaa0e4 (patch) | |
tree | aa91b3f23f28eb03393f3953d437f5e9092e5fb4 /Documentation/infiniband | |
parent | 368b0b4fd6971b63ab9eb0a969b5847755d09493 (diff) |
habanalabs: use NULL for eventfd
eventfd is pointer. As such, it should be initialized to NULL, not to 0.
In addition, no need to initialize it after creation because the
entire structure is zeroed-out. Also, no need to initialize it before
release because the entire structure is freed.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/infiniband')
0 files changed, 0 insertions, 0 deletions