git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
656f978
)
PCI: Remove assignment from "if" conditions
author
Quentin Lambert
<lambert.quentin@gmail.com>
Sun, 7 Sep 2014 18:03:32 +0000
(20:03 +0200)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 24 Sep 2014 13:50:53 +0000
(07:50 -0600)
The following Coccinelle semantic patch was used to find and correct cases
of assignments in "if" conditions:
@@
expression var, expr;
statement S;
@@
+ var = expr;
if(
- (var = expr)
+ var
) S
Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/acpi_pcihp.c
patch
|
blob
|
history
drivers/pci/hotplug/cpci_hotplug_core.c
patch
|
blob
|
history
drivers/pci/hotplug/cpcihp_zt5550.c
patch
|
blob
|
history
drivers/pci/hotplug/ibmphp_core.c
patch
|
blob
|
history
drivers/pci/hotplug/ibmphp_pci.c
patch
|
blob
|
history
drivers/pci/hotplug/ibmphp_res.c
patch
|
blob
|
history
drivers/pci/hotplug/shpchp_ctrl.c
patch
|
blob
|
history
drivers/pci/hotplug/shpchp_hpc.c
patch
|
blob
|
history
drivers/pci/pci.c
patch
|
blob
|
history
diff --cc
drivers/pci/hotplug/acpi_pcihp.c
Simple merge
diff --cc
drivers/pci/hotplug/cpci_hotplug_core.c
Simple merge
diff --cc
drivers/pci/hotplug/cpcihp_zt5550.c
Simple merge
diff --cc
drivers/pci/hotplug/ibmphp_core.c
Simple merge
diff --cc
drivers/pci/hotplug/ibmphp_pci.c
Simple merge
diff --cc
drivers/pci/hotplug/ibmphp_res.c
Simple merge
diff --cc
drivers/pci/hotplug/shpchp_ctrl.c
Simple merge
diff --cc
drivers/pci/hotplug/shpchp_hpc.c
Simple merge
diff --cc
drivers/pci/pci.c
Simple merge