Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
aacafba8
Commit
aacafba8
authored
Jan 30, 2012
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-davem' of
git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next
parents
a46621a3
06e63c57
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
drivers/net/ethernet/sfc/mtd.c
drivers/net/ethernet/sfc/mtd.c
+0
-1
drivers/net/ethernet/sfc/rx.c
drivers/net/ethernet/sfc/rx.c
+1
-1
No files found.
drivers/net/ethernet/sfc/mtd.c
View file @
aacafba8
...
...
@@ -10,7 +10,6 @@
#include <linux/bitops.h>
#include <linux/module.h>
#undef DEBUG
/* <linux/mtd/mtd.h> has its own use for DEBUG */
#include <linux/mtd/mtd.h>
#include <linux/delay.h>
#include <linux/slab.h>
...
...
drivers/net/ethernet/sfc/rx.c
View file @
aacafba8
...
...
@@ -98,7 +98,7 @@ static inline unsigned int efx_rx_buf_offset(struct efx_nic *efx,
/* Offset is always within one page, so we don't need to consider
* the page order.
*/
return
((
__force
unsigned
long
)
buf
->
dma_addr
&
(
PAGE_SIZE
-
1
))
+
return
((
unsigned
int
)
buf
->
dma_addr
&
(
PAGE_SIZE
-
1
))
+
efx
->
type
->
rx_buffer_hash_size
;
}
static
inline
unsigned
int
efx_rx_buf_size
(
struct
efx_nic
*
efx
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment