coding standard related work for Linux kernel code using checkpatch.pl tool

$git fetch origin $ $./scripts/checkpatch.pl –file –terse sound/sound_core.c | more sound/sound_core.c:71: ERROR: trailing whitespace sound/sound_core.c:83: ERROR: trailing whitespace sound/sound_core.c:85: ERROR: trailing whitespace sound/sound_core.c:115: ERROR: open brace ‘{‘ following struct go on the same line sound/sound_core.c:123: WARNING: externs should be avoided in .c files sound/sound_core.c:126: WARNING: externs should be avoided in .c files sound/sound_core.c:155: ERROR: do …

Read More