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
1e4e4da7
Commit
1e4e4da7
authored
Feb 19, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SUNDANCE]: Fix casting so u64 printk does not warn on some 64-bit platforms.
parent
9534896e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/net/sundance.c
drivers/net/sundance.c
+2
-2
No files found.
drivers/net/sundance.c
View file @
1e4e4da7
...
...
@@ -987,7 +987,7 @@ static void tx_timeout(struct net_device *dev)
int
i
;
for
(
i
=
0
;
i
<
TX_RING_SIZE
;
i
++
)
{
printk
(
KERN_DEBUG
"%02x %08llx %08x %08x(%02x) %08x %08x
\n
"
,
i
,
(
unsigned
long
long
)
np
->
tx_ring_dma
+
i
*
sizeof
(
*
np
->
tx_ring
),
(
unsigned
long
long
)
(
np
->
tx_ring_dma
+
i
*
sizeof
(
*
np
->
tx_ring
)
),
le32_to_cpu
(
np
->
tx_ring
[
i
].
next_desc
),
le32_to_cpu
(
np
->
tx_ring
[
i
].
status
),
(
le32_to_cpu
(
np
->
tx_ring
[
i
].
status
)
>>
2
)
&
0xff
,
...
...
@@ -1673,7 +1673,7 @@ static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
case
SIOCDEVPRIVATE
:
for
(
i
=
0
;
i
<
TX_RING_SIZE
;
i
++
)
{
printk
(
KERN_DEBUG
"%02x %08llx %08x %08x(%02x) %08x %08x
\n
"
,
i
,
(
unsigned
long
long
)
np
->
tx_ring_dma
+
i
*
sizeof
(
*
np
->
tx_ring
),
(
unsigned
long
long
)
(
np
->
tx_ring_dma
+
i
*
sizeof
(
*
np
->
tx_ring
)
),
le32_to_cpu
(
np
->
tx_ring
[
i
].
next_desc
),
le32_to_cpu
(
np
->
tx_ring
[
i
].
status
),
(
le32_to_cpu
(
np
->
tx_ring
[
i
].
status
)
>>
2
)
...
...
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