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
fe8f8d99
Commit
fe8f8d99
authored
Feb 16, 2004
by
Ben Collins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IEEE1394(r1134): Fix some typos introduced over the last few changes
parent
8a9c807d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
drivers/ieee1394/highlevel.c
drivers/ieee1394/highlevel.c
+5
-4
drivers/ieee1394/nodemgr.c
drivers/ieee1394/nodemgr.c
+1
-1
No files found.
drivers/ieee1394/highlevel.c
View file @
fe8f8d99
...
@@ -62,13 +62,14 @@ static struct hl_host_info *hl_get_hostinfo(struct hpsb_highlevel *hl,
...
@@ -62,13 +62,14 @@ static struct hl_host_info *hl_get_hostinfo(struct hpsb_highlevel *hl,
read_lock
(
&
hl
->
host_info_lock
);
read_lock
(
&
hl
->
host_info_lock
);
list_for_each_entry
(
hi
,
&
hl
->
host_info_list
,
list
)
{
list_for_each_entry
(
hi
,
&
hl
->
host_info_list
,
list
)
{
if
(
hi
->
host
==
host
)
if
(
hi
->
host
==
host
)
{
break
;
read_unlock
(
&
hl
->
host_info_lock
);
hi
=
NULL
;
return
hi
;
}
}
}
read_unlock
(
&
hl
->
host_info_lock
);
read_unlock
(
&
hl
->
host_info_lock
);
return
hi
;
return
NULL
;
}
}
...
...
drivers/ieee1394/nodemgr.c
View file @
fe8f8d99
...
@@ -1170,7 +1170,7 @@ static void nodemgr_node_scan_one(struct host_info *hi,
...
@@ -1170,7 +1170,7 @@ static void nodemgr_node_scan_one(struct host_info *hi,
guid
=
((
u64
)
be32_to_cpu
(
csr
->
bus_info_data
[
3
])
<<
32
)
|
be32_to_cpu
(
csr
->
bus_info_data
[
4
]);
guid
=
((
u64
)
be32_to_cpu
(
csr
->
bus_info_data
[
3
])
<<
32
)
|
be32_to_cpu
(
csr
->
bus_info_data
[
4
]);
ne
=
find_entry_by_guid
(
guid
);
ne
=
find_entry_by_guid
(
guid
);
if
(
ne
->
host
!=
host
&&
ne
->
in_limbo
)
{
if
(
ne
&&
ne
->
host
!=
host
&&
ne
->
in_limbo
)
{
/* Must have moved this device from one host to another */
/* Must have moved this device from one host to another */
nodemgr_remove_ne
(
ne
);
nodemgr_remove_ne
(
ne
);
ne
=
NULL
;
ne
=
NULL
;
...
...
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