Coccinelle: Add api/kstrdup.cocci
authorNicolas Palix <npalix@diku.dk>
Tue, 24 Aug 2010 15:39:05 +0000 (17:39 +0200)
committerMichal Marek <mmarek@suse.cz>
Tue, 31 Aug 2010 09:37:53 +0000 (11:37 +0200)
commit998f5523230a8a837809f942d556360f69121677
tree8a6ef3b1d199ff4e7361f44a969cafaeb2424547
parent43ba21b57a3e757000bfa8ccf46c81f232b4d881
Coccinelle: Add api/kstrdup.cocci

Use kstrdup rather than duplicating its implementation

Signed-off-by: Nicolas Palix <npalix@diku.dk>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/coccinelle/api/kstrdup.cocci [new file with mode: 0644]