From mboxrd@z Thu Jan 1 00:00:00 1970 From: mmarek@suse.cz (Michal Marek) Date: Wed, 03 Jul 2013 15:55:31 +0200 Subject: [Cocci] [PATCH] scripts: Coccinelle script for pci_free_consistent() In-Reply-To: References: <20130508230308.Horde.hkDwg5wWGGBzmzKnqIjUhg1@wimap.feld.cvut.cz> Message-ID: <51D42D53.3000800@suse.cz> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr On 25.6.2013 15:03, Nicolas Palix wrote: > On Wed, May 8, 2013 at 11:03 PM, wrote: >> Created coccinelle script for reporting missing pci_free_consistent() calls. >> >> Signed-off-by: Petr Strnad > > Signed-off-by: Nicolas Palix Applied to kbuild.git#misc. BTW, the patch was malformed at several places, you mailer broke long lines like this: >> +msg = "ERROR: missing pci_free_consistent; pci_alloc_consistent on line %s >> and return without freeing on line %s" % (p1[0].line,p2[0].line) Please send the patch to yourself next time and verify that 'git am' can apply it, before sending it to the mailing list. Thanks, Michal