Re: [PATCH 1/4] dmaengine: add a release for dma class devices anddependent infrastructure

From: Stephen Hemminger
Date: Wed Dec 03 2008 - 20:08:34 EST

On Wed, 03 Dec 2008 17:46:46 -0700
Dan Williams <dan.j.williams@xxxxxxxxx> wrote:

> Resolves:
> WARNING: at drivers/base/core.c:122 device_release+0x4d/0x52()
> Device 'dma0chan0' does not have a release() function, it is broken and must be fixed.
> The dma_chan_dev object is introduced to gear-match sysfs kobject and
> dmaengine channel lifetimes. When a channel is removed access to the
> sysfs entries return -ENODEV until the kobject can be released.
> The bulk of the change is updates to existing code to handle the extra
> layer of indirection between a dma_chan and its struct device.
> Reported-by: Alexander Beregalov <a.beregalov@xxxxxxxxx>
> Cc: Stephen Hemminger <shemminger@xxxxxxxxxx>
> Cc: Haavard Skinnemoen <haavard.skinnemoen@xxxxxxxxx>
> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>

Much better thanks.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at