CHECK: Alignment should match open parenthesis #82: FILE: test/cmocka/src/audio/pipeline/pipeline_mocks.c:34: +void platform_dai_timestamp(struct comp_dev *dai, + struct sof_ipc_stream_posn *posn) CHECK: Alignment should match open parenthesis #112: FILE: test/cmocka/src/audio/pipeline/pipeline_mocks.c:64: +void platform_host_timestamp(struct comp_dev *host, + struct sof_ipc_stream_posn *posn) CHECK: Alignment should match open parenthesis #119: FILE: test/cmocka/src/audio/pipeline/pipeline_mocks.c:71: +int ipc_stream_send_xrun(struct comp_dev *cdev, + struct sof_ipc_stream_posn *posn) CHECK: Alignment should match open parenthesis #179: FILE: test/cmocka/src/audio/pipeline/pipeline_mocks.h:41: +int ipc_stream_send_xrun(struct comp_dev *cdev, + struct sof_ipc_stream_posn *posn); CHECK: Lines should not end with a '(' #285: FILE: test/cmocka/src/audio/pipeline/pipeline_new.c:43: + struct pipeline_new_setup_data *pipeline_data = malloc( CHECK: Comparison to NULL could be written "!pipeline_data" #288: FILE: test/cmocka/src/audio/pipeline/pipeline_new.c:46: + if (pipeline_data == NULL) CHECK: Alignment should match open parenthesis #368: FILE: test/cmocka/src/audio/pipeline/pipeline_new.c:126: + assert_memory_equal(&test_data->ipc_data, &result->ipc_pipe, + sizeof(struct sof_ipc_pipe_new)); CHECK: Blank lines aren't necessary after an open brace '{' #373: FILE: test/cmocka/src/audio/pipeline/pipeline_new.c:131: +{ + CHECK: Avoid CamelCase: #374: FILE: test/cmocka/src/audio/pipeline/pipeline_new.c:132: + const struct CMUnitTest tests[] = { CHECK: Lines should not end with a '(' #432: FILE: test/cmocka/src/audio/pipeline/pipeline_new_allocation.c:41: +static void test_audio_pipeline_pipeline_new_memory_allocation( CHECK: Lines should not end with a '(' #457: FILE: test/cmocka/src/audio/pipeline/pipeline_new_allocation.c:66: + cmocka_unit_test( total: 0 errors, 0 warnings, 11 checks, 453 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-added-pipeline-tests.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.