summaryrefslogtreecommitdiff
path: root/kernel/audit_tree.c
diff options
context:
space:
mode:
authorLina Iyer <ilina@codeaurora.org>2017-07-17 11:50:25 -0600
committerGeorg Veichtlbauer <georg@vware.at>2023-07-16 12:47:43 +0200
commitc71b8fffe6b3d099b76c05f922fde8aa4b6c2334 (patch)
tree1afd4420676bcc6587fbb5eab37e91e31b40f4a9 /kernel/audit_tree.c
parent938e42ca699f3224fcb9687bf9feba3f4a1abf32 (diff)
drivers: cpuidle: lpm-levels: Fix KW issues with idle state idx < 0
Idle state calculcations will need to return the state chosen as an integer. The state chosen is used as a index into the array and as such cannot be negative value. Do not return negative errors from the calculations. By default, the state returned wil be zero. Change-Id: Idb18e933f385cf868fe99fa6a2783f6b8e84c196 Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Diffstat (limited to 'kernel/audit_tree.c')
0 files changed, 0 insertions, 0 deletions