projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ead513
)
ARM: tegra: pcie: 0 -> NULL changes
author
Olof Johansson
<olof@lixom.net>
Fri, 9 Sep 2011 01:11:46 +0000
(18:11 -0700)
committer
Olof Johansson
<olof@lixom.net>
Thu, 13 Oct 2011 21:08:27 +0000
(14:08 -0700)
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>
arch/arm/mach-tegra/pcie.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-tegra/pcie.c
b/arch/arm/mach-tegra/pcie.c
index f7c89ee5a7e21fe4c1eda0397d6721877b0c216a..f5aa173c26b320ac3a8b46688ab00ea2d51dd317 100644
(file)
--- a/
arch/arm/mach-tegra/pcie.c
+++ b/
arch/arm/mach-tegra/pcie.c
@@
-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;