Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
monitor: use signed value for factor and offset
The code was using size_t for factor and offset. For some fans the offset could be negative, so it needs to use signed types. This commit changes the offset type to int64_t. Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I7443b00cd9f55ff0acb2fcc077bf2f5ba2b74395
- Loading branch information
1 parent
8a697b6
commit 4eac3cf
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters