diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2014-01-28 14:12:35 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-30 13:02:54 -0500 |
commit | dfa19426160046770b3a38985042df9c9760a25a (patch) | |
tree | 068ba829f449b987c17de7d32d45abc80a880527 | |
parent | 5f13ee9c1ce87b3c99928ab33ef43a2c0d3fd220 (diff) |
ipmi: Add missing rv in ipmi_parisc_probe()
Fix
drivers/char/ipmi/ipmi_si_intf.c: In function 'ipmi_parisc_probe':
drivers/char/ipmi/ipmi_si_intf.c:2752:2: error: 'rv' undeclared (first use in this function)
drivers/char/ipmi/ipmi_si_intf.c:2752:2: note: each undeclared identifier is reported only once for each function it appears in
Introduced by commit d02b3709ff8e ("ipmi: Cleanup error return")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 671c3852d359..03f41896d090 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -2724,6 +2724,7 @@ static struct platform_driver ipmi_driver = { | |||
2724 | static int ipmi_parisc_probe(struct parisc_device *dev) | 2724 | static int ipmi_parisc_probe(struct parisc_device *dev) |
2725 | { | 2725 | { |
2726 | struct smi_info *info; | 2726 | struct smi_info *info; |
2727 | int rv; | ||
2727 | 2728 | ||
2728 | info = smi_info_alloc(); | 2729 | info = smi_info_alloc(); |
2729 | 2730 | ||