]> git.baikalelectronics.ru Git - kernel.git/commit
dma-debug: check for sg_call_ents in best-fit algorithm too
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 11 Jun 2009 08:03:42 +0000 (10:03 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 15 Jun 2009 09:08:54 +0000 (11:08 +0200)
commit6f3a82dab32f1376c2bc0b53ba986aebb429f8e6
treece562ec0d0a9ffed4d16bd5569d21cd8ed222096
parentc5c413552d58ba7b7ed3d38c8cdad3bdc58cd9b0
dma-debug: check for sg_call_ents in best-fit algorithm too

If we don't check for sg_call_ents the hash_bucket_find function might
still return the wrong dma_debug_entry for sg mappings.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
lib/dma-debug.c