3 # Perform various static code analysis checks
13 for cocci_patch
in contrib
/coccinelle
/*.
patch
15 if test -s "$cocci_patch"
17 echo "$(tput setaf 1)Coccinelle suggests the following changes in '$cocci_patch':$(tput sgr0)"
25 echo "$(tput setaf 1)error: Coccinelle suggested some changes$(tput sgr0)"