2015-01-15 16:15:51 +01:00
|
|
|
Cleanup and compiler issues only, no functional change
|
|
|
|
|
|
|
|
Changes partly very old and not possible to find the original author.
|
|
|
|
|
|
|
|
Signed-off-by: Thomas Renninger <trenn@suse.de>
|
|
|
|
|
2017-07-05 16:54:27 +02:00
|
|
|
Index: ipmitool-1.8.18/lib/ipmi_ekanalyzer.c
|
2014-02-17 16:39:37 +01:00
|
|
|
===================================================================
|
2017-07-05 16:54:27 +02:00
|
|
|
--- ipmitool-1.8.18.orig/lib/ipmi_ekanalyzer.c 2017-07-05 16:04:30.733605009 +0200
|
|
|
|
+++ ipmitool-1.8.18/lib/ipmi_ekanalyzer.c 2017-07-05 16:04:33.905784815 +0200
|
|
|
|
@@ -4010,7 +4010,7 @@ ipmi_ek_display_clock_config_record(stru
|
2015-01-15 16:15:51 +01:00
|
|
|
(feature & 1) ? "Source" : "Receiver");
|
|
|
|
printf("\tFamily: 0x%02x - AccLVL: 0x%02x\n",
|
|
|
|
family, accuracy);
|
|
|
|
- printf("\tFRQ: %-9ld - min: %-9ld - max: %-9ld\n",
|
|
|
|
+ printf("\tFRQ: %-9lu - min: %-9lu - max: %-9lu\n",
|
|
|
|
freq, min_freq, max_freq);
|
|
|
|
}
|
|
|
|
printf("\n");
|
2017-07-05 16:54:27 +02:00
|
|
|
Index: ipmitool-1.8.18/lib/ipmi_picmg.c
|
2014-02-17 16:39:37 +01:00
|
|
|
===================================================================
|
2017-07-05 16:54:27 +02:00
|
|
|
--- ipmitool-1.8.18.orig/lib/ipmi_picmg.c 2017-07-05 16:04:30.737605232 +0200
|
|
|
|
+++ ipmitool-1.8.18/lib/ipmi_picmg.c 2017-07-05 16:04:33.905784815 +0200
|
|
|
|
@@ -850,7 +850,7 @@ ipmi_picmg_portstate_get(struct ipmi_int
|
2010-03-05 16:31:33 +01:00
|
|
|
}
|
|
|
|
else if (d->type >= 0x06 && d->type <= 0xef)
|
|
|
|
{
|
2013-02-28 14:24:25 +01:00
|
|
|
- printf("Reserved\n");
|
2010-03-05 16:31:33 +01:00
|
|
|
+ printf("Reserved %d\n",d->type);
|
|
|
|
}
|
|
|
|
else if (d->type >= 0xf0 && d->type <= 0xfe)
|
|
|
|
{
|
2017-07-05 16:54:27 +02:00
|
|
|
@@ -1702,7 +1702,7 @@ ipmi_picmg_clk_get(struct ipmi_intf * in
|
2013-02-28 14:24:25 +01:00
|
|
|
oemval2str( rsp->data[3], rsp->data[4],
|
|
|
|
picmg_clk_accuracy_vals));
|
|
|
|
|
|
|
|
- printf(" - Freq: %ld\n", freq);
|
|
|
|
+ printf(" - Freq: %lu\n", freq);
|
|
|
|
}
|
|
|
|
}
|
2010-03-05 16:31:33 +01:00
|
|
|
}
|
2017-07-05 16:54:27 +02:00
|
|
|
Index: ipmitool-1.8.18/lib/ipmi_sdr.c
|
2014-02-17 16:39:37 +01:00
|
|
|
===================================================================
|
2017-07-05 16:54:27 +02:00
|
|
|
--- ipmitool-1.8.18.orig/lib/ipmi_sdr.c 2017-07-05 16:04:30.741605453 +0200
|
|
|
|
+++ ipmitool-1.8.18/lib/ipmi_sdr.c 2017-07-05 16:04:33.909785056 +0200
|
2016-05-03 15:21:12 +02:00
|
|
|
@@ -53,6 +53,7 @@
|
2013-02-28 14:24:25 +01:00
|
|
|
#include <ipmitool/ipmi_entity.h>
|
|
|
|
#include <ipmitool/ipmi_constants.h>
|
|
|
|
#include <ipmitool/ipmi_strings.h>
|
|
|
|
+#include <ipmitool/ipmi_sensor.h>
|
2010-03-05 16:31:33 +01:00
|
|
|
|
2013-02-28 14:24:25 +01:00
|
|
|
#if HAVE_CONFIG_H
|
|
|
|
# include <config.h>
|