aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2018-11-01 13:22:38 +0100
committerRafael J. Wysocki <[email protected]>2018-11-08 18:52:02 +0100
commit763f191af51f127cf8e69cd361f50bf6180768a5 (patch)
treedd874c0841e8f4830d7b9d03c3f74c32bde72df1 /scripts/bpf_helpers_doc.py
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
ARM: cpuidle: Don't register the driver when back-end init returns -ENXIO
There's no point to register the cpuidle driver for the current CPU, when the initialization of the arch specific back-end data fails by returning -ENXIO. Instead, let's re-order the sequence to its original flow, by first trying to initialize the back-end part and then act accordingly on the returned error code. Additionally, let's print the error message, no matter of what error code that was returned. Fixes: a0d46a3dfdc3 (ARM: cpuidle: Register per cpuidle device) Signed-off-by: Ulf Hansson <[email protected]> Reviewed-by: Daniel Lezcano <[email protected]> Cc: 4.19+ <[email protected]> # v4.19+ Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions