On Mon, 2011-06-06 at 13:49 -0700, H Hartley Sweeten wrote:
> Signed-off-by: H Hartley Sweeten <[email protected]>
> Cc: Dan Williams <[email protected]> (supporter:ASYNCHRONOUS TRAN...)
> Cc: Vinod Koul <[email protected]> (supporter:DMA GENERIC OFFLO...)

Perhaps do a treewide update via:

$ cat resource.cocci
@@
struct resource *ptr;
@@

- ptr->end - ptr->start + 1
+ resource_size(ptr)

$ spatch -sp_file resource.cocci linux-2.6/


_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to