Loading scripts/coccinelle/alloc/drop_kmalloc_cast.cocci→scripts/coccinelle/api/alloc/drop_kmalloc_cast.cocci +0 −0 File moved. View file scripts/coccinelle/alloc/kzalloc-simple.cocci→scripts/coccinelle/api/alloc/kzalloc-simple.cocci +5 −1 Original line number Diff line number Diff line /// /// kzalloc should be used rather than kmalloc followed by memset 0 /// Use kzalloc rather than kmalloc followed by memset with 0 /// /// This considers some simple cases that are common and easy to validate /// Note in particular that there are no ...s in the rule, so all of the /// matched code has to be contiguous /// // Confidence: High // Copyright: (C) 2009-2010 Julia Lawall, Nicolas Palix, DIKU. GPLv2. Loading Loading
scripts/coccinelle/alloc/drop_kmalloc_cast.cocci→scripts/coccinelle/api/alloc/drop_kmalloc_cast.cocci +0 −0 File moved. View file
scripts/coccinelle/alloc/kzalloc-simple.cocci→scripts/coccinelle/api/alloc/kzalloc-simple.cocci +5 −1 Original line number Diff line number Diff line /// /// kzalloc should be used rather than kmalloc followed by memset 0 /// Use kzalloc rather than kmalloc followed by memset with 0 /// /// This considers some simple cases that are common and easy to validate /// Note in particular that there are no ...s in the rule, so all of the /// matched code has to be contiguous /// // Confidence: High // Copyright: (C) 2009-2010 Julia Lawall, Nicolas Palix, DIKU. GPLv2. Loading