WARNING: Prefer strscpy, strscpy_pad, or __nonstring over strncpy - see: https://github.com/KSPP/linux/issues/90 #175: FILE: tools/testing/selftests/net/can/test_raw_filter.c:73: + strncpy(ifr.ifr_name, CANIF, sizeof(ifr.ifr_name)); CHECK: Alignment should match open parenthesis #448: FILE: tools/testing/selftests/net/can/test_raw_filter.c:346: + TH_LOG("filters: can_id = 0x%08X can_mask = 0x%08X", + rfilter.can_id, rfilter.can_mask); WARNING: line length of 81 exceeds 80 columns #467: FILE: tools/testing/selftests/net/can/test_raw_filter.c:365: + TH_LOG("failed select for frame %d, err: %d)", i, errno); WARNING: line length of 85 exceeds 80 columns #479: FILE: tools/testing/selftests/net/can/test_raw_filter.c:377: + TH_LOG("failed to read frame %d, err: %d", i, errno); WARNING: line length of 87 exceeds 80 columns #500: FILE: tools/testing/selftests/net/can/test_raw_filter.c:398: + printf("CANIF environment variable must contain the test interface\n"); WARNING: Prefer strscpy, strscpy_pad, or __nonstring over strncpy - see: https://github.com/KSPP/linux/issues/90 #504: FILE: tools/testing/selftests/net/can/test_raw_filter.c:402: + strncpy(CANIF, ifname, sizeof(CANIF) - 1); total: 0 errors, 5 warnings, 1 checks, 476 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 892586afa595 ("selftests: can: Import tst-filter from can-tests") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE 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, 5 warnings, 1 checks, 476 lines checked