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
5bbe2f4f
Commit
5bbe2f4f
authored
Feb 13, 2012
by
Ben Hutchings
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sfc: Make buffer table indices and counts consistently unsigned
Signed-off-by:
Ben Hutchings
<
bhutchings@solarflare.com
>
parent
a606f432
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/net_driver.h
+2
-2
drivers/net/ethernet/sfc/nic.c
drivers/net/ethernet/sfc/nic.c
+1
-1
No files found.
drivers/net/ethernet/sfc/net_driver.h
View file @
5bbe2f4f
...
@@ -81,8 +81,8 @@ struct efx_special_buffer {
...
@@ -81,8 +81,8 @@ struct efx_special_buffer {
void
*
addr
;
void
*
addr
;
dma_addr_t
dma_addr
;
dma_addr_t
dma_addr
;
unsigned
int
len
;
unsigned
int
len
;
int
index
;
unsigned
int
index
;
int
entries
;
unsigned
int
entries
;
};
};
/**
/**
...
...
drivers/net/ethernet/sfc/nic.c
View file @
5bbe2f4f
...
@@ -192,7 +192,7 @@ static void
...
@@ -192,7 +192,7 @@ static void
efx_init_special_buffer
(
struct
efx_nic
*
efx
,
struct
efx_special_buffer
*
buffer
)
efx_init_special_buffer
(
struct
efx_nic
*
efx
,
struct
efx_special_buffer
*
buffer
)
{
{
efx_qword_t
buf_desc
;
efx_qword_t
buf_desc
;
int
index
;
unsigned
int
index
;
dma_addr_t
dma_addr
;
dma_addr_t
dma_addr
;
int
i
;
int
i
;
...
...
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