enic: Fix sparse warning in vnic_devcmd_init().
authorDavid S. Miller <davem@davemloft.net>
Tue, 18 Aug 2015 04:24:59 +0000 (21:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Aug 2015 04:24:59 +0000 (21:24 -0700)
commitf376d4adfdd2d860aea3e99aa86e98324621ece7
tree8838d544b16273ccfdcaf4ad210597b4498cf59b
parentecf842f65c76f7dc2420a5295dfbf01ec7232320
enic: Fix sparse warning in vnic_devcmd_init().

>> drivers/net/ethernet/cisco/enic/vnic_dev.c:1095:13: sparse: incorrect type in assignment (different address spaces)
   drivers/net/ethernet/cisco/enic/vnic_dev.c:1095:13:    expected void *res
   drivers/net/ethernet/cisco/enic/vnic_dev.c:1095:13:    got void [noderef] <asn:2>*

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/vnic_dev.c