]> git.baikalelectronics.ru Git - kernel.git/commit
NTB: EPF: set pointer addr to null using NULL rather than 0
authorColin Ian King <colin.i.king@gmail.com>
Thu, 23 Jun 2022 16:57:09 +0000 (17:57 +0100)
committerJon Mason <jdmason@kudzu.us>
Tue, 9 Aug 2022 21:54:29 +0000 (17:54 -0400)
commit886173a2ba5685c66020c94c00a3651a841d546e
tree822cbdd0cad7e772ba4cdc6ac33aad9b966492e2
parentb84613f1fdc9e1839d2b80820257fb8f2d891c72
NTB: EPF: set pointer addr to null using NULL rather than 0

The pointer addr is being set to null using 0. Use NULL instead.

Cleans up sparse warning:
warning: Using plain integer as NULL pointer

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/pci/endpoint/functions/pci-epf-vntb.c