summaryrefslogtreecommitdiff
path: root/lib/ashrdi3.c
diff options
context:
space:
mode:
authorOded Gabbay <ogabbay@kernel.org>2022-05-11 10:06:39 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-22 21:01:20 +0200
commit49d2a8af97a20d65d09ac85b57e525b32fdaa0e4 (patch)
treeaa91b3f23f28eb03393f3953d437f5e9092e5fb4 /lib/ashrdi3.c
parent368b0b4fd6971b63ab9eb0a969b5847755d09493 (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 'lib/ashrdi3.c')
0 files changed, 0 insertions, 0 deletions