WARNING: braces {} are not necessary for single statement blocks #94: FILE: lib/ml-lib/test_driver/test_application/test_ml_lib_char_dev.c:45: + if (fgets(buffer, sizeof(buffer), fp)) { + printf(" %s: %s", attr_name, buffer); + } WARNING: braces {} are not necessary for single statement blocks #124: FILE: lib/ml-lib/test_driver/test_application/test_ml_lib_char_dev.c:75: + while (fgets(buffer, sizeof(buffer), fp)) { + printf("%s", buffer); + } WARNING: line length of 95 exceeds 80 columns #133: FILE: lib/ml-lib/test_driver/test_application/test_ml_lib_char_dev.c:84: + const char *test_data = "Hello from userspace! This is a test of the mllibdev driver."; WARNING: line length of 83 exceeds 80 columns #230: FILE: lib/ml-lib/test_driver/test_application/test_ml_lib_char_dev.c:181: + printf("1. The driver module is loaded (lsmod | grep mllibdev)\n"); total: 0 errors, 4 warnings, 0 checks, 227 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 207aac72fa7d ("ml-lib: Implement simple user-space testing application") 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, 4 warnings, 0 checks, 227 lines checked