commit | 63bb30b08511d95a422d58634ab7736c18bcc44c | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sun Feb 16 12:12:39 2025 +0100 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Thu Feb 20 11:09:33 2025 +0100 |
tree | 3cf25acfe9347ff44356717f5f80894643e0c307 | |
parent | 41ae6f026e9f1a219afb29c23bb84e2a785038c9 [diff] |
lmb: avoid superfluous value check in lmb_map_update_notify() Instead of testing the value of parameter op at runtime use an enum to ensure that only valid values are used. Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>