enic: fix return value in _vnic_dev_cmd
authorGovindarajulu Varadarajan <_govind@gmx.com>
Mon, 23 Jun 2014 10:37:59 +0000 (16:07 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Jun 2014 21:32:19 +0000 (14:32 -0700)
Hardware (in readq(&devcmd->args[0])) returns positive number in case of error.
But _vnic_dev_cmd should return a negative value in case of error.

Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found