The following warnings are being addressed. - hbsUtil.cpp: The correct value for MAX_ENTRY_STR_LEN should be 13 this considering that values can be higher than 9999, the final space and the leading '\n'. - hwmonAlarm.cpp: As a result of a discussion with Eric Macdonald, he suggested to remove the entire case for FM_ALARM_STATE_CLEAR as the reason buffer is not used and thus, there's no need to store a string there. - pmonHdlr.cpp: A truncation warning was shown due to a possible usage of a unitialize buffer. The fix here is check by NULL. Change-Id: I3c80cce99b2f521f8c7a9de4ce2b6036960dfaf6 Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>changes/27/678627/3
parent
c8603da349
commit
aa0d1433a9
Loading…
Reference in new issue