CHECK: struct mutex definition without comment #346: FILE: lib/ml-lib/test_driver/ml_lib_char_dev.c:42: + struct mutex lock; CHECK: Alignment should match open parenthesis #494: FILE: lib/ml-lib/test_driver/ml_lib_char_dev.c:190: + memset(data->dataset_buf, + 0, data->dataset_buf_size); CHECK: Alignment should match open parenthesis #497: FILE: lib/ml-lib/test_driver/ml_lib_char_dev.c:193: + memset(data->recommendations_buf, + 0, data->recommendations_buf_size); WARNING: line length of 82 exceeds 80 columns #519: FILE: lib/ml-lib/test_driver/ml_lib_char_dev.c:215: + pr_info("ml_lib_test_dev: Data size set to %d via IOCTL\n", size); WARNING: Prefer seq_puts to seq_printf #601: FILE: lib/ml-lib/test_driver/ml_lib_char_dev.c:297: + seq_printf(m, "ML Library Testing Device Driver Information\n"); WARNING: Prefer seq_puts to seq_printf #602: FILE: lib/ml-lib/test_driver/ml_lib_char_dev.c:298: + seq_printf(m, "=================================\n"); total: 0 errors, 3 warnings, 3 checks, 790 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. Commit 868c6da44c8a ("ml-lib: Implement simple testing character device driver") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 3 warnings, 3 checks, 790 lines checked