aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorClive Lin <[email protected]>2023-07-31 14:03:54 +0800
committerRafael J. Wysocki <[email protected]>2023-08-22 21:37:29 +0200
commit5f55836ab41671e005038255fdd60482718d2ca2 (patch)
treebbe60899d0d135eba0c3e6e9f88b8472ea69beb9 /lib/test_fortify/write_overflow-strncpy-src.c
parent706a741595047797872e669b3101429ab8d378ef (diff)
PM: QoS: Add check to make sure CPU latency is non-negative
CPU latency should never be negative, which will be incorrectly high when converted to unsigned data type. Commit 8d36694245f2 ("PM: QoS: Add check to make sure CPU freq is non-negative") makes sure CPU frequency is non-negative to fix incorrect behavior in freqency QoS. Add an analogous check to make sure CPU latency is non-negative so as to prevent this problem from happening in CPU latency QoS. Signed-off-by: Clive Lin <[email protected]> [ rjw: Changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions