summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorBence Csokas <bence.csokas@arm.com>2026-10-01 13:00:07 +0200
committerConor Dooley <conor.dooley@microchip.com>2026-10-02 18:25:55 +0100
commit5857cd51c200b6924ada0b385162ba4e776e0db1 (patch)
tree435b64be42393b3bfe8e367230ae7168ba8db6d2 /tools/lib/python/kdoc/python_version.py
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff)
downloadlinux-next-5857cd51c200b6924ada0b385162ba4e776e0db1.tar.gz
linux-next-5857cd51c200b6924ada0b385162ba4e776e0db1.zip
cache: Make cpu_cache_invalidate_memregion() error out if there are no handlers
Currently, if there are no registered handlers, cpu_cache_invalidate_memregion() returns 0. Callers are expected to check cpu_cache_has_invalidate_memregion() and return -ENXIO themselves, instead of calling this function. If a caller forgets to do this, they may erroneously think the operation succeeded. This is in contrast to x86, where cpu_cache_invalidate_memregion() itself checks if the operation is supported, and returns -ENXIO if it is not. Reviewed-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> Signed-off-by: Bence Csokas <bence.csokas@arm.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions