diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2009-06-16 12:23:58 +0200 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2009-06-16 12:29:40 +0200 |
commit | c79ee4e466dd12347f112e2af306dca35198458f (patch) | |
tree | 42c7a2fede416d9702a5affcf68ea198372590db /lib/dec_and_lock.c | |
parent | aa010efb7b6cd0dfbea8ecf37a6ab587dc2a8560 (diff) |
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: Andrew Randrianasulu <randrik@mail.ru>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions