aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorAshley Thomas <[email protected]>2020-10-12 21:33:27 -0700
committerAlex Deucher <[email protected]>2020-11-02 15:30:47 -0500
commit7dd4f4df99109b280cd996602d7533cc0b2e7348 (patch)
tree1fe522fdc441e2f4e86faec6414d796b10e7c00b /tools/testing/selftests/bpf/progs/test_autoload.c
parent81e8da715ca7d837802dee48625f380c9a1dbd11 (diff)
drm/amd/display: fail instead of div by zero/bugcheck
[why] If pbn_per_slot is 0, fail instead of dividing by zero and bugchecking. [how] Check for zero divisor before division operation. Signed-off-by: Ashley Thomas <[email protected]> Reviewed-by: Wyatt Wood <[email protected]> Acked-by: Qingqing Zhuo <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions