diff options
author | William Roche <william.roche@oracle.com> | 2021-04-06 11:28:59 -0400 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-04-07 11:52:26 +0200 |
commit | 3a62583c2853b0ab37a57dde79decea210b5fb89 (patch) | |
tree | fe0da52fc84a3d64b7927e7926d01c45a04e78a2 /sound | |
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 <william.roche@oracle.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: <stable@vger.kernel.org>
Link: https://lkml.kernel.org/r/1617722939-29670-1-git-send-email-william.roche@oracle.com
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions