aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorAnson Huang <[email protected]>2018-04-19 14:04:43 +0800
committerThomas Gleixner <[email protected]>2018-04-19 13:21:35 +0200
commit7407188489c62a7b5694bc75a6db2b82af94c9a5 (patch)
tree631c026b6f598d5654cd6a924eb7c03daf1501d6 /lib/memory-notifier-error-inject.c
parentc3bca5d450b620dd3d36e14b5e1f43639fd47d6b (diff)
clocksource/imx-tpm: Correct -ETIME return condition check
The additional brakects added to tpm_set_next_event's return value computation causes (int) forced type conversion NOT taking effect, and the incorrect value return will cause various system timer issue, like RCU stall etc.. Remove the additional brackets to make sure tpm_set_next_event always returns correct value. Fixes: 059ab7b82eec ("clocksource/drivers/imx-tpm: Add imx tpm timer support") Signed-off-by: Anson Huang <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Dong Aisheng <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions