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
4db943a9
Commit
4db943a9
authored
Apr 09, 2004
by
Ben Collins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SBP2]: Fix compile for older gcc's
parent
a4ccbdfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/ieee1394/sbp2.c
drivers/ieee1394/sbp2.c
+4
-2
No files found.
drivers/ieee1394/sbp2.c
View file @
4db943a9
...
@@ -1313,6 +1313,7 @@ static int sbp2_logout_device(struct scsi_id_instance_data *scsi_id)
...
@@ -1313,6 +1313,7 @@ static int sbp2_logout_device(struct scsi_id_instance_data *scsi_id)
{
{
struct
sbp2scsi_host_info
*
hi
=
scsi_id
->
hi
;
struct
sbp2scsi_host_info
*
hi
=
scsi_id
->
hi
;
quadlet_t
data
[
2
];
quadlet_t
data
[
2
];
int
error
;
SBP2_DEBUG
(
"sbp2_logout_device"
);
SBP2_DEBUG
(
"sbp2_logout_device"
);
...
@@ -1353,7 +1354,7 @@ static int sbp2_logout_device(struct scsi_id_instance_data *scsi_id)
...
@@ -1353,7 +1354,7 @@ static int sbp2_logout_device(struct scsi_id_instance_data *scsi_id)
atomic_set
(
&
scsi_id
->
sbp2_login_complete
,
0
);
atomic_set
(
&
scsi_id
->
sbp2_login_complete
,
0
);
int
error
=
hpsb_node_write
(
scsi_id
->
ne
,
error
=
hpsb_node_write
(
scsi_id
->
ne
,
scsi_id
->
sbp2_management_agent_addr
,
scsi_id
->
sbp2_management_agent_addr
,
data
,
8
);
data
,
8
);
if
(
error
)
if
(
error
)
...
@@ -1377,6 +1378,7 @@ static int sbp2_reconnect_device(struct scsi_id_instance_data *scsi_id)
...
@@ -1377,6 +1378,7 @@ static int sbp2_reconnect_device(struct scsi_id_instance_data *scsi_id)
{
{
struct
sbp2scsi_host_info
*
hi
=
scsi_id
->
hi
;
struct
sbp2scsi_host_info
*
hi
=
scsi_id
->
hi
;
quadlet_t
data
[
2
];
quadlet_t
data
[
2
];
int
error
;
SBP2_DEBUG
(
"sbp2_reconnect_device"
);
SBP2_DEBUG
(
"sbp2_reconnect_device"
);
...
@@ -1423,7 +1425,7 @@ static int sbp2_reconnect_device(struct scsi_id_instance_data *scsi_id)
...
@@ -1423,7 +1425,7 @@ static int sbp2_reconnect_device(struct scsi_id_instance_data *scsi_id)
atomic_set
(
&
scsi_id
->
sbp2_login_complete
,
0
);
atomic_set
(
&
scsi_id
->
sbp2_login_complete
,
0
);
int
error
=
hpsb_node_write
(
scsi_id
->
ne
,
error
=
hpsb_node_write
(
scsi_id
->
ne
,
scsi_id
->
sbp2_management_agent_addr
,
scsi_id
->
sbp2_management_agent_addr
,
data
,
8
);
data
,
8
);
if
(
error
)
if
(
error
)
...
...
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