diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2011-05-07 02:49:18 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-05-14 21:09:39 -0400 |
commit | c050999e2c00b189a21df3ee9ad8d27c85ce9c34 (patch) | |
tree | f1da9fe5949215ab498349a0aff1ab9f96416c4b /drivers/net/ixgbe | |
parent | 34cecbbfad5a01050604d5b12fd7d7fb02597dbe (diff) |
ixgbe: fix sparse warning
error: bad constant expression
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Evan Swanson <evan.swanson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbe')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_sriov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_sriov.c b/drivers/net/ixgbe/ixgbe_sriov.c index 9f972460e780..ac99b0458fe2 100644 --- a/drivers/net/ixgbe/ixgbe_sriov.c +++ b/drivers/net/ixgbe/ixgbe_sriov.c | |||
@@ -324,7 +324,7 @@ static inline void ixgbe_vf_reset_msg(struct ixgbe_adapter *adapter, u32 vf) | |||
324 | static int ixgbe_rcv_msg_from_vf(struct ixgbe_adapter *adapter, u32 vf) | 324 | static int ixgbe_rcv_msg_from_vf(struct ixgbe_adapter *adapter, u32 vf) |
325 | { | 325 | { |
326 | u32 mbx_size = IXGBE_VFMAILBOX_SIZE; | 326 | u32 mbx_size = IXGBE_VFMAILBOX_SIZE; |
327 | u32 msgbuf[mbx_size]; | 327 | u32 msgbuf[IXGBE_VFMAILBOX_SIZE]; |
328 | struct ixgbe_hw *hw = &adapter->hw; | 328 | struct ixgbe_hw *hw = &adapter->hw; |
329 | s32 retval; | 329 | s32 retval; |
330 | int entries; | 330 | int entries; |