projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7400630
)
ipmi: fix return from atca_oem_poweroff_hook
author
Adrian Bunk
<bunk@kernel.org>
Tue, 29 Apr 2008 08:01:17 +0000
(
01:01
-0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:16 +0000
(08:06 -0700)
A void returning function returned the return value of another void
returning function...
Spotted by sparse.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ipmi/ipmi_poweroff.c
patch
|
blob
|
history
diff --git
a/drivers/char/ipmi/ipmi_poweroff.c
b/drivers/char/ipmi/ipmi_poweroff.c
index
f776df7
..
a261bd7
100644
(file)
--- a/
drivers/char/ipmi/ipmi_poweroff.c
+++ b/
drivers/char/ipmi/ipmi_poweroff.c
@@
-308,7
+308,7
@@
static void ipmi_poweroff_atca(ipmi_user_t user)
}
if (atca_oem_poweroff_hook)
-
return
atca_oem_poweroff_hook(user);
+ atca_oem_poweroff_hook(user);
out:
return;
}