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
50eb8006
Commit
50eb8006
authored
Nov 05, 2005
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr s2io] warning fixes
From Andrew Morton.
parent
ecf8b596
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
drivers/net/s2io.c
drivers/net/s2io.c
+4
-6
No files found.
drivers/net/s2io.c
View file @
50eb8006
...
...
@@ -2110,7 +2110,7 @@ int fill_rxd_3buf(nic_t *nic, RxD_t *rxdp, struct sk_buff *skb)
{
struct
net_device
*
dev
=
nic
->
dev
;
struct
sk_buff
*
frag_list
;
u64
tmp
;
void
*
tmp
;
/* Buffer-1 receives L3/L4 headers */
((
RxD3_t
*
)
rxdp
)
->
Buffer1_ptr
=
pci_map_single
...
...
@@ -2125,11 +2125,9 @@ int fill_rxd_3buf(nic_t *nic, RxD_t *rxdp, struct sk_buff *skb)
}
frag_list
=
skb_shinfo
(
skb
)
->
frag_list
;
frag_list
->
next
=
NULL
;
tmp
=
(
u64
)
frag_list
->
data
;
tmp
+=
ALIGN_SIZE
;
tmp
&=
~
ALIGN_SIZE
;
frag_list
->
data
=
(
void
*
)
tmp
;
frag_list
->
tail
=
(
void
*
)
tmp
;
tmp
=
(
void
*
)
ALIGN
((
long
)
frag_list
->
data
,
ALIGN_SIZE
+
1
);
frag_list
->
data
=
tmp
;
frag_list
->
tail
=
tmp
;
/* Buffer-2 receives L4 data payload */
((
RxD3_t
*
)
rxdp
)
->
Buffer2_ptr
=
pci_map_single
(
nic
->
pdev
,
...
...
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