• Jan Kiszka's avatar
    drivers/autotune: Fix UBSAN warnings · be08584a
    Jan Kiszka authored
    The calculations in add_sample can overflow into undefined behavior - or
    even generate wrong results. Address that by giving related fields in
    tuner_state more space. This requires one division to be modeled with
    xnarch_llimd for 32-bit target archs.
    Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
Last commit
Last update
cobalt Loading commit data...
drivers Loading commit data...