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
b2bc6be6
Commit
b2bc6be6
authored
Sep 15, 2002
by
Matthew Dharm
Committed by
Greg Kroah-Hartman
Sep 15, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB storage: minor compilation fixes
This patch fixes up some minor compilation problems.
parent
63c651e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/usb/storage/isd200.c
drivers/usb/storage/isd200.c
+1
-1
drivers/usb/storage/transport.c
drivers/usb/storage/transport.c
+2
-2
No files found.
drivers/usb/storage/isd200.c
View file @
b2bc6be6
...
@@ -1271,7 +1271,7 @@ int isd200_get_inquiry_data( struct us_data *us )
...
@@ -1271,7 +1271,7 @@ int isd200_get_inquiry_data( struct us_data *us )
/* ATA Command Identify successful */
/* ATA Command Identify successful */
int
i
;
int
i
;
__u16
*
src
,
*
dest
;
__u16
*
src
,
*
dest
;
ata
_fix_driveid
(
&
info
->
drive
);
ide
_fix_driveid
(
&
info
->
drive
);
US_DEBUGP
(
" Identify Data Structure:
\n
"
);
US_DEBUGP
(
" Identify Data Structure:
\n
"
);
US_DEBUGP
(
" config = 0x%x
\n
"
,
info
->
drive
.
config
);
US_DEBUGP
(
" config = 0x%x
\n
"
,
info
->
drive
.
config
);
...
...
drivers/usb/storage/transport.c
View file @
b2bc6be6
...
@@ -349,8 +349,8 @@ unsigned int usb_stor_transfer_length(Scsi_Cmnd *srb)
...
@@ -349,8 +349,8 @@ unsigned int usb_stor_transfer_length(Scsi_Cmnd *srb)
* all the complex logic above, let's find them and eliminate them.
* all the complex logic above, let's find them and eliminate them.
*/
*/
if
(
len
!=
srb
->
request_bufflen
)
{
if
(
len
!=
srb
->
request_bufflen
)
{
printk
(
"USB len=%d, request_bufflen=%d
\n
"
,
len
,
srb
->
request_bufflen
);
printk
(
KERN_ERR
"USB len=%d, request_bufflen=%d
\n
"
,
len
,
srb
->
request_bufflen
);
show_trace
(
NULL
);
printk
(
KERN_ERR
"Fix this -- future 2.5 kernels will not work if this is not fixed!
\n
"
);
}
}
return
len
;
return
len
;
...
...
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