]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
qla3xxx: fix warning in drivers/net/qla3xxx.c
authorIngo Molnar <mingo@elte.hu>
Wed, 26 Nov 2008 00:49:07 +0000 (16:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 00:49:07 +0000 (16:49 -0800)
commitbe5a3c62c805878d67036b4683f09118cab4c9fd
tree89cc90fd132cf8905a53d9cef1637a38ac8c02aa
parentf166400bd4c92df72d997e0da8713fae90d56e57
qla3xxx: fix warning in drivers/net/qla3xxx.c

this warning:

  drivers/net/qla3xxx.c: In function ‘ql3xxx_probe’:
  drivers/net/qla3xxx.c:3912: warning: ‘pci_using_dac’ may be used uninitialized in this function

triggers because GCC does not recognize the (correct) error flow
between 'pci_using_dac' and 'err'.

Annotate it.

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