[PATCH 01/51] ARM: reset: introduce arm_arch_reset function pointer

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Oct 31 10:33:51 EDT 2011


On Mon, Oct 31, 2011 at 02:26:02PM +0000, Jamie Iles wrote:
> I think you need:
> 
> spatch -sp_file arch_reset-1.cocci -patch .  arch/arm/*/include/*/system.h > \
> arch_reset-1.diff
> 
> I've also used -in_place in the past then use git to generate the diff, 
> but I guess it is nicer to have the patch self-contained.

Ah, yes, that allows it to start generating more useful patches, thanks.

I tried -patch '', which the documentation said should be the current
directory:

  -patch                     <dir> path name with respect to which a patch should be created
    "" for a file in the current directory

except it instead spits out this error:

Fatal error: exception Invalid_argument("index out of bounds")



More information about the linux-arm-kernel mailing list