projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa7df37
)
ipmi: Initialize locals to avoid warning
author
Corey Minyard
<cminyard@mvista.com>
Thu, 5 Sep 2013 11:36:34 +0000
(06:36 -0500)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 5 Sep 2013 15:34:31 +0000
(08:34 -0700)
A couple of variables were getting warnings about being uninitialized.
It was a false warning, but initialize them, anyway.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ipmi/ipmi_msghandler.c
patch
|
blob
|
history
diff --git
a/drivers/char/ipmi/ipmi_msghandler.c
b/drivers/char/ipmi/ipmi_msghandler.c
index 4445fa164a2de5de14330af41847ad2bf1ef1c3d..ec4e10fcf1a51b58f690ad329bdc068bc8252c2f 100644
(file)
--- a/
drivers/char/ipmi/ipmi_msghandler.c
+++ b/
drivers/char/ipmi/ipmi_msghandler.c
@@
-1848,7
+1848,7
@@
int ipmi_request_settime(ipmi_user_t user,
int retries,
unsigned int retry_time_ms)
{
- unsigned char saddr
, lun
;
+ unsigned char saddr
= 0, lun = 0
;
int rv;
if (!user)