Skip to content

Commit

Permalink
ARM: tegra: pcie: 0 -> NULL changes
Browse files Browse the repository at this point in the history
Fixes:

arch/arm/mach-tegra/pcie.c:465:10: warning: Using plain integer as NULL pointer

Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Olof Johansson committed Oct 13, 2011
1 parent 3ead513 commit 31e6606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-tegra/pcie.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ static struct pci_bus __init *tegra_pcie_scan_bus(int nr,
struct tegra_pcie_port *pp;

if (nr >= tegra_pcie.num_ports)
return 0;
return NULL;

pp = tegra_pcie.port + nr;
pp->root_bus_nr = sys->busnr;
Expand Down

0 comments on commit 31e6606

Please sign in to comment.