[PATCH] PCI Hotplug ibmphp_pci.c: Fix masking out needed information too early
authorRolf Eike Beer <eike-hotplug@sf-tec.de>
Mon, 11 Apr 2005 13:01:54 +0000 (15:01 +0200)
committerGreg KH <gregkh@suse.de>
Wed, 4 May 2005 06:45:15 +0000 (23:45 -0700)
commit034ecc724cc6ba662d0b2b5a1e11e7e66a768596
treed34ced60da68e2dca2aae90e2b29d8f94618ffbc
parentc8958177224622411b9979eabb5610e30b06034b
[PATCH] PCI Hotplug ibmphp_pci.c: Fix masking out needed information too early

here is the patch that fixes the bug introduced by my previous patch which
already went into 2.6.12-rc2 and is likely to cause trouble is someone hits
one the else case here by accident.

Using the &= operation before the if statement destroys the information the
if asks for so we always go into the else branch.

Signed-off-by: Rolf Eike Beer <eike-hotplug@sf-tec.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/ibmphp_pci.c