]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit29f2f6d1208007f3312b27c544917f94a4a0671e
treed34ced60da68e2dca2aae90e2b29d8f94618ffbc
parentf87e67a96fd2b005f139a7e4adb80f9fe0fbc346
[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