diff options
author | William Roche <[email protected]> | 2021-04-06 11:28:59 -0400 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2021-04-07 11:52:26 +0200 |
commit | 3a62583c2853b0ab37a57dde79decea210b5fb89 (patch) | |
tree | fe0da52fc84a3d64b7927e7926d01c45a04e78a2 /scripts/gdb/linux/constants.py.in | |
parent | e49d033bddf5b565044e2abe4241353959bc9120 (diff) |
RAS/CEC: Correct ce_add_elem()'s returned values
ce_add_elem() uses different return values to signal a result from
adding an element to the collector. Commit in Fixes: broke the case
where the element being added is not found in the array. Correct that.
[ bp: Rewrite commit message, add kernel-doc comments. ]
Fixes: de0e0624d86f ("RAS/CEC: Check count_threshold unconditionally")
Signed-off-by: William Roche <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/constants.py.in')
0 files changed, 0 insertions, 0 deletions