Re: [RFC] DMA mapping error check analysis

From: Shuah Khan
Date: Mon Sep 10 2012 - 11:26:14 EST



> >
> > http://linuxdriverproject.org/mediawiki/index.php/DMA_Mapping_Error_Analysis
>
> > File Name # of calls Status
> > drivers/firewire/core-iso.c 1 Unmap Broken
> > drivers/firewire/ohci.c 1 Unmap Broken
>
> In ohci.c, ar_context_release() takes care of cleanup.
>
> In core-iso.c, on failure, the callers are responsible to call
> fw_iso_buffer_destroy() eventually. (ioctl_create_iso_context()
> doesn't do this correctly if it's called multiple times.)
>

Thanks. I updated the page with your comments. I moved ohci.c to Good
status and left core-iso.c in Unmap Broken in case
ioctl_create_iso_context() case is worth fixing.

-- Shuah

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/