]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: designware: Use NULL instead of false
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 22 Sep 2014 20:52:07 +0000 (14:52 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 22 Sep 2014 20:52:07 +0000 (14:52 -0600)
commit9f0dbe087bff6cfffcf8b0c25c08891d66b987be
tree92ef3e79b4512fdfbd7cd115b30e4e24ba546a6f
parentadf70fc087b1750c3792cd56abc6a45e49bb3a11
PCI: designware: Use NULL instead of false

of_get_address() expects pointers in the third and fourth parameters.

Pass NULL in order to fix the following sparse warnings:

  drivers/pci/host/pcie-designware.c:433:51: warning: Using plain integer as NULL pointer
  drivers/pci/host/pcie-designware.c:433:58: warning: Using plain integer as NULL pointer

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Jingoo Han <jg1.han@samsung.com>
drivers/pci/host/pcie-designware.c