Skip to content
Commit 1f8f4559 authored by Micah Gruber's avatar Micah Gruber Committed by David S. Miller
Browse files

Fix a potential NULL pointer dereference in uli526x_interrupt() in drivers/net/tulip/uli526x.c



This patch fixes an apparent potential null dereference bug where we
dereference dev before a null check.  This patch simply remvoes the
can't-happen test for a null pointer.

Signed-off-by: default avatarMicah Gruber <micah.gruber@gmail.com>
Cc: Grant Grundler <grundler@parisc-linux.org>
Acked-by: default avatarJeff Garzik <jeff@garzik.org>
Acked-by: default avatarKyle McMartin <kyle@mcmartin.ca>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 13f7b8c0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment