[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080414184110.GO6695@cs181133002.pp.htv.fi>
Date: Mon, 14 Apr 2008 21:41:10 +0300
From: Adrian Bunk <bunk@...nel.org>
To: minyard@....org
Cc: openipmi-developer@...ts.sourceforge.net,
linux-kernel@...r.kernel.org
Subject: [2.6 patch] fix return from atca_oem_poweroff_hook()
A void returning function returned the return value of another void
returning function...
Spotted by sparse.
Signed-off-by: Adrian Bunk <bunk@...nel.org>
---
This patch has been sent on:
- 31 Mar 2008
6c4cdaeed88de5e2a6949e63526bd2db59060fa1 diff --git a/drivers/char/ipmi/ipmi_poweroff.c b/drivers/char/ipmi/ipmi_poweroff.c
index b86186d..21e2e2d 100644
--- a/drivers/char/ipmi/ipmi_poweroff.c
+++ b/drivers/char/ipmi/ipmi_poweroff.c
@@ -289,7 +289,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;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists