lkml.org 
[lkml]   [2009]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 08/16] dma-debug: add core checking functions
From
Date
On Mon, 2009-01-19 at 15:46 +0100, Joerg Roedel wrote:
>
> + if (ref->type != entry->type) {
> + err_printk(ref->dev, "DMA-API: device driver frees "
> + "DMA memory with wrong function "
> + "[device address=0x%016llx] [size=%llu bytes] "
> + "[mapped as %s] [unmapped as %s]\n",
> + ref->dev_addr, ref->size,
> + type2name[entry->type], type2name[ref->type]);

e1000e 0000:00:19.0: DMA-API: device driver frees DMA memory with wrong
function [device address=0x00000000ffedc002] [size=90 bytes] [mapped as
single] [unmapped as page]

<davem> That debug check is excessive, substituting those two things
works for every DMA API implementation I am aware of

--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation



\
 
 \ /
  Last update: 2009-02-05 22:11    [from the cache]
©2003-2011 Jasper Spaans