Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
odroid-linux-3.10.y-rt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
oai
odroid-linux-3.10.y-rt
Commits
3e0552ee
Commit
3e0552ee
authored
Mar 31, 2013
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdth: switch to ->show_info()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
408bb25b
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
52 additions
and
170 deletions
+52
-170
drivers/scsi/gdth.c
drivers/scsi/gdth.c
+2
-1
drivers/scsi/gdth.h
drivers/scsi/gdth.h
+2
-1
drivers/scsi/gdth_proc.c
drivers/scsi/gdth_proc.c
+48
-163
drivers/scsi/gdth_proc.h
drivers/scsi/gdth_proc.h
+0
-5
No files found.
drivers/scsi/gdth.c
View file @
3e0552ee
...
...
@@ -4676,7 +4676,8 @@ static struct scsi_host_template gdth_template = {
.
eh_bus_reset_handler
=
gdth_eh_bus_reset
,
.
slave_configure
=
gdth_slave_configure
,
.
bios_param
=
gdth_bios_param
,
.
proc_info
=
gdth_proc_info
,
.
show_info
=
gdth_show_info
,
.
write_info
=
gdth_set_info
,
.
eh_timed_out
=
gdth_timed_out
,
.
proc_name
=
"gdth"
,
.
can_queue
=
GDTH_MAXCMDS
,
...
...
drivers/scsi/gdth.h
View file @
3e0552ee
...
...
@@ -1007,6 +1007,7 @@ typedef struct {
/* function prototyping */
int
gdth_proc_info
(
struct
Scsi_Host
*
,
char
*
,
char
**
,
off_t
,
int
,
int
);
int
gdth_show_info
(
struct
seq_file
*
,
struct
Scsi_Host
*
);
int
gdth_set_info
(
struct
Scsi_Host
*
,
char
*
,
int
);
#endif
drivers/scsi/gdth_proc.c
View file @
3e0552ee
This diff is collapsed.
Click to expand it.
drivers/scsi/gdth_proc.h
View file @
3e0552ee
...
...
@@ -8,11 +8,6 @@
int
gdth_execute
(
struct
Scsi_Host
*
shost
,
gdth_cmd_str
*
gdtcmd
,
char
*
cmnd
,
int
timeout
,
u32
*
info
);
static
int
gdth_set_info
(
char
*
buffer
,
int
length
,
struct
Scsi_Host
*
host
,
gdth_ha_str
*
ha
);
static
int
gdth_get_info
(
char
*
buffer
,
char
**
start
,
off_t
offset
,
int
length
,
struct
Scsi_Host
*
host
,
gdth_ha_str
*
ha
);
static
int
gdth_set_asc_info
(
struct
Scsi_Host
*
host
,
char
*
buffer
,
int
length
,
gdth_ha_str
*
ha
);
...
...
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