cs.c: Fix all checkpatch warnings and errors.