]> git.baikalelectronics.ru Git - kernel.git/commit
sky2: fix oops on shutdown
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 11 May 2007 18:21:44 +0000 (11:21 -0700)
committerJeff Garzik <jeff@garzik.org>
Fri, 11 May 2007 21:53:33 +0000 (17:53 -0400)
commit4f00ad675d3ab09614e9f709b97564ef1c4b98f7
tree0c9f4b729ba37f6c28b725f885dc5ac6b9173485
parent023f17ffa94a8a42eec05fbff34f581d73b89132
sky2: fix oops on shutdown

If the device is fails during module startup for some reason like
unsupported chip version then the driver would crash dereferencing a
null pointer, on shutdown or suspend/resume.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c