ixgbe: potential null dereference
authorDan Carpenter <error27@gmail.com>
Tue, 27 Jul 2010 00:05:56 +0000 (00:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Jul 2010 03:48:19 +0000 (20:48 -0700)
commitb8bc0421ab7f83712a0a8ef7eb05fa73ec53c027
tree52729de729a67ee25b80dba27b8e470a6dbbb2af
parent94fe8c683cea97fe2c59a5f0dc206aa329c5763c
ixgbe: potential null dereference

The e_dev_err() macro dereferences "adapter" which is NULL here.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c