mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
The function ap_is_valid_checksum() has a boolean name suggesting it
should return TRUE/FALSE, but incorrectly returns AE_OK on success and
has no explicit return on failure, leading to undefined behavior.
Fix by returning proper values:
- FALSE when checksum validation fails
- TRUE when checksum validation succeeds
Link:
|
History
|
|
|---|---|---|
| .. | ||
| common | ||
| man | ||
| os_specific/service_layers | ||
| tools | ||
| .gitignore | ||
| Makefile | ||
| Makefile.config | ||
| Makefile.rules | ||