From: Julia Lawall Date: Wed, 22 Oct 2008 23:44:00 +0000 (-0700) Subject: PCI hotplug: fix logic in Compaq hotplug controller bus speed setup X-Git-Tag: v2.6.28-rc1~29^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05a34f51ba451c65773ad6f1acf4cc089cc474d8;p=pandora-kernel.git PCI hotplug: fix logic in Compaq hotplug controller bus speed setup The pattern !E && !E->fld is nonsensical. The patch below updates this according to the assumption that && should be ||. But perhaps another solution was intended. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // @disable and_comm@ expression E; identifier fld; @@ - !E && !E->fld + !E || !E->fld // Signed-off-by: Julia Lawall Reviewed-by: Matthew Wilcox Signed-off-by: Andrew Morton Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed