mirror of
https://github.com/torvalds/linux.git
synced 2025-11-02 01:29:02 +02:00
The static code analysis tool "Coverity Scan" pointed the following
implementation details out for further development considerations:
CID 1309755: Unused value
In sw842_compress: A value assigned to a variable is never used. (CWE-563)
returned_value: Assigning value from add_repeat_template(p, repeat_count)
to ret here, but that stored value is overwritten before it can be used.
Conclusion:
Add error handling for the return value from an add_repeat_template()
call.
Fixes:
|
||
|---|---|---|
| .. | ||
| 842.h | ||
| 842_compress.c | ||
| 842_debugfs.h | ||
| 842_decompress.c | ||
| Makefile | ||