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
e2116ca9
Commit
e2116ca9
authored
Feb 10, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
patch from Peter Osterlund <petero2@telia.com> to fix usb-storage debug code
compile problem.
parent
14d39718
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
16 deletions
+18
-16
drivers/usb/storage/debug.c
drivers/usb/storage/debug.c
+18
-16
No files found.
drivers/usb/storage/debug.c
View file @
e2116ca9
...
@@ -186,25 +186,27 @@ void usb_stor_print_Scsi_Cmnd( Scsi_Cmnd* cmd )
...
@@ -186,25 +186,27 @@ void usb_stor_print_Scsi_Cmnd( Scsi_Cmnd* cmd )
US_DEBUGP
(
"Buffer has %d scatterlists.
\n
"
,
cmd
->
use_sg
);
US_DEBUGP
(
"Buffer has %d scatterlists.
\n
"
,
cmd
->
use_sg
);
for
(
i
=
0
;
i
<
cmd
->
use_sg
;
i
++
)
for
(
i
=
0
;
i
<
cmd
->
use_sg
;
i
++
)
{
{
char
*
adr
=
page_address
(
sg
[
i
].
page
)
+
sg
[
i
].
offset
;
US_DEBUGP
(
"Length of scatterlist %d is %d.
\n
"
,
i
,
sg
[
i
].
length
);
US_DEBUGP
(
"Length of scatterlist %d is %d.
\n
"
,
i
,
sg
[
i
].
length
);
US_DEBUGP
(
"%02x %02x %02x %02x %02x %02x %02x %02x
\n
"
US_DEBUGP
(
"%02x %02x %02x %02x %02x %02x %02x %02x
\n
"
"%02x %02x %02x %02x %02x %02x %02x %02x
\n
"
,
"%02x %02x %02x %02x %02x %02x %02x %02x
\n
"
,
sg
[
i
].
address
[
0
],
adr
[
0
],
sg
[
i
].
address
[
1
],
adr
[
1
],
sg
[
i
].
address
[
2
],
adr
[
2
],
sg
[
i
].
address
[
3
],
adr
[
3
],
sg
[
i
].
address
[
4
],
adr
[
4
],
sg
[
i
].
address
[
5
],
adr
[
5
],
sg
[
i
].
address
[
6
],
adr
[
6
],
sg
[
i
].
address
[
7
],
adr
[
7
],
sg
[
i
].
address
[
8
],
adr
[
8
],
sg
[
i
].
address
[
9
],
adr
[
9
],
sg
[
i
].
address
[
10
],
adr
[
10
],
sg
[
i
].
address
[
11
],
adr
[
11
],
sg
[
i
].
address
[
12
],
adr
[
12
],
sg
[
i
].
address
[
13
],
adr
[
13
],
sg
[
i
].
address
[
14
],
adr
[
14
],
sg
[
i
].
address
[
15
]);
adr
[
15
]);
}
}
}
}
...
...
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