WARNING: line length of 86 exceeds 80 columns #114: FILE: tools/testing/selftests/net/ynl/cli.sh:39: + ifindex=$(ip netns exec "$testns" cat /sys/class/net/"$NSIM_DEV_NAME"/ifindex) WARNING: line length of 101 exceeds 80 columns #137: FILE: tools/testing/selftests/net/ynl/cli.sh:62: + --do rings-get --json "{\"header\": {\"dev-name\": \"$NSIM_DEV_NAME\"}}" 2>/dev/null) WARNING: line length of 97 exceeds 80 columns #145: FILE: tools/testing/selftests/net/ynl/cli.sh:70: + --do linkinfo-get --json "{\"header\": {\"dev-name\": \"$VETH_A\"}}" 2>/dev/null) WARNING: line length of 84 exceeds 80 columns #159: FILE: tools/testing/selftests/net/ynl/cli.sh:84: + log_test_skip "YNL CLI rt-* operations" "no rt-* families available" WARNING: line length of 86 exceeds 80 columns #164: FILE: tools/testing/selftests/net/ynl/cli.sh:89: + ifindex=$(ip netns exec "$testns" cat /sys/class/net/"$NSIM_DEV_NAME"/ifindex) WARNING: line length of 86 exceeds 80 columns #168: FILE: tools/testing/selftests/net/ynl/cli.sh:93: + ip netns exec "$testns" ynl --family rt-route --do newroute --create \ WARNING: line length of 206 exceeds 80 columns #169: FILE: tools/testing/selftests/net/ynl/cli.sh:94: + --json "{\"dst\": \"192.0.2.0\", \"oif\": $ifindex, \"rtm-dst-len\": 24, \"rtm-family\": 2, \"rtm-scope\": 253, \"rtm-type\": 1, \"rtm-protocol\": 3, \"rtm-table\": 254}" &>/dev/null WARNING: line length of 206 exceeds 80 columns #180: FILE: tools/testing/selftests/net/ynl/cli.sh:105: + --json "{\"dst\": \"192.0.2.0\", \"oif\": $ifindex, \"rtm-dst-len\": 24, \"rtm-family\": 2, \"rtm-scope\": 253, \"rtm-type\": 1, \"rtm-protocol\": 3, \"rtm-table\": 254}" &>/dev/null WARNING: line length of 140 exceeds 80 columns #185: FILE: tools/testing/selftests/net/ynl/cli.sh:110: + --json "{\"ifa-index\": $ifindex, \"local\": \"192.0.2.100\", \"ifa-prefixlen\": 24, \"ifa-family\": 2}" &>/dev/null WARNING: line length of 84 exceeds 80 columns #193: FILE: tools/testing/selftests/net/ynl/cli.sh:118: + check_err $? "added address 192.0.2.100 not found in address output" WARNING: line length of 140 exceeds 80 columns #196: FILE: tools/testing/selftests/net/ynl/cli.sh:121: + --json "{\"ifa-index\": $ifindex, \"local\": \"192.0.2.100\", \"ifa-prefixlen\": 24, \"ifa-family\": 2}" &>/dev/null WARNING: line length of 84 exceeds 80 columns #200: FILE: tools/testing/selftests/net/ynl/cli.sh:125: + ip netns exec "$testns" ynl --family rt-link --do newlink --create \ WARNING: line length of 106 exceeds 80 columns #201: FILE: tools/testing/selftests/net/ynl/cli.sh:126: + --json "{\"ifname\": \"dummy0\", \"linkinfo\": {\"kind\": \"dummy\"}}" &>/dev/null WARNING: line length of 89 exceeds 80 columns #219: FILE: tools/testing/selftests/net/ynl/cli.sh:144: + # Add neighbor: 192.0.2.1 dev nsim1338 lladdr 11:22:33:44:55:66 PERMANENT WARNING: line length of 86 exceeds 80 columns #220: FILE: tools/testing/selftests/net/ynl/cli.sh:145: + ip netns exec "$testns" ynl --family rt-neigh --do newneigh --create \ WARNING: line length of 170 exceeds 80 columns #221: FILE: tools/testing/selftests/net/ynl/cli.sh:146: + --json "{\"ndm-ifindex\": $ifindex, \"dst\": \"192.0.2.1\", \"lladdr\": \"11:22:33:44:55:66\", \"ndm-family\": 2, \"ndm-state\": 128}" &>/dev/null WARNING: line length of 84 exceeds 80 columns #229: FILE: tools/testing/selftests/net/ynl/cli.sh:154: + check_err $? "added neighbor 192.0.2.1 not found in neighbor output" WARNING: line length of 150 exceeds 80 columns #232: FILE: tools/testing/selftests/net/ynl/cli.sh:157: + --json "{\"ndm-ifindex\": $ifindex, \"dst\": \"192.0.2.1\", \"lladdr\": \"11:22:33:44:55:66\", \"ndm-family\": 2}" &>/dev/null WARNING: line length of 117 exceeds 80 columns #238: FILE: tools/testing/selftests/net/ynl/cli.sh:163: + --json "{\"family\": 2, \"src-len\": 24, \"src\": \"192.0.2.0\", \"table\": 100}" &>/dev/null WARNING: line length of 85 exceeds 80 columns #246: FILE: tools/testing/selftests/net/ynl/cli.sh:171: + check_err $? "added rule with src 192.0.2.0 not found in rule output" WARNING: line length of 117 exceeds 80 columns #249: FILE: tools/testing/selftests/net/ynl/cli.sh:174: + --json "{\"family\": 2, \"src-len\": 24, \"src\": \"192.0.2.0\", \"table\": 100}" &>/dev/null WARNING: line length of 82 exceeds 80 columns #262: FILE: tools/testing/selftests/net/ynl/cli.sh:187: + --do getfamily --json "{\"family-name\": \"netdev\"}" 2>/dev/null) WARNING: line length of 82 exceeds 80 columns #277: FILE: tools/testing/selftests/net/ynl/cli.sh:202: + log_test_skip "all YNL CLI tests" "netdevsim module not available" WARNING: line length of 85 exceeds 80 columns #284: FILE: tools/testing/selftests/net/ynl/cli.sh:209: + log_test_skip "all YNL CLI tests" "failed to create netdevsim device" WARNING: line length of 83 exceeds 80 columns #288: FILE: tools/testing/selftests/net/ynl/cli.sh:213: + if ! ip -n "$testns" link add "$VETH_A" type veth peer name "$VETH_B"; then WARNING: line length of 101 exceeds 80 columns #371: FILE: tools/testing/selftests/net/ynl/ethtool.sh:44: + stats_output=$(ip netns exec "$testns" ynl-ethtool --statistics "$NSIM_DEV_NAME" 2>/dev/null) WARNING: line length of 99 exceeds 80 columns #385: FILE: tools/testing/selftests/net/ynl/ethtool.sh:58: + ring_output=$(ip netns exec "$testns" ynl-ethtool --show-ring "$NSIM_DEV_NAME" 2>/dev/null) WARNING: line length of 100 exceeds 80 columns #393: FILE: tools/testing/selftests/net/ynl/ethtool.sh:66: + if ! ip netns exec "$testns" ynl-ethtool --set-ring "$NSIM_DEV_NAME" rx 64 2>/dev/null; then WARNING: line length of 88 exceeds 80 columns #404: FILE: tools/testing/selftests/net/ynl/ethtool.sh:77: + ip netns exec "$testns" ynl-ethtool --show-coalesce "$NSIM_DEV_NAME" &>/dev/null WARNING: line length of 110 exceeds 80 columns #407: FILE: tools/testing/selftests/net/ynl/ethtool.sh:80: + if ! ip netns exec "$testns" ynl-ethtool --set-coalesce "$NSIM_DEV_NAME" rx-usecs 50 2>/dev/null; then WARNING: line length of 85 exceeds 80 columns #418: FILE: tools/testing/selftests/net/ynl/ethtool.sh:91: + ip netns exec "$testns" ynl-ethtool --show-pause "$NSIM_DEV_NAME" &>/dev/null WARNING: line length of 105 exceeds 80 columns #421: FILE: tools/testing/selftests/net/ynl/ethtool.sh:94: + if ! ip netns exec "$testns" ynl-ethtool --set-pause "$NSIM_DEV_NAME" tx 1 rx 1 2>/dev/null; then WARNING: line length of 107 exceeds 80 columns #433: FILE: tools/testing/selftests/net/ynl/ethtool.sh:106: + features_output=$(ip netns exec "$testns" ynl-ethtool --show-features "$NSIM_DEV_NAME" 2>/dev/null) WARNING: line length of 107 exceeds 80 columns #449: FILE: tools/testing/selftests/net/ynl/ethtool.sh:122: + channels_output=$(ip netns exec "$testns" ynl-ethtool --show-channels "$NSIM_DEV_NAME" 2>/dev/null) WARNING: line length of 115 exceeds 80 columns #457: FILE: tools/testing/selftests/net/ynl/ethtool.sh:130: + if ! ip netns exec "$testns" ynl-ethtool --set-channels "$NSIM_DEV_NAME" combined-count 1 2>/dev/null; then WARNING: line length of 106 exceeds 80 columns #469: FILE: tools/testing/selftests/net/ynl/ethtool.sh:142: + ts_output=$(ip netns exec "$testns" ynl-ethtool --show-time-stamping "$NSIM_DEV_NAME" 2>/dev/null) WARNING: line length of 94 exceeds 80 columns #473: FILE: tools/testing/selftests/net/ynl/ethtool.sh:146: + echo "$ts_output" | grep -q -E "(Time stamping|timestamping|SOF_TIMESTAMPING)" WARNING: line length of 86 exceeds 80 columns #483: FILE: tools/testing/selftests/net/ynl/ethtool.sh:156: + log_test_skip "all YNL ethtool tests" "netdevsim module not available" WARNING: line length of 89 exceeds 80 columns #490: FILE: tools/testing/selftests/net/ynl/ethtool.sh:163: + log_test_skip "all YNL ethtool tests" "failed to create netdevsim device" WARNING: line length of 95 exceeds 80 columns #494: FILE: tools/testing/selftests/net/ynl/ethtool.sh:167: + if ! ip -n "$testns" link add "$VETH_A" type veth peer name "$VETH_B" 2>/dev/null; then WARNING: line length of 82 exceeds 80 columns #495: FILE: tools/testing/selftests/net/ynl/ethtool.sh:168: + log_test_skip "all YNL ethtool tests" "failed to create veth pair" total: 0 errors, 41 warnings, 0 checks, 454 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 907284f5f9a6 ("selftests: net: add YNL test framework") 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, 41 warnings, 0 checks, 454 lines checked