]> git.hungrycats.org Git - linux/commit
[PATCH] 3c527 possible oops.
authorDave Jones <davej@redhat.com>
Fri, 3 Sep 2004 18:13:11 +0000 (14:13 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 3 Sep 2004 18:13:11 +0000 (14:13 -0400)
commitd76237102ff605556939114888e7367da2dc9221
treee1622a84c63d70cf6237f2b8819edbf640455cf0
parentda236a169be789a7dfc1552ab7a3f7d427f54eeb
[PATCH] 3c527 possible oops.

If the alloc_skb() fails, we dereference it in the skb_reserve() call.
Move the skb_reserve() call to after the NULL check.
Also clean up some CodingStyle violations whilst in the vicinity.

Signed-off-by: Dave Jones <davej@redhat.com>
drivers/net/3c527.c