Skip to content
Snippets Groups Projects
Commit c79ee4e4 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

dma-debug: fix off-by-one error in overlap function


This patch fixes a bug in the overlap function which returned true if
one region ends exactly before the second region begins. This is no
overlap but the function returned true in that case.

Cc: stable@kernel.org
Reported-by: default avatarAndrew Randrianasulu <randrik@mail.ru>
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent aa010efb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment