diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2018-04-12 16:33:53 -0500 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2018-04-18 16:58:57 -0500 |
commit | d8249ee08eacba135a98c0d9294b88a1fe116bec (patch) | |
tree | d9966cea21f9ee4bf236fb154c041f39ac46ed5d /ipmisensor.cpp | |
parent | c9fa69ef08e3eeb8e239f68d21419875b32917ae (diff) | |
download | phosphor-host-ipmid-d8249ee08eacba135a98c0d9294b88a1fe116bec.tar.gz phosphor-host-ipmid-d8249ee08eacba135a98c0d9294b88a1fe116bec.zip |
Remove trailing spaces
Change-Id: I3a58137b3300fcfe51a4182eb304a1b70885ad30
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'ipmisensor.cpp')
-rw-r--r-- | ipmisensor.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ipmisensor.cpp b/ipmisensor.cpp index 1eecb94..bb5dd96 100644 --- a/ipmisensor.cpp +++ b/ipmisensor.cpp @@ -12,12 +12,12 @@ struct sensorRES_t { uint8_t operation; uint8_t sensor_reading; uint8_t assert_state7_0; - uint8_t assert_state14_8; + uint8_t assert_state14_8; uint8_t deassert_state7_0; - uint8_t deassert_state14_8; + uint8_t deassert_state14_8; uint8_t event_data1; uint8_t event_data2; - uint8_t event_data3; + uint8_t event_data3; } __attribute__ ((packed)); #define ISBITSET(x,y) (((x)>>(y))&0x01) @@ -112,7 +112,7 @@ char *event_data_lookup(event_data_t *p, uint8_t b) { // The fw progress sensor contains some additional information that needs to be processed -// prior to calling the dbus code. +// prior to calling the dbus code. int set_sensor_dbus_state_fwprogress(const sensorRES_t *pRec, const lookup_t *pTable, const char *value) { char valuestring[128]; @@ -221,12 +221,12 @@ void reportSensorEventDeassert(sensorRES_t *pRec, int index) { int findindex(const uint8_t sensor_type, int offset, int *index) { - + int i=0, rc=0; lookup_t *pTable = g_ipmidbuslookup; do { - if ( ((pTable+i)->sensor_type == sensor_type) && + if ( ((pTable+i)->sensor_type == sensor_type) && ((pTable+i)->offset == offset) ) { rc = 1; *index = i; |