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
4cd46b10
Commit
4cd46b10
authored
Jun 21, 2003
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SCSI] Fix powertec.c build errors.
parent
fbbf650c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
drivers/scsi/arm/powertec.c
drivers/scsi/arm/powertec.c
+2
-3
No files found.
drivers/scsi/arm/powertec.c
View file @
4cd46b10
...
@@ -235,18 +235,17 @@ powertecscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length)
...
@@ -235,18 +235,17 @@ powertecscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length)
* of the required information.
* of the required information.
* offset - offset into information that we have read upto.
* offset - offset into information that we have read upto.
* length - length of buffer
* length - length of buffer
* host_no - host number to return information for
* inout - 0 for reading, 1 for writing.
* inout - 0 for reading, 1 for writing.
* Returns : length of data written to buffer.
* Returns : length of data written to buffer.
*/
*/
int
powertecscsi_proc_info
(
struct
Scsi_Host
*
host
,
char
*
buffer
,
char
**
start
,
off_t
offset
,
int
powertecscsi_proc_info
(
struct
Scsi_Host
*
host
,
char
*
buffer
,
char
**
start
,
off_t
offset
,
int
length
,
int
host_no
,
int
inout
)
int
length
,
int
inout
)
{
{
struct
powertec_info
*
info
;
struct
powertec_info
*
info
;
char
*
p
=
buffer
;
char
*
p
=
buffer
;
int
pos
;
int
pos
;
I
f
(
inout
==
1
)
i
f
(
inout
==
1
)
return
powertecscsi_set_proc_info
(
host
,
buffer
,
length
);
return
powertecscsi_set_proc_info
(
host
,
buffer
,
length
);
info
=
(
struct
powertec_info
*
)
host
->
hostdata
;
info
=
(
struct
powertec_info
*
)
host
->
hostdata
;
...
...
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