提交 9ebca93b 编写于 作者: C Corey Minyard 提交者: Linus Torvalds

IPMI: Fix some uninitialized warning

There was a spot where the compiler couldn't tell some variables
would be set.  So initialize them to make the warning go away.
Signed-off-by: NCorey Minyard <cminyard@mvista.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 061475b6
...@@ -1880,7 +1880,7 @@ int ipmi_request_supply_msgs(ipmi_user_t user, ...@@ -1880,7 +1880,7 @@ int ipmi_request_supply_msgs(ipmi_user_t user,
struct ipmi_recv_msg *supplied_recv, struct ipmi_recv_msg *supplied_recv,
int priority) int priority)
{ {
unsigned char saddr, lun; unsigned char saddr = 0, lun = 0;
int rv; int rv;
if (!user) if (!user)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册