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
Kirill Smelkov
linux
Commits
fcfe9ff3
Commit
fcfe9ff3
authored
Jul 10, 2008
by
Krzysztof Hałasa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WAN: Correct comments in hd6457[02].c
Signed-off-by:
Krzysztof Hałasa
<
khc@pm.waw.pl
>
parent
0b59cef8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/net/wan/hd64570.c
drivers/net/wan/hd64570.c
+1
-1
drivers/net/wan/hd64572.c
drivers/net/wan/hd64572.c
+1
-1
No files found.
drivers/net/wan/hd64570.c
View file @
fcfe9ff3
...
...
@@ -107,7 +107,7 @@ static inline u16 desc_abs_number(port_t *port, u16 desc, int transmit)
static
inline
u16
desc_offset
(
port_t
*
port
,
u16
desc
,
int
transmit
)
{
/* Descriptor offset always fits in 16 b
yte
s */
/* Descriptor offset always fits in 16 b
it
s */
return
desc_abs_number
(
port
,
desc
,
transmit
)
*
sizeof
(
pkt_desc
);
}
...
...
drivers/net/wan/hd64572.c
View file @
fcfe9ff3
...
...
@@ -90,7 +90,7 @@ static inline u16 desc_abs_number(port_t *port, u16 desc, int transmit)
static
inline
u16
desc_offset
(
port_t
*
port
,
u16
desc
,
int
transmit
)
{
/* Descriptor offset always fits in 16 b
yte
s */
/* Descriptor offset always fits in 16 b
it
s */
return
desc_abs_number
(
port
,
desc
,
transmit
)
*
sizeof
(
pkt_desc
);
}
...
...
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