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
850b9a8f
Commit
850b9a8f
authored
Jun 19, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Use proper size_t printf format specifier in sundance.c
parent
fe42e9e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/net/sundance.c
drivers/net/sundance.c
+3
-3
No files found.
drivers/net/sundance.c
View file @
850b9a8f
...
@@ -980,7 +980,7 @@ static void tx_timeout(struct net_device *dev)
...
@@ -980,7 +980,7 @@ static void tx_timeout(struct net_device *dev)
{
{
int
i
;
int
i
;
for
(
i
=
0
;
i
<
TX_RING_SIZE
;
i
++
)
{
for
(
i
=
0
;
i
<
TX_RING_SIZE
;
i
++
)
{
printk
(
KERN_DEBUG
"%02x %08x %08x %08x(%02x) %08x %08x
\n
"
,
i
,
printk
(
KERN_DEBUG
"%02x %08
Z
x %08x %08x(%02x) %08x %08x
\n
"
,
i
,
np
->
tx_ring_dma
+
i
*
sizeof
(
*
np
->
tx_ring
),
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
].
next_desc
),
le32_to_cpu
(
np
->
tx_ring
[
i
].
status
),
le32_to_cpu
(
np
->
tx_ring
[
i
].
status
),
...
@@ -1666,7 +1666,7 @@ static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
...
@@ -1666,7 +1666,7 @@ static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
switch
(
cmd
)
{
switch
(
cmd
)
{
case
SIOCDEVPRIVATE
:
case
SIOCDEVPRIVATE
:
for
(
i
=
0
;
i
<
TX_RING_SIZE
;
i
++
)
{
for
(
i
=
0
;
i
<
TX_RING_SIZE
;
i
++
)
{
printk
(
KERN_DEBUG
"%02x %08x %08x %08x(%02x) %08x %08x
\n
"
,
i
,
printk
(
KERN_DEBUG
"%02x %08
Z
x %08x %08x(%02x) %08x %08x
\n
"
,
i
,
np
->
tx_ring_dma
+
i
*
sizeof
(
*
np
->
tx_ring
),
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
].
next_desc
),
le32_to_cpu
(
np
->
tx_ring
[
i
].
status
),
le32_to_cpu
(
np
->
tx_ring
[
i
].
status
),
...
...
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