Re: [PATCH] Fix oops in r8169 driver

2005-11-17 Thread Olaf Kirch
On Thu, Nov 17, 2005 at 08:31:07PM +0100, Francois Romieu wrote: > Olaf Kirch <[EMAIL PROTECTED]> : > [...] > > When rtl8169_init_board didn't find the PCI power state > > capability, it would bail out but return 0 (success). > > rtl8169_init_one would then oops trying to dereference > > t

Re: [PATCH] Fix oops in r8169 driver

2005-11-17 Thread Francois Romieu
Olaf Kirch <[EMAIL PROTECTED]> : [...] > When rtl8169_init_board didn't find the PCI power state > capability, it would bail out but return 0 (success). > rtl8169_init_one would then oops trying to dereference > the dev pointer which is NULL. And the device is still unusable because rtl81

[PATCH] Fix oops in r8169 driver

2005-11-17 Thread Olaf Kirch
Subject: Fix oops in r8169 driver When rtl8169_init_board didn't find the PCI power state capability, it would bail out but return 0 (success). rtl8169_init_one would then oops trying to dereference the dev pointer which is NULL. Signed-off-by: Olaf Kirch <[EMAIL PROTECTED]> Index: 2