diff options
author | Yishai Hadas <yishaih@nvidia.com> | 2022-03-09 10:02:17 +0200 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2022-03-09 10:29:40 -0700 |
commit | 5b26f2c249b1034ab327dd29e73fec078d0ece18 (patch) | |
tree | 1fddd8a0ead7c8278a84f5073befe19d93f059c0 /drivers/crypto/hisilicon/hpre/hpre.h | |
parent | 8d26c4328b468e449df21314ef993eeaefc0306f (diff) | |
download | linux-5b26f2c249b1034ab327dd29e73fec078d0ece18.tar.gz linux-5b26f2c249b1034ab327dd29e73fec078d0ece18.tar.bz2 linux-5b26f2c249b1034ab327dd29e73fec078d0ece18.zip |
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>
Diffstat (limited to 'drivers/crypto/hisilicon/hpre/hpre.h')
0 files changed, 0 insertions, 0 deletions