commit | 5b26f2c249b1034ab327dd29e73fec078d0ece18 | [log] [tgz] |
---|---|---|
author | Yishai Hadas <yishaih@nvidia.com> | Wed Mar 09 10:02:17 2022 +0200 |
committer | Alex Williamson <alex.williamson@redhat.com> | Wed Mar 09 10:29:40 2022 -0700 |
tree | 1fddd8a0ead7c8278a84f5073befe19d93f059c0 | |
parent | 8d26c4328b468e449df21314ef993eeaefc0306f [diff] |
vfio/mlx5: Fix to not use 0 as NULL pointer Fix sparse warning to not use plain integer (i.e. 0) as NULL pointer. Reported-by: kernel test robot <lkp@intel.com> Fixes: 6fadb021266d ("vfio/mlx5: Implement vfio_pci driver for mlx5 devices") Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Link: https://lore.kernel.org/r/202203090703.kxvZumJg-lkp@intel.com Link: https://lore.kernel.org/r/20220309080217.94274-1-yishaih@nvidia.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>