ipmi: sensor number should not exceed MAX_SENSORS
Fix a number of off-by-ones, one of them spotted by Coverity. Signed-off-by: NCédric Le Goater <clg@fr.ibm.com> Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
Showing
想要评论请 注册 或 登录
Fix a number of off-by-ones, one of them spotted by Coverity. Signed-off-by: NCédric Le Goater <clg@fr.ibm.com> Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>