]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
depca: fix warning in drivers/net/depca.c
authorIngo Molnar <mingo@elte.hu>
Wed, 26 Nov 2008 01:00:39 +0000 (17:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 01:00:39 +0000 (17:00 -0800)
commit99da1a8a6dc549630733e1cc246265d282fc214e
tree176553ab6ff325922b2667d0b7ac0ec7b8ad0981
parenta098397d562e2ce5aca7b9b007a4954d88ef8f5e
depca: fix warning in drivers/net/depca.c

fix warning:

  drivers/net/depca.c: In function ‘depca_eisa_probe’:
  drivers/net/depca.c:1564: warning: ‘mem_start’ may be used uninitialized in this function

this seems to be a real bug - depca_eisa_probe() does not check
for failure. Add it, symmetric to depca_isa_probe().

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/depca.c