summaryrefslogtreecommitdiff
path: root/sound/i2c
diff options
context:
space:
mode:
authorGustavo Pimentel <Gustavo.Pimentel@synopsys.com>2020-09-17 23:30:27 +0200
committerBjorn Helgaas <bhelgaas@google.com>2020-09-17 16:44:03 -0500
commit32b313ce9db54991a053da66883289e99d6ad820 (patch)
treeeca9a3124b5766845f15692344ae3baec2d589ae /sound/i2c
parent10791141a6cfc96eecf578fb1240f191ac112e02 (diff)
downloadlinux-32b313ce9db54991a053da66883289e99d6ad820.tar.gz
PCI: endpoint: Use "NULL" instead of "0" as a NULL pointer
When returning a NULL pointer, use "NULL" instead of "0". Fixes sparse warning given by executing "make C=2 drivers/pci/": CHECK drivers/pci/endpoint/pci-epc-core.c drivers/pci/endpoint/pci-epc-core.c: note: in included file: ./include/linux/pci-ep-cfs.h:22:16: warning: Using plain integer as NULL pointer CHECK drivers/pci/endpoint/pci-epf-core.c drivers/pci/endpoint/pci-epf-core.c: note: in included file: ./include/linux/pci-ep-cfs.h:31:16: warning: Using plain integer as NULL pointer Link: https://lore.kernel.org/r/80895f7465719edb3aa259e907acc4bc3217945c.1600378209.git.gustavo.pimentel@synopsys.com Reported-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Cc: Kishon Vijay Abraham I <kishon@ti.com> Cc: Joao Pinto <jpinto@synopsys.com>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions