]> git.ipfire.org Git - thirdparty/linux.git/commit
habanalabs: use NULL to initialize array of pointers
authorOded Gabbay <oded.gabbay@gmail.com>
Thu, 28 Feb 2019 08:46:23 +0000 (10:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2019 12:07:52 +0000 (13:07 +0100)
commit70496af9b25d53722f8298b714a4d3b0516d82d9
treed1095b8bae8a7915b59d828d43a33e9d154d949f
parentdf697bce61cee1f6c0d43306fcb1c8c37ca570a0
habanalabs: use NULL to initialize array of pointers

This patch fixes the following sparse warnings:

drivers/misc/habanalabs/hwmon.c:20:56: warning: Using plain integer as NULL pointer

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/habanalabs/hwmon.c