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
aa19646a
Commit
aa19646a
authored
Apr 08, 2003
by
Justin T. Gibbs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the callback argument for aic brace option parsing to u_long
to avoid casting problems with different architectures.
parent
7a73f2be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/scsi/aic7xxx/aiclib.c
drivers/scsi/aic7xxx/aiclib.c
+1
-1
drivers/scsi/aic7xxx/aiclib.h
drivers/scsi/aic7xxx/aiclib.h
+2
-2
No files found.
drivers/scsi/aic7xxx/aiclib.c
View file @
aa19646a
...
...
@@ -1335,7 +1335,7 @@ aic_error_action(struct scsi_cmnd *cmd, struct scsi_inquiry_data *inq_data,
char
*
aic_parse_brace_option
(
char
*
opt_name
,
char
*
opt_arg
,
char
*
end
,
int
depth
,
aic_option_callback_t
*
callback
,
void
*
callback_arg
)
aic_option_callback_t
*
callback
,
u_long
callback_arg
)
{
char
*
tok_end
;
char
*
tok_end2
;
...
...
drivers/scsi/aic7xxx/aiclib.h
View file @
aa19646a
...
...
@@ -906,10 +906,10 @@ int aic_inquiry_match(caddr_t /*inqbuffer*/,
int
aic_static_inquiry_match
(
caddr_t
/*inqbuffer*/
,
caddr_t
/*table_entry*/
);
typedef
void
aic_option_callback_t
(
void
*
,
int
,
int
,
int32_t
);
typedef
void
aic_option_callback_t
(
u_long
,
int
,
int
,
int32_t
);
char
*
aic_parse_brace_option
(
char
*
opt_name
,
char
*
opt_arg
,
char
*
end
,
int
depth
,
aic_option_callback_t
*
,
void
*
);
aic_option_callback_t
*
,
u_long
);
static
__inline
void
scsi_extract_sense
(
struct
scsi_sense_data
*
sense
,
int
*
error_code
,
int
*
sense_key
,
...
...
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