sb: rb: Fix bugs, add power capping and add RNS vr test mode functions #3846
build_and_lint_pr.yml
on: pull_request
Matrix: Build-Platforms
Aggregate-Lint-Output
9s
Annotations
9 errors
|
run-cppcheck
Process completed with exit code 1.
|
|
Aggregate-Lint-Output:
meta-facebook/sb-rb/src/platform/plat_cpld.c#L129
[] reported by reviewdog 🐶
Local variable 'is_dc_on' shadows outer function
Raw Output:
meta-facebook/sb-rb/src/platform/plat_cpld.c:129:7:Local variable 'is_dc_on' shadows outer function
|
|
Aggregate-Lint-Output:
common/shell/commands/sensor_shell.c#L367
[] reported by reviewdog 🐶
Variable 'keyword' can be declared as pointer to const
Raw Output:
common/shell/commands/sensor_shell.c:367:8:Variable 'keyword' can be declared as pointer to const
|
|
Aggregate-Lint-Output:
common/service/sensor/pldm_sensor.c#L501
[] reported by reviewdog 🐶
Redundant initialization for 'stack_size'. The initialized value is overwritten before it is read.
Raw Output:
common/service/sensor/pldm_sensor.c:501:14:Redundant initialization for 'stack_size'. The initialized value is overwritten before it is read.
|
|
Aggregate-Lint-Output:
common/service/sensor/pldm_sensor.c#L500
[] reported by reviewdog 🐶
Redundant initialization for 'stack'. The initialized value is overwritten before it is read.
Raw Output:
common/service/sensor/pldm_sensor.c:500:9:Redundant initialization for 'stack'. The initialized value is overwritten before it is read.
|
|
Aggregate-Lint-Output:
common/service/sensor/pldm_sensor.c#L495
[] reported by reviewdog 🐶
Condition 'stack==NULL' is always true
Raw Output:
common/service/sensor/pldm_sensor.c:495:13:Condition 'stack==NULL' is always true
|
|
Aggregate-Lint-Output:
common/service/sensor/pldm_sensor.c#L432
[] reported by reviewdog 🐶
Condition 'pldm_sensor_list[thread_id]==NULL' is always true
Raw Output:
common/service/sensor/pldm_sensor.c:432:34:Condition 'pldm_sensor_list[thread_id]==NULL' is always true
|
|
Aggregate-Lint-Output:
common/service/sensor/pldm_sensor.c#L425
[] reported by reviewdog 🐶
Condition 'pldm_sensor_count<=0' is always true
Raw Output:
common/service/sensor/pldm_sensor.c:425:24:Condition 'pldm_sensor_count<=0' is always true
|
|
Aggregate-Lint-Output:
common/service/sensor/pldm_sensor.c#L125
[] reported by reviewdog 🐶
Condition 'sensor_pdr_index>=pldm_sensor_count' is always true
Raw Output:
common/service/sensor/pldm_sensor.c:125:50:Condition 'sensor_pdr_index>=pldm_sensor_count' is always true
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
cppcheck-output
|
478 Bytes |
sha256:48381a0128d07605c1c691cfcfd1685b539233ad2551c8cb8265176ea781e4ce
|
|