projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34cecbb
)
ixgbe: fix sparse warning
author
Emil Tantilov
<emil.s.tantilov@intel.com>
Sat, 7 May 2011 06:49:18 +0000
(06:49 +0000)
committer
Jeff Kirsher
<jeffrey.t.kirsher@intel.com>
Sun, 15 May 2011 01:09:39 +0000
(18:09 -0700)
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>
drivers/net/ixgbe/ixgbe_sriov.c
patch
|
blob
|
history
diff --git
a/drivers/net/ixgbe/ixgbe_sriov.c
b/drivers/net/ixgbe/ixgbe_sriov.c
index 9f972460e7805b46f9f7cb020e74fa81001cb8e2..ac99b0458fe2f2f6b1e29351465838e696ad9f64 100644
(file)
--- 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)
static int ixgbe_rcv_msg_from_vf(struct ixgbe_adapter *adapter, u32 vf)
{
u32 mbx_size = IXGBE_VFMAILBOX_SIZE;
- u32 msgbuf[
mbx_size
];
+ u32 msgbuf[
IXGBE_VFMAILBOX_SIZE
];
struct ixgbe_hw *hw = &adapter->hw;
s32 retval;
int entries;