dma-debug: fix off-by-one error in overlap function
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 16 Jun 2009 10:23:58 +0000 (12:23 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 16 Jun 2009 10:29:40 +0000 (12:29 +0200)
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: Andrew Randrianasulu <randrik@mail.ru>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

No differences found