netxen: added sanity check for pci map
commitafbe5cd6c40e0f20fa8832d17fa44ae605591ce1
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Fri, 26 Mar 2010 00:30:09 +0000 (26 00:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Mar 2010 18:49:22 +0000 (26 11:49 -0700)
tree9c87278632269f839946c2f3b8039da160634ffd
parent77c553900c58c3e4f475e233ad4ff6aeb282deb4
netxen: added sanity check for pci map

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Return value of ioremap is not checked, NULL check added.

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_main.c