checkpatch: fix the perlcritic errors