projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c420c7
)
ixgbe: fix checkpatch style of blank line after declaration
author
Jacob Keller
<
[email protected]
>
Wed, 9 Apr 2014 06:03:12 +0000
(06:03 +0000)
committer
Jeff Kirsher
<
[email protected]
>
Fri, 23 May 2014 12:28:06 +0000
(
05:28
-0700)
This patch fixes checkpatch warnings in ixgbe, by adding a blank line
between declaration and code blocks.
Signed-off-by: Jacob Keller <
[email protected]
>
Tested-by: Phil Schmitt <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
b/drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
index 323ecb1058011106359babf79cf4169bcc864f63..272f2e7c76c865ac170b50d5085152e56359b9f6 100644
(file)
--- a/
drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
+++ b/
drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
@@
-1271,6
+1271,7
@@
s32 ixgbe_reinit_fdir_tables_82599(struct ixgbe_hw *hw)
{
int i;
u32 fdirctrl = IXGBE_READ_REG(hw, IXGBE_FDIRCTRL);
+
fdirctrl &= ~IXGBE_FDIRCTRL_INIT_DONE;
/*
@@
-1651,6
+1652,7
@@
void ixgbe_atr_compute_perfect_hash_82599(union ixgbe_atr_input *input,
static u32 ixgbe_get_fdirtcpm_82599(union ixgbe_atr_input *input_mask)
{
u32 mask = ntohs(input_mask->formatted.dst_port);
+
mask <<= IXGBE_FDIRTCPM_DPORTM_SHIFT;
mask |= ntohs(input_mask->formatted.src_port);
mask = ((mask & 0x55555555) << 1) | ((mask & 0xAAAAAAAA) >> 1);