CHECK: No space is necessary after a cast #77: FILE: test/cmocka/src/lib/lib/memset.c:42: + (void) state; CHECK: No space is necessary after a cast #92: FILE: test/cmocka/src/lib/lib/memset.c:57: + (void) state; CHECK: No space is necessary after a cast #112: FILE: test/cmocka/src/lib/lib/memset.c:77: + (void) state; CHECK: spaces preferred around that '+' (ctx:VxV) #116: FILE: test/cmocka/src/lib/lib/memset.c:81: + p = memset(str+1, 'b', 1); ^ CHECK: Avoid CamelCase: #126: FILE: test/cmocka/src/lib/lib/memset.c:91: + const struct CMUnitTest tests[] = { total: 0 errors, 0 warnings, 5 checks, 112 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. 0001-test-lib-memset-Added-unit-tests-for-lib-memset.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS.