benet: Avoid potential null deref in be_cmd_get_seeprom_data()
authorAjit Khaparde <ajit.khaparde@emulex.com>
Fri, 4 Feb 2011 17:18:28 +0000 (17:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Feb 2011 01:58:18 +0000 (17:58 -0800)
commite45ff01d3f79bc71e6f514302a776cc8815eaecc
tree47353b13f245a74f2d25fc40ecffe37e9314fe39
parent1e6d93e45b231b3ae87c01902ede2315aacfe976
benet: Avoid potential null deref in be_cmd_get_seeprom_data()

Found by: Jesper Juhl <jj@chaosbits.net>

Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_cmds.c