[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ipmi testers wanted
> Masanobu SAITOH <msaitoh%execsw.org@localhost> writes:
>>> + == IPMI_SENSOR_SCANNING_ENABLED)
>> must be
>> == IPMI_SENSOR_UNAVAILABLE)
> That looks wrong, too. I'd change "==" to "!=" instead.
right. it should be:
#define IPMI_INVALID_SENSOR_P(x) \
(((x) & (IPMI_SENSOR_SCANNING_ENABLED|IPMI_SENSOR_UNAVAILABLE)) \
i tried to mirror what ipmitool does.
if you are interested, their macros for these bits are
IS_READING_UNAVAILABLE and IS_SCANNING_DISABLED.
Table 35-15, Get Sensor Reading Command
> It doesn't matter how beautiful your theory is, it doesn't matter how smart
> you are. If it doesn't agree with experiment, it's wrong. -Richard Feynman
Main Index |
Thread Index |