Re: [PATCH 1/2] scripts/coccinelle: semantic patches related todevm_ functions

From: Mark Brown
Date: Tue Dec 27 2011 - 12:10:38 EST


On Tue, Dec 27, 2011 at 05:41:31PM +0100, Julia Lawall wrote:
> From: Julia Lawall <Julia.Lawall@xxxxxxx>
>
> From: Julia Lawall <Julia.Lawall@xxxxxxx>

Something went wrong here?

> devm_ functions allocate memory that is to remain allocated until the
> device is detached. This patch checks for opportunities for using the
> function devm_request_and_ioremap.

Note that devm_request_and_ioremap() is scheduled for merge in 3.3 so
patches based on this should probably wait until after that has been
merged.
--
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/