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
354c3fa9
Commit
354c3fa9
authored
Feb 28, 2004
by
Steve Kinneberg
Committed by
Ben Collins
Feb 28, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IEEE1394(r1174): Fixed a problem parsing directories with null entries.
parent
d3684330
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
drivers/ieee1394/csr1212.c
drivers/ieee1394/csr1212.c
+6
-0
No files found.
drivers/ieee1394/csr1212.c
View file @
354c3fa9
...
...
@@ -1348,6 +1348,12 @@ int csr1212_parse_keyval(struct csr1212_keyval *kv,
case
CSR1212_KV_TYPE_DIRECTORY
:
for
(
i
=
0
;
i
<
kvi_len
;
i
++
)
{
csr1212_quad_t
ki
=
kvi
->
data
[
i
];
/* Some devices put null entries in their unit
* directories. If we come across such and entry,
* then skip it. */
if
(
ki
==
0x0
)
continue
;
ret
=
csr1212_parse_dir_entry
(
kv
,
ki
,
(
kv
->
offset
+
quads_to_bytes
(
i
+
1
)),
...
...
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