Re: [PATCH] devres: release resources on device_del()

From: Tejun Heo
Date: Fri Mar 09 2007 - 05:57:49 EST


Tejun Heo wrote:
> Some platform devices are driven without driver attached, so managed
> resources can be acquired without driver attached. Make sure such
> resources are released by calling devres_release_all() in
> device_del().
>
> Signed-off-by: Tejun Heo <htejun@xxxxxxxxx>
> ---
> This one fixes oops on pata_platform and pata_legacy unload. libata
> being the only user of devres at the moment. I think this can go
> through libata-dev#upstream.

I meant libata-dev#upstream-fixes. This needs to be fixed in 2.6.21.

--
tejun
-
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/