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>
|
|
|
|
|
2020-02-11 13:28:03 +01:00
|
|
|
---
|
|
|
|
lib/ipmi_ekanalyzer.c | 2 +-
|
|
|
|
lib/ipmi_picmg.c | 4 ++--
|
|
|
|
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
|
|
|
|
--- a/lib/ipmi_ekanalyzer.c
|
|
|
|
+++ b/lib/ipmi_ekanalyzer.c
|
|
|
|
@@ -4013,7 +4013,7 @@
|
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");
|
2020-02-11 13:28:03 +01:00
|
|
|
--- a/lib/ipmi_picmg.c
|
|
|
|
+++ b/lib/ipmi_picmg.c
|
|
|
|
@@ -949,7 +949,7 @@
|
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)
|
|
|
|
{
|
2020-02-11 13:28:03 +01:00
|
|
|
@@ -1805,7 +1805,7 @@
|
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
|
|
|
}
|