projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55a910a
)
[POWERPC] ps3: Fix no storage devices found
author
Geert Uytterhoeven
<
[email protected]
>
Tue, 14 Aug 2007 16:30:13 +0000
(
02:30
+1000)
committer
Paul Mackerras
<
[email protected]
>
Wed, 15 Aug 2007 05:12:50 +0000
(15:12 +1000)
Fix probing of PS3 storage devices: in the success case, we should set
`error' to zero, not `result'.
Without this patch no storage devices are found.
Signed-off-by: Geert Uytterhoeven <
[email protected]
>
Signed-off-by: Paul Mackerras <
[email protected]
>
arch/powerpc/platforms/ps3/device-init.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/ps3/device-init.c
b/arch/powerpc/platforms/ps3/device-init.c
index e23a5a874ad39ae436152ad0475df49a1f48ae8d..ce15cada88d4ed992b478d828e8f896b0e6f85be 100644
(file)
--- a/
arch/powerpc/platforms/ps3/device-init.c
+++ b/
arch/powerpc/platforms/ps3/device-init.c
@@
-372,7
+372,7
@@
static int ps3_storage_wait_for_device(const struct ps3_repository_device *repo)
notify_event->dev_type == repo->dev_type) {
pr_debug("%s:%u: device ready: dev_id %u\n", __func__,
__LINE__, repo->dev_id);
-
result
= 0;
+
error
= 0;
break;
}