Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC Bus
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC Bus
Commits
5d8fefaa
Commit
5d8fefaa
authored
Sep 12, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel/fmc-sdb.c: bugfix: sdb core can be at address 0
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
2c6089d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fmc-sdb.c
kernel/fmc-sdb.c
+1
-1
No files found.
kernel/fmc-sdb.c
View file @
5d8fefaa
...
...
@@ -208,7 +208,7 @@ signed long fmc_find_sdb_device(struct sdb_array *tree,
if
(
!
IS_ERR
(
tree
->
subtree
[
i
]))
res
=
fmc_find_sdb_device
(
tree
->
subtree
[
i
],
vid
,
did
,
sz
);
if
(
res
>
0
)
if
(
res
>
=
0
)
return
res
+
tree
->
baseaddr
;
if
(
r
->
empty
.
record_type
!=
sdb_type_device
)
continue
;
...
...
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