[app/pdump/main.c:173]: (style) The scope of the variable 'n' can be reduced. [app/pdump/main.c:413]: (style) The scope of the variable 'pt' can be reduced. [app/pdump/main.c:476]: (style) The scope of the variable 'pt' can be reduced. [app/pdump/main.c:773]: (style) The scope of the variable 'pt' can be reduced. [app/proc-info/main.c:433]: (style) Expression is always false because 'else if' condition matches previous condition at line 429. [app/proc-info/main.c:653]: (style) The scope of the variable 'ret' can be reduced. [app/proc-info/main.c:820]: (style) The scope of the variable 'ret' can be reduced. [app/proc-info/main.c:1143]: (style) The scope of the variable 'flags' can be reduced. [app/proc-info/main.c:314]: (style) Checking if unsigned variable 'nb_xstats_ids' is less than zero. [app/proc-info/main.c:1085]: (warning) Suspicious usage of 'sizeof' with a numeric constant as parameter. [app/test-bbdev/main.c:85]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [app/test-bbdev/main.c:89]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [app/test-bbdev/main.c:93]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [app/test-bbdev/main.c:108]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [app/test-bbdev/main.c:109]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [app/test-bbdev/main.c:110]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [app/test-bbdev/main.c:111]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [app/test-bbdev/test_bbdev.c:73]: (warning) %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [app/test-bbdev/test_bbdev.c:78]: (warning) %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [app/test-bbdev/test_bbdev.c:1111] -> [app/test-bbdev/test_bbdev.c:1115]: (style) Variable 'dev2->dev_ops' is reassigned a value before the old one has been used. [app/test-bbdev/test_bbdev.c:1119] -> [app/test-bbdev/test_bbdev.c:1123]: (style) Variable 'dev2->dev_ops' is reassigned a value before the old one has been used. [app/test-bbdev/test_bbdev.c:1139] -> [app/test-bbdev/test_bbdev.c:1144]: (style) Variable 'dev2->dev_ops' is reassigned a value before the old one has been used. [app/test-bbdev/test_bbdev.c:1148] -> [app/test-bbdev/test_bbdev.c:1153]: (style) Variable 'dev2->dev_ops' is reassigned a value before the old one has been used. [app/test-bbdev/test_bbdev.c:1153] -> [app/test-bbdev/test_bbdev.c:1166]: (style) Variable 'dev2->dev_ops' is reassigned a value before the old one has been used. [app/test-bbdev/test_bbdev.c:1170] -> [app/test-bbdev/test_bbdev.c:1187]: (style) Variable 'dev2->dev_ops' is reassigned a value before the old one has been used. [app/test-bbdev/test_bbdev.c:1191] -> [app/test-bbdev/test_bbdev.c:1197]: (style) Variable 'dev2->dev_ops' is reassigned a value before the old one has been used. [app/test-bbdev/test_bbdev.c:1201] -> [app/test-bbdev/test_bbdev.c:1208]: (style) Variable 'dev2->dev_ops' is reassigned a value before the old one has been used. [app/test-bbdev/test_bbdev.c:1216] -> [app/test-bbdev/test_bbdev.c:1220]: (style) Variable 'dev2->dev_ops' is reassigned a value before the old one has been used. [app/test-bbdev/test_bbdev.c:1220] -> [app/test-bbdev/test_bbdev.c:1232]: (style) Variable 'dev2->dev_ops' is reassigned a value before the old one has been used. [app/test-bbdev/test_bbdev.c:1241] -> [app/test-bbdev/test_bbdev.c:1244]: (style) Variable 'dev2->dev_ops' is reassigned a value before the old one has been used. [app/test-bbdev/test_bbdev.c:1251] -> [app/test-bbdev/test_bbdev.c:1255]: (style) Variable 'dev2->dev_ops' is reassigned a value before the old one has been used. [app/test-bbdev/test_bbdev.c:1255] -> [app/test-bbdev/test_bbdev.c:1261]: (style) Variable 'dev2->dev_ops' is reassigned a value before the old one has been used. [app/test-bbdev/test_bbdev.c:1265] -> [app/test-bbdev/test_bbdev.c:1272]: (style) Variable 'dev2->dev_ops' is reassigned a value before the old one has been used. [app/test-bbdev/test_bbdev.c:1276] -> [app/test-bbdev/test_bbdev.c:1285]: (style) Variable 'dev2->dev_ops' is reassigned a value before the old one has been used. [app/test-bbdev/test_bbdev_perf.c:320]: (warning) %u in format string (no. 5) requires 'unsigned int' but the argument type is 'signed int'. [app/test-bbdev/test_bbdev_perf.c:334]: (warning) %u in format string (no. 5) requires 'unsigned int' but the argument type is 'signed int'. [app/test-bbdev/test_bbdev_perf.c:346]: (warning) %u in format string (no. 5) requires 'unsigned int' but the argument type is 'signed int'. [app/test-bbdev/test_bbdev_perf.c:361]: (warning) %u in format string (no. 5) requires 'unsigned int' but the argument type is 'signed int'. [app/test-bbdev/test_bbdev_perf.c:543]: (style) The scope of the variable 'dev_id' can be reduced. [app/test-bbdev/test_bbdev_perf.c:561]: (style) The scope of the variable 'dev_id' can be reduced. [app/test-bbdev/test_bbdev_perf.c:583]: (style) The scope of the variable 'data' can be reduced. [app/test-bbdev/test_bbdev_perf.c:666]: (style) The scope of the variable 'i' can be reduced. [app/test-bbdev/test_bbdev_perf.c:940]: (style) The scope of the variable 'ret' can be reduced. [app/test-bbdev/test_bbdev_perf.c:946]: (style) The scope of the variable 'hard_output' can be reduced. [app/test-bbdev/test_bbdev_perf.c:947]: (style) The scope of the variable 'soft_output' can be reduced. [app/test-bbdev/test_bbdev_perf.c:983]: (style) The scope of the variable 'ret' can be reduced. [app/test-bbdev/test_bbdev_perf.c:1030]: (style) The scope of the variable 'i' can be reduced. [app/test-bbdev/test_bbdev_perf.c:1031]: (style) The scope of the variable 'c' can be reduced. [app/test-bbdev/test_bbdev_perf.c:1031]: (style) The scope of the variable 'r' can be reduced. [app/test-bbdev/test_bbdev_perf.c:1049]: (style) The scope of the variable 'i' can be reduced. [app/test-bbdev/test_bbdev_perf.c:1050]: (style) The scope of the variable 'c' can be reduced. [app/test-bbdev/test_bbdev_perf.c:1050]: (style) The scope of the variable 'r' can be reduced. [app/test-bbdev/test_bbdev_perf.c:1500]: (style) The scope of the variable 'start_time' can be reduced. [app/test-bbdev/test_bbdev_perf.c:1597]: (style) The scope of the variable 'start_time' can be reduced. [app/test-bbdev/test_bbdev_perf.c:1880]: (style) The scope of the variable 'ret' can be reduced. [app/test-bbdev/test_bbdev_perf.c:1883]: (style) The scope of the variable 'start_time' can be reduced. [app/test-bbdev/test_bbdev_perf.c:1883]: (style) The scope of the variable 'last_time' can be reduced. [app/test-bbdev/test_bbdev_perf.c:1949]: (style) The scope of the variable 'ret' can be reduced. [app/test-bbdev/test_bbdev_perf.c:1952]: (style) The scope of the variable 'start_time' can be reduced. [app/test-bbdev/test_bbdev_perf.c:1952]: (style) The scope of the variable 'last_time' can be reduced. [app/test-bbdev/test_bbdev_perf.c:2095]: (style) The scope of the variable 'ret' can be reduced. [app/test-bbdev/test_bbdev_perf.c:2097]: (style) The scope of the variable 'enq_start_time' can be reduced. [app/test-bbdev/test_bbdev_perf.c:2097]: (style) The scope of the variable 'deq_start_time' can be reduced. [app/test-bbdev/test_bbdev_perf.c:2098]: (style) The scope of the variable 'enq_sw_last_time' can be reduced. [app/test-bbdev/test_bbdev_perf.c:2098]: (style) The scope of the variable 'deq_last_time' can be reduced. [app/test-bbdev/test_bbdev_perf.c:2180]: (style) The scope of the variable 'ret' can be reduced. [app/test-bbdev/test_bbdev_perf.c:2182]: (style) The scope of the variable 'enq_start_time' can be reduced. [app/test-bbdev/test_bbdev_perf.c:2182]: (style) The scope of the variable 'deq_start_time' can be reduced. [app/test-bbdev/test_bbdev_perf.c:2183]: (style) The scope of the variable 'enq_sw_last_time' can be reduced. [app/test-bbdev/test_bbdev_perf.c:2183]: (style) The scope of the variable 'deq_last_time' can be reduced. [app/test-bbdev/test_bbdev_perf.c:2359]: (style) The scope of the variable 'deq_start_time' can be reduced. [app/test-bbdev/test_bbdev_perf.c:2359]: (style) The scope of the variable 'deq_last_time' can be reduced. [app/test-bbdev/test_bbdev_perf.c:2388]: (style) The scope of the variable 'deq_start_time' can be reduced. [app/test-bbdev/test_bbdev_perf.c:2388]: (style) The scope of the variable 'deq_last_time' can be reduced. [app/test-bbdev/test_bbdev_vector.c:555]: (style) The scope of the variable 'ret' can be reduced. [app/test-compress-perf/comp_perf_options_parse.c:456]: (style) The scope of the variable 'ret' can be reduced. [app/test-compress-perf/comp_perf_test_benchmark.c:26] -> [app/test-compress-perf/comp_perf_test_benchmark.c:17]: (warning) Either the condition 'test_data==NULL' is redundant or there is possible null pointer dereference: test_data. [app/test-compress-perf/comp_perf_test_benchmark.c:88] -> [app/test-compress-perf/comp_perf_test_benchmark.c:87]: (style) Same expression used in consecutive assignments of 'total_ops' and 'remaining_ops'. [app/test-compress-perf/comp_perf_test_benchmark.c:185]: (style) The scope of the variable 'data_to_append' can be reduced. [app/test-compress-perf/comp_perf_test_benchmark.c:234]: (style) The scope of the variable 'data_to_append' can be reduced. [app/test-compress-perf/comp_perf_test_verify.c:28] -> [app/test-compress-perf/comp_perf_test_verify.c:18]: (warning) Either the condition 'test_data==NULL' is redundant or there is possible null pointer dereference: test_data. [app/test-compress-perf/comp_perf_test_verify.c:86] -> [app/test-compress-perf/comp_perf_test_verify.c:85]: (style) Same expression used in consecutive assignments of 'total_ops' and 'remaining_ops'. [app/test-compress-perf/comp_perf_test_verify.c:207]: (style) The scope of the variable 'data_to_append' can be reduced. [app/test-compress-perf/comp_perf_test_verify.c:278]: (style) The scope of the variable 'data_to_append' can be reduced. [app/test-compress-perf/main.c:328]: (style) The scope of the variable 'data_sz' can be reduced. [app/test-compress-perf/main.c:329]: (style) The scope of the variable 'data_addr' can be reduced. [app/test-crypto-perf/cperf_options_parsing.c:312]: (style) The scope of the variable 'ret' can be reduced. [app/test-crypto-perf/cperf_options_parsing.c:333]: (style) The scope of the variable 'ret' can be reduced. [app/test-crypto-perf/cperf_test_latency.c:174]: (style) The scope of the variable 'ops_enqd' can be reduced. [app/test-crypto-perf/cperf_test_latency.c:177]: (style) The scope of the variable 'tsc_val' can be reduced. [app/test-crypto-perf/cperf_test_latency.c:177]: (style) The scope of the variable 'tsc_start' can be reduced. [app/test-crypto-perf/cperf_test_pmd_cyclecount.c:56] -> [app/test-crypto-perf/cperf_test_pmd_cyclecount.c:107]: (style) Local variable iv_offset shadows outer variable [app/test-crypto-perf/cperf_test_verify.c:205]: (style) The scope of the variable 'mbuf_data' can be reduced. [app/test-crypto-perf/cperf_test_verify.c:232]: (style) The scope of the variable 'ops_enqd' can be reduced. [app/test-crypto-perf/main.c:375]: (style) Condition 'opts->cipher_algo!=RTE_CRYPTO_CIPHER_NULL' is always true [app/test-crypto-perf/main.c:425]: (style) Condition 'opts->cipher_algo!=RTE_CRYPTO_CIPHER_NULL' is always true [app/test-crypto-perf/main.c:75]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [app/test-crypto-perf/main.c:98]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [app/test-crypto-perf/main.c:605] -> [app/test-crypto-perf/main.c:705]: (style) Variable 'i' is reassigned a value before the old one has been used. [app/test-crypto-perf/main.c:655] -> [app/test-crypto-perf/main.c:657]: (style) Variable 'i' is reassigned a value before the old one has been used. [app/test-crypto-perf/main.c:663] -> [app/test-crypto-perf/main.c:705]: (style) Variable 'i' is reassigned a value before the old one has been used. [app/test-crypto-perf/main.c:682] -> [app/test-crypto-perf/main.c:684]: (style) Variable 'i' is reassigned a value before the old one has been used. [app/test-crypto-perf/main.c:712] -> [app/test-crypto-perf/main.c:715]: (style) Variable 'i' is reassigned a value before the old one has been used. [app/test-crypto-perf/main.c:732] -> [app/test-crypto-perf/main.c:735]: (style) Variable 'i' is reassigned a value before the old one has been used. [app/test-crypto-perf/main.c:124]: (style) The scope of the variable 'ret' can be reduced. [app/test-crypto-perf/main.c:150]: (style) The scope of the variable 'sess_size' can be reduced. [app/test-crypto-perf/main.c:295]: (style) The scope of the variable 'cdev_id' can be reduced. [app/test-eventdev/evt_options.h:214]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [app/test-eventdev/evt_common.h:74]: (style) The scope of the variable 'cnt' can be reduced. [app/test-eventdev/evt_main.c:23]: (style) The scope of the variable 'i' can be reduced. [app/test-eventdev/parser.c:344]: (style) The scope of the variable 'idx' can be reduced. [app/test-eventdev/test_perf_common.c:564]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [app/test-eventdev/test_perf_common.c:654]: (style) The scope of the variable 'i' can be reduced. [app/test-eventdev/test_perf_common.c:746]: (style) The scope of the variable 'i' can be reduced. [app/test-eventdev/test_pipeline_common.c:120]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [app/test-pmd/bpf_cmd.c:68]: (style) The scope of the variable 'v' can be reduced. [app/test-pmd/cmdline.c:13099]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [app/test-pmd/cmdline.c:13205]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [app/test-pmd/cmdline.c:14307]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [app/test-pmd/cmdline.c:14397]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [app/test-pmd/cmdline.c:14702]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [app/test-pmd/cmdline.c:14917]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [app/test-pmd/cmdline.c:14784] -> [app/test-pmd/cmdline.c:14789]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:14843] -> [app/test-pmd/cmdline.c:14855]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:2102]: (style) The scope of the variable 'diag' can be reduced. [app/test-pmd/cmdline.c:2235]: (style) The scope of the variable 'xdgt0' can be reduced. [app/test-pmd/cmdline.c:2236]: (style) The scope of the variable 'xdgt1' can be reduced. [app/test-pmd/cmdline.c:2616]: (style) The scope of the variable 'mp' can be reduced. [app/test-pmd/cmdline.c:2714]: (style) The scope of the variable 'size' can be reduced. [app/test-pmd/cmdline.c:2715]: (style) The scope of the variable 'hash_index' can be reduced. [app/test-pmd/cmdline.c:2715]: (style) The scope of the variable 'idx' can be reduced. [app/test-pmd/cmdline.c:2715]: (style) The scope of the variable 'shift' can be reduced. [app/test-pmd/cmdline.c:2716]: (style) The scope of the variable 'nb_queue' can be reduced. [app/test-pmd/cmdline.c:2770]: (style) The scope of the variable 'ret' can be reduced. [app/test-pmd/cmdline.c:3122]: (style) The scope of the variable 'rec_nb_pkts' can be reduced. [app/test-pmd/cmdline.c:3362]: (style) The scope of the variable 'c' can be reduced. [app/test-pmd/cmdline.c:3591]: (style) The scope of the variable 'ret' can be reduced. [app/test-pmd/cmdline.c:4264]: (style) The scope of the variable 'hw' can be reduced. [app/test-pmd/cmdline.c:4265]: (style) The scope of the variable 'csum_offloads' can be reduced. [app/test-pmd/cmdline.c:6392]: (style) The scope of the variable 'i' can be reduced. [app/test-pmd/cmdline.c:6472]: (style) The scope of the variable 'i' can be reduced. [app/test-pmd/cmdline.c:8252]: (style) The scope of the variable 'rx_mode' can be reduced. [app/test-pmd/cmdline.c:10589]: (style) The scope of the variable 'int_fld' can be reduced. [app/test-pmd/cmdline.c:10707]: (style) The scope of the variable 'vf_id' can be reduced. [app/test-pmd/cmdline.c:11687]: (style) The scope of the variable 'int_fld' can be reduced. [app/test-pmd/cmdline.c:11953]: (style) The scope of the variable 'idx' can be reduced. [app/test-pmd/cmdline.c:11953]: (style) The scope of the variable 'offset' can be reduced. [app/test-pmd/cmdline.c:14182]: (style) The scope of the variable 'xdgt0' can be reduced. [app/test-pmd/cmdline.c:14183]: (style) The scope of the variable 'xdgt1' can be reduced. [app/test-pmd/cmdline.c:17718]: (style) The scope of the variable 'queue_offloads' can be reduced. [app/test-pmd/cmdline.c:17796]: (style) The scope of the variable 'single_name' can be reduced. [app/test-pmd/cmdline.c:18112]: (style) The scope of the variable 'queue_offloads' can be reduced. [app/test-pmd/cmdline.c:18192]: (style) The scope of the variable 'single_name' can be reduced. [app/test-pmd/cmdline.c:1746]: (style) Checking if unsigned variable 'res->value' is less than zero. [app/test-pmd/cmdline.c:1753]: (style) Checking if unsigned variable 'res->value' is less than zero. [app/test-pmd/testpmd.h:384] -> [app/test-pmd/cmdline.c:8252]: (style) Local variable rx_mode shadows outer variable [app/test-pmd/cmdline.c:16486]: (style) struct member 'cmd_cfg_input_set_result::pctype_id' is never used. [app/test-pmd/cmdline.c:16490]: (style) struct member 'cmd_cfg_input_set_result::field_idx' is never used. [app/test-pmd/cmdline.c:16610]: (style) struct member 'cmd_clear_input_set_result::pctype_id' is never used. [app/test-pmd/cmdline.c:16445]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [app/test-pmd/cmdline.c:16449]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [app/test-pmd/cmdline.c:9463] -> [app/test-pmd/cmdline.c:9479]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:9562] -> [app/test-pmd/cmdline.c:9578]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:9653] -> [app/test-pmd/cmdline.c:9668]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:9744] -> [app/test-pmd/cmdline.c:9761]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:9826] -> [app/test-pmd/cmdline.c:9840]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:14291] -> [app/test-pmd/cmdline.c:14299]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:14381] -> [app/test-pmd/cmdline.c:14389]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:14471] -> [app/test-pmd/cmdline.c:14479]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:14565] -> [app/test-pmd/cmdline.c:14573]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:14688] -> [app/test-pmd/cmdline.c:14694]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:14903] -> [app/test-pmd/cmdline.c:14909]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:15975] -> [app/test-pmd/cmdline.c:15981]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:16186] -> [app/test-pmd/cmdline.c:16209]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:16504] -> [app/test-pmd/cmdline.c:16518]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:16627] -> [app/test-pmd/cmdline.c:16644]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:16942] -> [app/test-pmd/cmdline.c:16948]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:17020] -> [app/test-pmd/cmdline.c:17031]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:17136] -> [app/test-pmd/cmdline.c:17153]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:17234] -> [app/test-pmd/cmdline.c:17246]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:17339] -> [app/test-pmd/cmdline.c:17345]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:17421] -> [app/test-pmd/cmdline.c:17427]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:17502] -> [app/test-pmd/cmdline.c:17512]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:16426]: (style) The scope of the variable 'p_info' can be reduced. [app/test-pmd/cmdline.c:16427]: (style) The scope of the variable 'p_num' can be reduced. [app/test-pmd/cmdline.c:16429]: (style) The scope of the variable 'i' can be reduced. [app/test-pmd/cmdline.c:17239]: (style) The scope of the variable 'i' can be reduced. [app/test-pmd/cmdline.c:5103] -> [app/test-pmd/cmdline.c:5116]: (style) Variable 'rc' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:5169] -> [app/test-pmd/cmdline.c:5213]: (style) Variable 'rc' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:13680] -> [app/test-pmd/cmdline.c:13687]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:14079] -> [app/test-pmd/cmdline.c:14083]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:14179] -> [app/test-pmd/cmdline.c:14202]: (style) Variable 'ret' is reassigned a value before the old one has been used. [app/test-pmd/cmdline.c:5637]: (style) The scope of the variable 'agg_mode' can be reduced. [app/test-pmd/cmdline_flow.c:2893] -> [app/test-pmd/cmdline_flow.c:2887]: (warning) Either the condition '!dst' is redundant or there is pointer arithmetic with NULL pointer. [app/test-pmd/cmdline_flow.c:4610]: (style) Clarify calculation precedence for '&' and '?'. [app/test-pmd/cmdline_mtr.c:171]: (style) The scope of the variable 'token' can be reduced. [app/test-pmd/cmdline_mtr.c:173]: (style) The scope of the variable 'action' can be reduced. [app/test-pmd/config.c:1664]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [app/test-pmd/config.c:2586]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [app/test-pmd/config.c:2586]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [app/test-pmd/config.c:3517]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [app/test-pmd/config.c:2296] -> [app/test-pmd/config.c:2314]: (style) The expression 'record_now == 0' is always true. [app/test-pmd/config.c:398]: (style) The scope of the variable 'mp' can be reduced. [app/test-pmd/config.c:1718]: (style) The scope of the variable 'idx' can be reduced. [app/test-pmd/config.c:1718]: (style) The scope of the variable 'shift' can be reduced. [app/test-pmd/config.c:1886]: (style) The scope of the variable 'warning_once' can be reduced. [app/test-pmd/config.c:1955]: (style) The scope of the variable 'txp' can be reduced. [app/test-pmd/config.c:2601]: (style) The scope of the variable 'max_pkts_num' can be reduced. [app/test-pmd/config.c:2651]: (style) The scope of the variable 'separator' can be reduced. [app/test-pmd/config.c:2652]: (style) The scope of the variable 'fwd_eng' can be reduced. [app/test-pmd/config.c:2653]: (style) The scope of the variable 'i' can be reduced. [app/test-pmd/config.c:2672]: (style) The scope of the variable 'separator' can be reduced. [app/test-pmd/config.c:2673]: (style) The scope of the variable 'fwd_eng' can be reduced. [app/test-pmd/config.c:2674]: (style) The scope of the variable 'i' can be reduced. [app/test-pmd/config.c:3131]: (style) The scope of the variable 'cfg' can be reduced. [app/test-pmd/config.c:3194]: (style) The scope of the variable 'mask' can be reduced. [app/test-pmd/config.c:3196]: (style) The scope of the variable 'p' can be reduced. [app/test-pmd/config.c:1538] -> [app/test-pmd/config.c:1547]: (style) Local variable ring shadows outer variable [app/test-pmd/testpmd.h:387] -> [app/test-pmd/config.c:1749]: (style) Local variable rss_hf shadows outer variable [app/test-pmd/config.c:2370] -> [app/test-pmd/config.c:2379]: (style) The expression 'record_now == 0' is always true. [app/test-pmd/csumonly.c:105]: (style) The scope of the variable 'tcp_hdr' can be reduced. [app/test-pmd/csumonly.c:124]: (style) The scope of the variable 'tcp_hdr' can be reduced. [app/test-pmd/csumonly.c:212]: (style) The scope of the variable 'ipv4_hdr' can be reduced. [app/test-pmd/csumonly.c:275]: (style) The scope of the variable 'ipv4_hdr' can be reduced. [app/test-pmd/csumonly.c:366]: (style) The scope of the variable 'udp_hdr' can be reduced. [app/test-pmd/csumonly.c:519]: (style) The scope of the variable 'len' can be reduced. [app/test-pmd/csumonly.c:583]: (style) The scope of the variable 'rc' can be reduced. [app/test-pmd/csumonly.c:690]: (style) The scope of the variable 'gso_ctx' can be reduced. [app/test-pmd/csumonly.c:696]: (style) The scope of the variable 'gro_ctx' can be reduced. [app/test-pmd/csumonly.c:697]: (style) The scope of the variable 'gro_pkts_num' can be reduced. [app/test-pmd/csumonly.c:703]: (style) The scope of the variable 'rx_ol_flags' can be reduced. [app/test-pmd/csumonly.c:703]: (style) The scope of the variable 'tx_ol_flags' can be reduced. [app/test-pmd/csumonly.c:705]: (style) The scope of the variable 'retry' can be reduced. [app/test-pmd/csumonly.c:710]: (style) The scope of the variable 'nb_segments' can be reduced. [app/test-pmd/csumonly.c:711]: (style) The scope of the variable 'ret' can be reduced. [app/test-pmd/flowgen.c:123]: (style) The scope of the variable 'ip_hdr' can be reduced. [app/test-pmd/flowgen.c:124]: (style) The scope of the variable 'udp_hdr' can be reduced. [app/test-pmd/flowgen.c:131]: (style) The scope of the variable 'retry' can be reduced. [app/test-pmd/icmpecho.c:218]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [app/test-pmd/icmpecho.c:284]: (style) The scope of the variable 'retry' can be reduced. [app/test-pmd/icmpecho.c:287]: (style) The scope of the variable 'nb_tx' can be reduced. [app/test-pmd/icmpecho.c:289]: (style) The scope of the variable 'eth_type' can be reduced. [app/test-pmd/icmpecho.c:295]: (style) The scope of the variable 'l2_len' can be reduced. [app/test-pmd/icmpecho.c:201]: (information) Skipping configuration 'IPPROTO_DIVERT' since the value of 'IPPROTO_DIVERT' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [app/test-pmd/icmpecho.c:195]: (information) Skipping configuration 'IPPROTO_PGM' since the value of 'IPPROTO_PGM' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [app/test-pmd/ieee1588fwd.c:81]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [app/test-pmd/iofwd.c:52]: (style) The scope of the variable 'retry' can be reduced. [app/test-pmd/macfwd.c:51]: (style) The scope of the variable 'mb' can be reduced. [app/test-pmd/macfwd.c:53]: (style) The scope of the variable 'retry' can be reduced. [app/test-pmd/macswap.h:15]: (style) The scope of the variable 'mb' can be reduced. [app/test-pmd/macswap.c:86]: (style) The scope of the variable 'retry' can be reduced. [app/test-pmd/noisy_vnf.c:234]: (style) The scope of the variable 'name' can be reduced. [app/test-pmd/noisy_vnf.c:64]: (style) Variable 'r' is modified but its new value is never used. [app/test-pmd/parameters.c:292]: (style) The scope of the variable 'size' can be reduced. [app/test-pmd/parameters.c:381]: (style) The scope of the variable 'socket_id' can be reduced. [app/test-pmd/parameters.c:382]: (style) The scope of the variable 'port_id' can be reduced. [app/test-pmd/parameters.c:383]: (style) The scope of the variable 'size' can be reduced. [app/test-pmd/parameters.c:437]: (style) The scope of the variable 'ring_flag' can be reduced. [app/test-pmd/parameters.c:437]: (style) The scope of the variable 'socket_id' can be reduced. [app/test-pmd/parameters.c:438]: (style) The scope of the variable 'port_id' can be reduced. [app/test-pmd/parameters.c:439]: (style) The scope of the variable 'size' can be reduced. [app/test-pmd/parameters.c:554] -> [app/test-pmd/parameters.c:703]: (style) Local variable n shadows outer variable [app/test-pmd/softnicfwd.c:234]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [app/test-pmd/softnicfwd.c:303]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [app/test-pmd/softnicfwd.c:373]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [app/test-pmd/softnicfwd.c:88]: (style) The scope of the variable 'retry' can be reduced. [app/test-pmd/softnicfwd.c:245]: (style) The scope of the variable 'subport_parent_node_id' can be reduced. [app/test-pmd/softnicfwd.c:248]: (style) The scope of the variable 'priority' can be reduced. [app/test-pmd/softnicfwd.c:248]: (style) The scope of the variable 'weight' can be reduced. [app/test-pmd/softnicfwd.c:298]: (style) Variable 'subport_node_id' is modified but its new value is never used. [app/test-pmd/testpmd.c:2045]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [app/test-pmd/testpmd.c:919]: (style) The scope of the variable 'warning_once' can be reduced. [app/test-pmd/testpmd.c:1217]: (style) The scope of the variable 'port' can be reduced. [app/test-pmd/testpmd.c:1599]: (style) The scope of the variable 'lc_id' can be reduced. [app/test-pmd/testpmd.c:1626]: (style) The scope of the variable 'port_fwd_begin' can be reduced. [app/test-pmd/testpmd.c:1627]: (style) The scope of the variable 'port_fwd_end' can be reduced. [app/test-pmd/testpmd.c:1732]: (style) The scope of the variable 'port' can be reduced. [app/test-pmd/testpmd.c:1743]: (style) The scope of the variable 'tx_dropped' can be reduced. [app/test-pmd/testpmd.c:1744]: (style) The scope of the variable 'rx_bad_ip_csum' can be reduced. [app/test-pmd/testpmd.c:1745]: (style) The scope of the variable 'rx_bad_l4_csum' can be reduced. [app/test-pmd/testpmd.c:1887]: (style) The scope of the variable 'port' can be reduced. [app/test-pmd/testpmd.c:2384]: (style) The scope of the variable 'device' can be reduced. [app/test-pmd/testpmd.c:2385]: (style) The scope of the variable 'pt_id' can be reduced. [app/test-pmd/testpmd.c:2386]: (style) The scope of the variable 'ret' can be reduced. [app/test-pmd/testpmd.c:2459]: (style) The scope of the variable 'all_ports_up' can be reduced. [app/test-pmd/testpmd.c:2575]: (style) The scope of the variable 'ret' can be reduced. [app/test-pmd/testpmd.c:2859]: (style) The scope of the variable 'rc' can be reduced. [app/test-pmd/testpmd.c:3239]: (style) The scope of the variable 'cur_time' can be reduced. [app/test-pmd/testpmd.c:2446]: (style) struct member 'pmd_test_command::cmd_name' is never used. [app/test-pmd/testpmd.c:2447]: (style) struct member 'pmd_test_command::cmd_func' is never used. [app/test-pmd/testpmd.c:672]: (information) Skipping configuration 'MAP_HUGETLB' since the value of 'MAP_HUGETLB' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [app/test-pmd/testpmd.c:660]: (information) Skipping configuration 'MAP_HUGE_SHIFT' since the value of 'MAP_HUGE_SHIFT' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [app/test-pmd/testpmd.c:3076] -> [app/test-pmd/testpmd.c:3197]: (style) Local variable ret shadows outer variable [app/test-pmd/testpmd.c:1307]: (style) The scope of the variable 'nb_burst' can be reduced. [app/test-pmd/util.c:141]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [app/test-pmd/util.c:30]: (style) The scope of the variable 'eth_type' can be reduced. [app/test-pmd/util.c:31]: (style) The scope of the variable 'ol_flags' can be reduced. [app/test-pmd/util.c:32]: (style) The scope of the variable 'packet_type' can be reduced. [app/test-pmd/util.c:33]: (style) The scope of the variable 'is_encapsulation' can be reduced. [app/test-pmd/util.c:36]: (style) The scope of the variable 'sw_packet_type' can be reduced. [app/test-pmd/util.c:111]: (style) The scope of the variable 'l4_len' can be reduced. [app/test-pmd/util.c:113]: (style) The scope of the variable 'vxlan_hdr' can be reduced. [app/test-pmd/util.c:108]: (style) The scope of the variable 'udp_hdr' can be reduced. [buildtools/pmdinfogen/pmdinfogen.c:124]: (style) The scope of the variable 'sym' can be reduced. [buildtools/pmdinfogen/pmdinfogen.c:383]: (style) The scope of the variable 'pci_ids' can be reduced. [drivers/baseband/turbo_sw/bbdev_turbo_software.c:109] -> [drivers/baseband/turbo_sw/bbdev_turbo_software.c:111]: (style) Variable 'result' is reassigned a value before the old one has been used. [drivers/baseband/turbo_sw/bbdev_turbo_software.c:114] -> [drivers/baseband/turbo_sw/bbdev_turbo_software.c:116]: (style) Variable 'result' is reassigned a value before the old one has been used. [drivers/baseband/turbo_sw/bbdev_turbo_software.c:119] -> [drivers/baseband/turbo_sw/bbdev_turbo_software.c:121]: (style) Variable 'result' is reassigned a value before the old one has been used. [drivers/baseband/turbo_sw/bbdev_turbo_software.c:124] -> [drivers/baseband/turbo_sw/bbdev_turbo_software.c:126]: (style) Variable 'result' is reassigned a value before the old one has been used. [drivers/baseband/turbo_sw/bbdev_turbo_software.c:477]: (style) The scope of the variable 'm' can be reduced. [drivers/baseband/turbo_sw/bbdev_turbo_software.c:742]: (style) The scope of the variable 'in_length' can be reduced. [drivers/baseband/turbo_sw/bbdev_turbo_software.c:743]: (style) The scope of the variable 'seg_total_left' can be reduced. [drivers/baseband/turbo_sw/bbdev_turbo_software.c:982]: (style) The scope of the variable 'kw' can be reduced. [drivers/baseband/turbo_sw/bbdev_turbo_software.c:991]: (style) The scope of the variable 'seg_total_left' can be reduced. [drivers/bus/dpaa/base/fman/fman.c:230] -> [drivers/bus/dpaa/base/fman/fman.c:373]: (style) Variable 'na' is reassigned a value before the old one has been used. [drivers/bus/dpaa/base/fman/fman.c:81]: (portability) 'fman_ccsr_map' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/bus/dpaa/base/fman/fman.c:558]: (error) Uninitialized variable: __if [drivers/bus/dpaa/base/fman/fman_hw.c:62]: (style) The scope of the variable 'mask1' can be reduced. [drivers/bus/dpaa/base/fman/netcfg_layer.c:109]: (style) Condition '!num_ports' is always false [drivers/bus/dpaa/base/fman/of.c:282]: (style) The scope of the variable 'len' can be reduced. [drivers/bus/dpaa/base/fman/of.c:494]: (style) The scope of the variable 'ranges' can be reduced. [drivers/bus/dpaa/base/fman/of.c:496]: (style) The scope of the variable 'pna' can be reduced. [drivers/bus/dpaa/base/qbman/bman.h:519]: (style) The scope of the variable 'bm_cmd' can be reduced. [drivers/bus/dpaa/base/qbman/bman.h:520]: (style) The scope of the variable 'bm_res' can be reduced. [drivers/bus/dpaa/base/qbman/bman.c:298]: (style) The scope of the variable 'i' can be reduced. [drivers/bus/dpaa/base/qbman/bman.h:535]: (style) Variable 'aq_count' is modified but its new value is never used. [drivers/bus/dpaa/base/qbman/bman_driver.c:240]: (style) The scope of the variable 'oddbit' can be reduced. [drivers/bus/dpaa/base/qbman/bman_driver.c:234]: (portability) 'bman_ccsr_map' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/bus/dpaa/base/qbman/bman_driver.c:263]: (portability) 'bman_ccsr_map' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/bus/dpaa/base/qbman/bman_driver.c:265]: (portability) 'bman_ccsr_map' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/bus/dpaa/base/qbman/bman_driver.c:267]: (portability) 'bman_ccsr_map' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/bus/dpaa/base/qbman/bman_driver.c:269]: (portability) 'bman_ccsr_map' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/bus/dpaa/base/qbman/bman_driver.c:284]: (portability) 'bman_ccsr_map' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/bus/dpaa/base/qbman/bman_driver.c:286]: (portability) 'bman_ccsr_map' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/bus/dpaa/base/qbman/bman_driver.c:289]: (portability) 'bman_ccsr_map' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/bus/dpaa/base/qbman/bman_driver.c:291]: (portability) 'bman_ccsr_map' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/bus/dpaa/base/qbman/process.c:106]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [drivers/bus/dpaa/base/qbman/qman.c:1614] -> [drivers/bus/dpaa/base/qbman/qman.c:1625]: (style) Condition 'fq->state!=qman_fq_state_parked' is always false [drivers/bus/dpaa/base/qbman/qman.c:1746] -> [drivers/bus/dpaa/base/qbman/qman.c:1755]: (style) Condition 'fq->state!=qman_fq_state_retired' is always false [drivers/bus/dpaa/base/qbman/qman.c:1927]: (style) Condition 'mcr->result!=QM_MCR_RESULT_OK' is always true [drivers/bus/dpaa/base/qbman/qman.c:946]: (style) The scope of the variable 'dq' can be reduced. [drivers/bus/dpaa/base/qbman/qman.c:1169]: (style) The scope of the variable 'dq' can be reduced. [drivers/bus/dpaa/base/qbman/qman.c:2219]: (style) The scope of the variable 'prev_eq' can be reduced. [drivers/bus/dpaa/base/qbman/qman.c:2289]: (style) The scope of the variable 'prev_eq' can be reduced. [drivers/bus/dpaa/base/qbman/qman.c:2587]: (style) The scope of the variable 'fq_empty' can be reduced. [drivers/bus/dpaa/base/qbman/qman.c:2640]: (style) The scope of the variable 'msg' can be reduced. [drivers/bus/dpaa/base/qbman/qman.h:524]: (portability) '(void*)dqrr->ring' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/bus/dpaa/base/qbman/qman.c:428]: (portability) '(void*)dqrr->ring' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/bus/dpaa/base/qbman/qman.c:478]: (portability) '(void*)mr->ring' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/bus/dpaa/base/qbman/qman.c:1462]: (warning) String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [drivers/bus/dpaa/base/qbman/qman.c:1493]: (warning) String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [drivers/bus/dpaa/dpaa_bus.c:607]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [drivers/bus/dpaa/dpaa_bus.c:100]: (style) The scope of the variable 'comp' can be reduced. [drivers/bus/dpaa/dpaa_bus.c:336]: (style) The scope of the variable 'ret' can be reduced. [drivers/bus/fslmc/fslmc_bus.c:38] -> [drivers/bus/fslmc/fslmc_bus.c:36]: (warning) Either the condition 'device_type>DPAA2_DEVTYPE_MAX' is redundant or the array 'rte_fslmc_bus.device_count[10]' is accessed at index 10, which is out of bounds. [drivers/bus/fslmc/fslmc_bus.c:82]: (style) The scope of the variable 'comp' can be reduced. [drivers/bus/fslmc/fslmc_bus.c:118]: (style) The scope of the variable 'dev' can be reduced. [drivers/bus/fslmc/fslmc_bus.c:444]: (style) The scope of the variable 'dstart' can be reduced. [drivers/bus/fslmc/fslmc_vfio.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [drivers/bus/fslmc/mc/dpbp.c:46] -> [drivers/bus/fslmc/mc/dpbp.c:52]: (warning) Identical condition 'err', second condition is always false [drivers/bus/fslmc/portal/dpaa2_hw_dpio.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [drivers/bus/fslmc/qbman/qbman_debug.c:39] -> [drivers/bus/fslmc/qbman/qbman_debug.c:37]: (warning) Either the condition '!r' is redundant or there is possible null pointer dereference: r. [drivers/bus/fslmc/qbman/qbman_sys.h:389]: (style) The scope of the variable 'i' can be reduced. [drivers/bus/fslmc/qbman/qbman_portal.c:647]: (style) The scope of the variable 'eqcr_ci' can be reduced. [drivers/bus/fslmc/qbman/qbman_portal.c:686]: (style) The scope of the variable 'eqcr_ci' can be reduced. [drivers/bus/fslmc/qbman/qbman_portal.c:742]: (style) The scope of the variable 'eqcr_ci' can be reduced. [drivers/bus/fslmc/qbman/qbman_portal.c:811]: (style) The scope of the variable 'eqcr_ci' can be reduced. [drivers/bus/fslmc/qbman/qbman_portal.c:872]: (style) The scope of the variable 'eqcr_ci' can be reduced. [drivers/bus/fslmc/qbman/qbman_portal.c:936]: (style) The scope of the variable 'eqcr_ci' can be reduced. [drivers/bus/ifpga/ifpga_bus.c:400]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [drivers/bus/ifpga/ifpga_bus.c:438]: (warning) Possible null pointer dereference: c2 [drivers/bus/ifpga/ifpga_bus.c:420]: (style) The scope of the variable 'ret' can be reduced. [drivers/bus/pci/bsd/pci.c:296]: (style) The scope of the variable 'ret' can be reduced. [drivers/bus/pci/linux/pci.c:342]: (style) The scope of the variable 'ret' can be reduced. [drivers/bus/pci/linux/pci.c:528]: (style) The scope of the variable 'devargs' can be reduced. [drivers/bus/pci/linux/pci.c:529]: (style) The scope of the variable 'need_check' can be reduced. [drivers/bus/pci/linux/pci.c:224] -> [drivers/bus/pci/linux/pci.c:342]: (style) Local variable ret shadows outer variable [drivers/bus/pci/linux/pci_uio.c:170]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [drivers/bus/pci/linux/pci_uio.c:178]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [drivers/bus/pci/linux/pci_uio.c:232]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [drivers/bus/pci/linux/pci_uio.c:242]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [drivers/bus/pci/linux/pci_uio.c:399]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [drivers/bus/pci/linux/pci_vfio.c:74]: (style) The scope of the variable 'cap_id' can be reduced. [drivers/bus/pci/linux/pci_vfio.c:653] -> [drivers/bus/pci/linux/pci_vfio.c:702]: (style) Local variable ret shadows outer variable [drivers/bus/pci/linux/pci_vfio.c:144]: (information) Skipping configuration 'PCI_MSIX_FLAGS_QSIZE;VFIO_PRESENT' since the value of 'PCI_MSIX_FLAGS_QSIZE' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [drivers/bus/pci/linux/pci_vfio.c:141]: (information) Skipping configuration 'PCI_MSIX_TABLE_BIR;VFIO_PRESENT' since the value of 'PCI_MSIX_TABLE_BIR' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [drivers/bus/pci/linux/pci_vfio.c:142]: (information) Skipping configuration 'PCI_MSIX_TABLE_OFFSET;VFIO_PRESENT' since the value of 'PCI_MSIX_TABLE_OFFSET' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [drivers/bus/pci/pci_common.c:213]: (style) The scope of the variable 'ret' can be reduced. [drivers/bus/pci/pci_common.c:253]: (style) The scope of the variable 'rc' can be reduced. [drivers/bus/pci/pci_common.c:281]: (style) The scope of the variable 'devargs' can be reduced. [drivers/bus/pci/pci_common.c:400]: (style) The scope of the variable 'pstart' can be reduced. [drivers/bus/vdev/vdev.c:352]: (style) The scope of the variable 'devname' can be reduced. [drivers/bus/vdev/vdev.c:416]: (style) The scope of the variable 'mp_rep' can be reduced. [drivers/bus/vdev/vdev.c:420]: (style) The scope of the variable 'resp' can be reduced. [drivers/bus/vdev/vdev.c:511]: (style) The scope of the variable 'vstart' can be reduced. [drivers/bus/vmbus/vmbus_common.c:278]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [drivers/bus/vmbus/vmbus_common.c:143]: (style) The scope of the variable 'rc' can be reduced. [drivers/common/dpaax/dpaax_iova_table.c:391]: (style) The scope of the variable 'map_len' can be reduced. [drivers/common/dpaax/dpaax_iova_table.c:393]: (style) The scope of the variable 'virt_addr' can be reduced. [drivers/common/dpaax/dpaax_iova_table.c:120]: (style) Checking if unsigned variable '*count' is less than zero. [drivers/common/mvep/mvep_common.c:24]: (style) The scope of the variable 'ret' can be reduced. [drivers/common/octeontx/octeontx_mbox.c:174] -> [drivers/common/octeontx/octeontx_mbox.c:186]: (style) Variable 'res' is reassigned a value before the old one has been used. [drivers/common/qat/qat_device.c:69]: (style) The scope of the variable 'dev' can be reduced. [drivers/common/qat/qat_qp.c:337]: (style) The scope of the variable 'status' can be reduced. [drivers/compress/isal/isal_compress_pmd.c:229]: (style) The scope of the variable 'ret' can be reduced. [drivers/compress/isal/isal_compress_pmd.c:319]: (style) The scope of the variable 'ret' can be reduced. [drivers/compress/octeontx/otx_zip.c:96]: (style) The scope of the variable 'ncb_ptr' can be reduced. [drivers/compress/octeontx/otx_zip_pmd.c:485]: (style) The scope of the variable 'op' can be reduced. [drivers/compress/zlib/zlib_pmd.c:320]: (style) The scope of the variable 'ret' can be reduced. [drivers/crypto/aesni_gcm/aesni_gcm_pmd.c:225]: (style) Redundant condition: part_len!=data_length. 'A || (!A && B)' is equivalent to 'A || B' [drivers/crypto/aesni_gcm/aesni_gcm_pmd.c:229]: (style) Redundant condition: sym_op->m_dst!=NULL. 'A || (!A && B)' is equivalent to 'A || B' [drivers/crypto/aesni_gcm/aesni_gcm_pmd.c:434]: (style) The scope of the variable 'sess' can be reduced. [drivers/crypto/aesni_gcm/aesni_gcm_pmd.c:437]: (style) The scope of the variable 'retval' can be reduced. [drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c:1111]: (style) The scope of the variable 'job' can be reduced. [drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c:1113]: (style) The scope of the variable 'retval' can be reduced. [drivers/crypto/aesni_mb/rte_aesni_mb_pmd_compat.c:109]: (style) The scope of the variable 'hashed_key' can be reduced. [drivers/crypto/aesni_mb/rte_aesni_mb_pmd_compat.c:349]: (style) The scope of the variable 'aes_keyexp_fn' can be reduced. [drivers/crypto/aesni_mb/rte_aesni_mb_pmd_compat.c:1109]: (style) The scope of the variable 'job' can be reduced. [drivers/crypto/aesni_mb/rte_aesni_mb_pmd_compat.c:1111]: (style) The scope of the variable 'retval' can be reduced. [drivers/crypto/armv8/rte_armv8_pmd.c:453]: (style) The scope of the variable 'ret' can be reduced. [drivers/crypto/armv8/rte_armv8_pmd.c:616]: (warning) String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [drivers/crypto/caam_jr/caam_jr.c:2295]: (style) Condition 'irq_coalescing_timer' is always false [drivers/crypto/caam_jr/caam_jr.c:2351]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/crypto/caam_jr/caam_jr.c:1668] -> [drivers/crypto/caam_jr/caam_jr.c:1674]: (warning) Either the condition 'sess==NULL' is redundant or there is possible null pointer dereference: session. [drivers/crypto/caam_jr/caam_jr.c:884] -> [drivers/crypto/caam_jr/caam_jr.c:897]: (style) Variable 'mbuf' is reassigned a value before the old one has been used. [drivers/crypto/caam_jr/caam_jr.c:2231] -> [drivers/crypto/caam_jr/caam_jr.c:2232] -> [drivers/crypto/caam_jr/caam_jr.c:2295]: (style) Same expression on both sides of '||' because 'irq_coalescing_timer' and 'irq_coalescing_count' represent the same value. [drivers/crypto/caam_jr/caam_jr.c:556]: (style) The scope of the variable 'current_desc' can be reduced. [drivers/crypto/caam_jr/caam_jr.c:558]: (style) The scope of the variable 'temp_addr' can be reduced. [drivers/crypto/caam_jr/caam_jr.c:595]: (style) The scope of the variable 'false_alarm' can be reduced. [drivers/crypto/caam_jr/caam_jr.c:820]: (style) The scope of the variable 'sg' can be reduced. [drivers/crypto/caam_jr/caam_jr.c:1496]: (style) The scope of the variable 'ret' can be reduced. [drivers/crypto/caam_jr/caam_jr_hw.c:164] -> [drivers/crypto/caam_jr/caam_jr_hw.c:167]: (style) Variable 'tmp' is reassigned a value before the old one has been used. [drivers/crypto/caam_jr/caam_jr_uio.c:479]: (style) The scope of the variable 'job_ring' can be reduced. [drivers/crypto/ccp/ccp_crypto.c:2035]: (style) The scope of the variable 'src_tb' can be reduced. [drivers/crypto/ccp/ccp_crypto.c:2037]: (style) The scope of the variable 'length' can be reduced. [drivers/crypto/ccp/ccp_crypto.c:2037]: (style) The scope of the variable 'non_align_len' can be reduced. [drivers/crypto/ccp/ccp_crypto.c:2185]: (style) The scope of the variable 'lsb_buf' can be reduced. [drivers/crypto/ccp/ccp_crypto.c:2687]: (style) The scope of the variable 'session' can be reduced. [drivers/crypto/ccp/ccp_crypto.c:2853]: (style) The scope of the variable 'session' can be reduced. [drivers/crypto/ccp/ccp_dev.c:725]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [drivers/crypto/ccp/ccp_dev.c:377]: (style) The scope of the variable 'qlsb_wgt' can be reduced. [drivers/crypto/ccp/ccp_dev.c:435]: (style) The scope of the variable 'lsb_cnt' can be reduced. [drivers/crypto/ccp/ccp_pmd_ops.c:635]: (style) The scope of the variable 'qp' can be reduced. [drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:3374]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:2198] -> [drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:2203]: (warning) Either the condition 'sess==NULL' is redundant or there is possible null pointer dereference: session. [drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:2198] -> [drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:2205]: (warning) Either the condition 'sess==NULL' is redundant or there is possible null pointer dereference: session. [drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:183]: (style) The scope of the variable 'old_icv' can be reduced. [drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:330]: (style) The scope of the variable 'old_icv' can be reduced. [drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:479]: (style) The scope of the variable 'old_icv' can be reduced. [drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:624]: (style) The scope of the variable 'old_icv' can be reduced. [drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:764]: (style) The scope of the variable 'old_digest' can be reduced. [drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:839]: (style) The scope of the variable 'sge' can be reduced. [drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:842]: (style) The scope of the variable 'old_digest' can be reduced. [drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:1333]: (style) The scope of the variable 'priv' can be reduced. [drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:1408]: (style) The scope of the variable 'ret' can be reduced. [drivers/crypto/dpaa_sec/dpaa_sec.c:2007] -> [drivers/crypto/dpaa_sec/dpaa_sec.c:2011]: (warning) Either the condition 'sess==NULL' is redundant or there is possible null pointer dereference: session. [drivers/crypto/dpaa_sec/dpaa_sec.c:2007] -> [drivers/crypto/dpaa_sec/dpaa_sec.c:2014]: (warning) Either the condition 'sess==NULL' is redundant or there is possible null pointer dereference: session. [drivers/crypto/kasumi/rte_kasumi_pmd.c:180]: (style) The scope of the variable 'iv_ptr' can be reduced. [drivers/crypto/kasumi/rte_kasumi_pmd.c:244]: (style) The scope of the variable 'src' can be reduced. [drivers/crypto/kasumi/rte_kasumi_pmd.c:245]: (style) The scope of the variable 'length_in_bits' can be reduced. [drivers/crypto/kasumi/rte_kasumi_pmd.c:246]: (style) The scope of the variable 'num_bytes' can be reduced. [drivers/crypto/mvsam/rte_mrvl_pmd.c:767] -> [drivers/crypto/mvsam/rte_mrvl_pmd.c:795]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/crypto/mvsam/rte_mrvl_pmd.c:584]: (style) The scope of the variable 'd_ptr' can be reduced. [drivers/crypto/mvsam/rte_mrvl_pmd.c:634]: (style) The scope of the variable 'ret' can be reduced. [drivers/crypto/mvsam/rte_mrvl_pmd_ops.c:681]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [drivers/crypto/mvsam/rte_mrvl_pmd_ops.c:681]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [drivers/crypto/mvsam/rte_mrvl_pmd_ops.c:640]: (style) The scope of the variable 'n' can be reduced. [drivers/crypto/octeontx/otx_cryptodev_hw_access.c:478] -> [drivers/crypto/octeontx/otx_cryptodev_hw_access.c:481]: (style) Variable 'i' is reassigned a value before the old one has been used. [drivers/crypto/octeontx/otx_cryptodev_ops.c:141]: (style) The scope of the variable 'ret' can be reduced. [drivers/crypto/octeontx/otx_cryptodev_ops.c:348]: (style) The scope of the variable 'ret' can be reduced. [drivers/crypto/openssl/rte_openssl_pmd.c:1641] -> [drivers/crypto/openssl/rte_openssl_pmd.c:1754]: (style) Local variable priv_key shadows outer variable [drivers/crypto/qat/qat_sym.c:149]: (style) The scope of the variable 'ret' can be reduced. [drivers/crypto/qat/qat_sym_pmd.c:51]: (style) The scope of the variable 'ret' can be reduced. [drivers/crypto/qat/qat_sym_session.c:1276]: (style) The scope of the variable 'wordIndex' can be reduced. [drivers/crypto/scheduler/scheduler_pmd.c:84]: (style) The scope of the variable 'ret' can be reduced. [drivers/crypto/scheduler/scheduler_pmd.c:120]: (style) The scope of the variable 'param_name' can be reduced. [drivers/crypto/scheduler/scheduler_pmd.c:121]: (style) The scope of the variable 'param_val' can be reduced. [drivers/crypto/scheduler/scheduler_pmd.c:122]: (style) The scope of the variable 's' can be reduced. [drivers/crypto/scheduler/scheduler_pmd.c:286]: (style) The scope of the variable 'c' can be reduced. [drivers/crypto/scheduler/scheduler_pmd.c:83] -> [drivers/crypto/scheduler/scheduler_pmd.c:102]: (style) Local variable i shadows outer variable [drivers/crypto/scheduler/scheduler_pmd_ops.c:234]: (style) The scope of the variable 'ret' can be reduced. [drivers/crypto/scheduler/scheduler_pmd_ops.c:492]: (style) The scope of the variable 'ret' can be reduced. [drivers/crypto/snow3g/rte_snow3g_pmd.c:242]: (style) The scope of the variable 'src' can be reduced. [drivers/crypto/snow3g/rte_snow3g_pmd.c:243]: (style) The scope of the variable 'length_in_bits' can be reduced. [drivers/crypto/snow3g/rte_snow3g_pmd.c:244]: (style) The scope of the variable 'iv' can be reduced. [drivers/crypto/virtio/virtio_cryptodev.c:648] -> [drivers/crypto/virtio/virtio_cryptodev.c:649]: (style) Variable 'hw->guest_features' is reassigned a value before the old one has been used. [drivers/crypto/virtio/virtio_cryptodev.c:275]: (style) The scope of the variable 'hw' can be reduced. [drivers/crypto/virtio/virtio_cryptodev.c:75] -> [drivers/crypto/virtio/virtio_cryptodev.c:228]: (style) Local variable idx shadows outer variable [drivers/crypto/virtio/virtio_pci.c:64]: (style) The scope of the variable 'p' can be reduced. [drivers/crypto/virtio/virtio_rxtx.c:13]: (style) The scope of the variable 'dp_tail' can be reduced. [drivers/crypto/virtio/virtio_rxtx.c:48]: (style) The scope of the variable 'uep' can be reduced. [drivers/crypto/virtio/virtio_rxtx.c:50]: (style) The scope of the variable 'used_idx' can be reduced. [drivers/crypto/virtio/virtio_rxtx.c:50]: (style) The scope of the variable 'desc_idx' can be reduced. [drivers/crypto/virtio/virtio_rxtx.c:52]: (style) The scope of the variable 'inhdr' can be reduced. [drivers/crypto/virtio/virtio_rxtx.c:53]: (style) The scope of the variable 'op_cookie' can be reduced. [drivers/crypto/virtio/virtio_rxtx.c:464]: (style) The scope of the variable 'error' can be reduced. [drivers/crypto/virtio/virtqueue.c:29]: (style) The scope of the variable 'idx' can be reduced. [drivers/crypto/zuc/rte_zuc_pmd.c:239]: (style) The scope of the variable 'src' can be reduced. [drivers/crypto/zuc/rte_zuc_pmd.c:241]: (style) The scope of the variable 'length_in_bits' can be reduced. [drivers/crypto/zuc/rte_zuc_pmd.c:242]: (style) The scope of the variable 'iv' can be reduced. [drivers/crypto/zuc/rte_zuc_pmd.c:243]: (style) The scope of the variable 'sess' can be reduced. [drivers/event/dpaa/dpaa_eventdev.c:170]: (style) The scope of the variable 'ret' can be reduced. [drivers/event/dpaa/dpaa_eventdev.c:242]: (style) The scope of the variable 'ret' can be reduced. [drivers/event/dpaa/dpaa_eventdev.c:587]: (style) The scope of the variable 'eventq_id' can be reduced. [drivers/event/dpaa/dpaa_eventdev.c:588]: (style) The scope of the variable 'event_queue' can be reduced. [drivers/event/dpaa/dpaa_eventdev.c:674]: (style) The scope of the variable 'i' can be reduced. [drivers/event/dpaa2/dpaa2_eventdev.c:562] -> [drivers/event/dpaa2/dpaa2_eventdev.c:559]: (warning) Either the condition 'if(portal)' is redundant or there is possible null pointer dereference: portal. [drivers/event/dpaa2/dpaa2_eventdev.c:575]: (style) The scope of the variable 'evq_info' can be reduced. [drivers/event/dpaa2/dpaa2_eventdev.c:600]: (style) The scope of the variable 'evq_info' can be reduced. [drivers/event/dpaa2/dpaa2_eventdev.c:736]: (style) The scope of the variable 'ret' can be reduced. [drivers/event/dpaa2/dpaa2_eventdev.c:980]: (style) The scope of the variable 'ret' can be reduced. [drivers/event/dpaa2/dpaa2_eventdev.c:880]: (style) The scope of the variable 'ret' can be reduced. [drivers/event/octeontx/ssovf_evdev.c:312]: (style) The scope of the variable 'val' can be reduced. [drivers/event/octeontx/ssovf_evdev.c:332]: (style) The scope of the variable 'val' can be reduced. [drivers/event/octeontx/ssovf_evdev.c:580]: (style) The scope of the variable 'ws' can be reduced. [drivers/event/octeontx/ssovf_evdev.c:581]: (style) The scope of the variable 'base' can be reduced. [drivers/event/octeontx/ssovf_evdev.c:618]: (style) The scope of the variable 'ws' can be reduced. [drivers/event/octeontx/ssovf_evdev.c:619]: (style) The scope of the variable 'base' can be reduced. [drivers/event/octeontx/ssovf_evdev.c:721] -> [drivers/event/octeontx/ssovf_evdev.c:746]: (style) Local variable ret shadows outer variable [drivers/event/octeontx/ssovf_evdev_selftest.c:132] -> [drivers/event/octeontx/ssovf_evdev_selftest.c:134]: (style) Variable 'dev_conf->nb_event_port_enqueue_depth' is reassigned a value before the old one has been used. [drivers/event/octeontx/ssovf_evdev_selftest.c:294]: (style) The scope of the variable 'm' can be reduced. [drivers/event/octeontx/ssovf_evdev_selftest.c:315]: (style) The scope of the variable 'valid_event' can be reduced. [drivers/event/octeontx/ssovf_evdev_selftest.c:389]: (style) The scope of the variable 'valid_event' can be reduced. [drivers/event/octeontx/ssovf_evdev_selftest.c:522]: (style) The scope of the variable 'queue' can be reduced. [drivers/event/octeontx/ssovf_evdev_selftest.c:523]: (style) The scope of the variable 'm' can be reduced. [drivers/event/octeontx/ssovf_evdev_selftest.c:555]: (style) The scope of the variable 'valid_event' can be reduced. [drivers/event/octeontx/ssovf_evdev_selftest.c:885]: (style) The scope of the variable 'valid_event' can be reduced. [drivers/event/octeontx/ssovf_evdev_selftest.c:1040]: (style) The scope of the variable 'valid_event' can be reduced. [drivers/event/octeontx/ssovf_evdev_selftest.c:1200]: (style) The scope of the variable 'valid_event' can be reduced. [drivers/event/octeontx/ssovf_evdev_selftest.c:1270]: (style) The scope of the variable 'valid_event' can be reduced. [drivers/event/octeontx/ssovf_evdev_selftest.c:1312]: (style) The scope of the variable 'valid_event' can be reduced. [drivers/event/octeontx/ssovf_probe.c:145]: (style) The scope of the variable 'ram_mbox_base' can be reduced. [drivers/event/octeontx/ssovf_probe.c:225]: (style) The scope of the variable 'reg' can be reduced. [drivers/event/octeontx/ssovf_worker.c:114]: (style) The scope of the variable 'iter' can be reduced. [drivers/event/octeontx/ssovf_worker.c:208]: (style) The scope of the variable 'sched_type_queue' can be reduced. [drivers/event/octeontx/ssovf_worker.c:248]: (style) The scope of the variable 'pend_tt' can be reduced. [drivers/event/octeontx/ssovf_worker.c:249]: (style) The scope of the variable 'tt' can be reduced. [drivers/event/octeontx/timvf_worker.c:44]: (style) The scope of the variable 'ret' can be reduced. [drivers/event/octeontx/timvf_worker.c:70]: (style) The scope of the variable 'ret' can be reduced. [drivers/event/octeontx/timvf_worker.c:107]: (style) The scope of the variable 'ret' can be reduced. [drivers/event/octeontx/timvf_worker.c:144]: (style) The scope of the variable 'ret' can be reduced. [drivers/event/opdl/opdl_evdev.c:480]: (style) Condition '!err' is always true [drivers/event/opdl/opdl_evdev.c:404]: (style) The scope of the variable 'queue_id' can be reduced. [drivers/event/opdl/opdl_evdev.c:405]: (style) The scope of the variable 'total_cyc' can be reduced. [drivers/event/opdl/opdl_evdev.c:406]: (style) The scope of the variable 'p_type' can be reduced. [drivers/event/opdl/opdl_evdev.c:408]: (style) The scope of the variable 'cne' can be reduced. [drivers/event/opdl/opdl_evdev.c:408]: (style) The scope of the variable 'cpg' can be reduced. [drivers/event/opdl/opdl_evdev_init.c:674]: (style) Condition 'device->q_md[i].type==OPDL_Q_TYPE_SINGLE_LINK' is always true [drivers/event/opdl/opdl_evdev_init.c:766]: (style) Condition 'queue->q_type==OPDL_Q_TYPE_SINGLE_LINK' is always true [drivers/event/opdl/opdl_evdev_init.c:24]: (style) The scope of the variable 'i' can be reduced. [drivers/event/opdl/opdl_evdev_init.c:297]: (style) The scope of the variable 'status' can be reduced. [drivers/event/opdl/opdl_evdev_init.c:298]: (style) The scope of the variable 'ring' can be reduced. [drivers/event/opdl/opdl_ring.c:501]: (style) The scope of the variable 'j' can be reduced. [drivers/event/opdl/opdl_ring.c:501]: (style) The scope of the variable 'offset' can be reduced. [drivers/event/opdl/opdl_ring.c:502]: (style) The scope of the variable 'opa_id' can be reduced. [drivers/event/opdl/opdl_ring.c:503]: (style) The scope of the variable 'flow_id' can be reduced. [drivers/event/opdl/opdl_ring.c:505]: (style) The scope of the variable 'get_slots' can be reduced. [drivers/event/opdl/opdl_ring.c:506]: (style) The scope of the variable 'ev' can be reduced. [drivers/event/opdl/opdl_ring.c:978]: (style) The scope of the variable 'i' can be reduced. [drivers/event/opdl/opdl_ring.c:978]: (style) The scope of the variable 'offset' can be reduced. [drivers/event/opdl/opdl_ring.c:983]: (style) The scope of the variable 'ev_update' can be reduced. [drivers/event/opdl/opdl_ring.c:985]: (style) The scope of the variable 'opa_id' can be reduced. [drivers/event/opdl/opdl_ring.c:986]: (style) The scope of the variable 'flow_id' can be reduced. [drivers/event/opdl/opdl_ring.c:151] -> [drivers/event/opdl/opdl_ring.c:803]: (style) Local variable available shadows outer function [drivers/event/opdl/opdl_test.c:1032] -> [drivers/event/opdl/opdl_test.c:1035]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/event/opdl/opdl_test.c:1035] -> [drivers/event/opdl/opdl_test.c:1039]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/event/opdl/opdl_test.c:1039] -> [drivers/event/opdl/opdl_test.c:1042]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/event/opdl/opdl_test.c:1042] -> [drivers/event/opdl/opdl_test.c:1045]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/event/opdl/opdl_test.c:273]: (style) The scope of the variable 'seq' can be reduced. [drivers/event/opdl/opdl_test.c:501]: (style) The scope of the variable 'num_stats_returned' can be reduced. [drivers/event/opdl/opdl_test.c:513]: (style) The scope of the variable 'values' can be reduced. [drivers/event/sw/iq_chunk.h:176]: (style) Condition 'avail_space [drivers/event/sw/sw_evdev.c:720]: (style) Local variable inflights shadows outer variable [drivers/event/sw/sw_evdev_scheduler.c:508]: (style) The scope of the variable 'out_pkts' can be reduced. [drivers/event/sw/sw_evdev_selftest.c:726]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [drivers/event/sw/sw_evdev_selftest.c:1508]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [drivers/event/sw/sw_evdev_selftest.c:1508]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [drivers/event/sw/sw_evdev_selftest.c:1629]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [drivers/event/sw/sw_evdev_selftest.c:1629]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [drivers/event/sw/sw_evdev_selftest.c:1744]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [drivers/event/sw/sw_evdev_selftest.c:1744]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [drivers/event/sw/sw_evdev_selftest.c:1849]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [drivers/event/sw/sw_evdev_selftest.c:1896]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [drivers/event/sw/sw_evdev_selftest.c:1932]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [drivers/event/sw/sw_evdev_selftest.c:1995]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [drivers/event/sw/sw_evdev_selftest.c:2690]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [drivers/event/sw/sw_evdev_selftest.c:2690]: (warning) %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [drivers/event/sw/sw_evdev_selftest.c:2731]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [drivers/event/sw/sw_evdev_selftest.c:965] -> [drivers/event/sw/sw_evdev_selftest.c:970]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/event/sw/sw_evdev_selftest.c:1026] -> [drivers/event/sw/sw_evdev_selftest.c:1046]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/event/sw/sw_evdev_selftest.c:1098] -> [drivers/event/sw/sw_evdev_selftest.c:1117]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/event/sw/sw_evdev_selftest.c:2411] -> [drivers/event/sw/sw_evdev_selftest.c:2418]: (style) Variable 'err' is reassigned a value before the old one has been used. [drivers/event/sw/sw_evdev_selftest.c:2547] -> [drivers/event/sw/sw_evdev_selftest.c:2569]: (style) Variable 'err' is reassigned a value before the old one has been used. [drivers/event/sw/sw_evdev_selftest.c:2569] -> [drivers/event/sw/sw_evdev_selftest.c:2582]: (style) Variable 'err' is reassigned a value before the old one has been used. [drivers/event/sw/sw_evdev_selftest.c:2582] -> [drivers/event/sw/sw_evdev_selftest.c:2604]: (style) Variable 'err' is reassigned a value before the old one has been used. [drivers/event/sw/sw_evdev_selftest.c:693] -> [drivers/event/sw/sw_evdev_selftest.c:744]: (style) Same expression on both sides of '/'. [drivers/event/sw/sw_evdev_selftest.c:693] -> [drivers/event/sw/sw_evdev_selftest.c:758]: (style) Same expression on both sides of '/'. [drivers/event/sw/sw_evdev_selftest.c:530]: (style) The scope of the variable 'err' can be reduced. [drivers/event/sw/sw_evdev_selftest.c:2627]: (style) The scope of the variable 'j' can be reduced. [drivers/event/sw/sw_evdev_selftest.c:830] -> [drivers/event/sw/sw_evdev_selftest.c:935]: (style) Local variable err shadows outer variable [drivers/event/sw/sw_evdev_selftest.c:1424] -> [drivers/event/sw/sw_evdev_selftest.c:1488]: (style) Local variable err shadows outer variable [drivers/event/sw/sw_evdev_selftest.c:2138] -> [drivers/event/sw/sw_evdev_selftest.c:2162]: (style) Local variable ev shadows outer variable [drivers/event/sw/sw_evdev_selftest.c:2138] -> [drivers/event/sw/sw_evdev_selftest.c:2225]: (style) Local variable ev shadows outer variable [drivers/event/sw/sw_evdev_selftest.c:508]: (style) Variable 'err' is assigned a value that is never used. [drivers/event/sw/sw_evdev_selftest.c:2425]: (style) Variable 'err' is assigned a value that is never used. [drivers/mempool/bucket/rte_mempool_bucket.c:181]: (style) The scope of the variable 'i' can be reduced. [drivers/mempool/bucket/rte_mempool_bucket.c:561]: (style) The scope of the variable 'rc' can be reduced. [drivers/mempool/dpaa/dpaa_mempool.c:145]: (style) The scope of the variable 'ret' can be reduced. [drivers/mempool/octeontx/octeontx_fpavf.c:697]: (style) The scope of the variable 'i' can be reduced. [drivers/mempool/octeontx/octeontx_fpavf.c:50]: (style) struct member 'gen_req::value' is never used. [drivers/mempool/octeontx/octeontx_fpavf.c:63]: (style) struct member 'dcfg_resp::sso_count' is never used. [drivers/mempool/octeontx/octeontx_fpavf.c:64]: (style) struct member 'dcfg_resp::ssow_count' is never used. [drivers/mempool/octeontx/octeontx_fpavf.c:65]: (style) struct member 'dcfg_resp::fpa_count' is never used. [drivers/mempool/octeontx/octeontx_fpavf.c:66]: (style) struct member 'dcfg_resp::pko_count' is never used. [drivers/mempool/octeontx/octeontx_fpavf.c:67]: (style) struct member 'dcfg_resp::tim_count' is never used. [drivers/mempool/octeontx/octeontx_fpavf.c:68]: (style) struct member 'dcfg_resp::net_port_count' is never used. [drivers/mempool/octeontx/octeontx_fpavf.c:69]: (style) struct member 'dcfg_resp::virt_port_count' is never used. [drivers/net/af_packet/rte_eth_af_packet.c:112]: (style) The scope of the variable 'pbuf' can be reduced. [drivers/net/af_packet/rte_eth_af_packet.c:269]: (style) The scope of the variable 'sockfd' can be reduced. [drivers/net/af_packet/rte_eth_af_packet.c:748]: (information) Skipping configuration 'PACKET_FANOUT' since the value of 'PACKET_FANOUT' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [drivers/net/af_packet/rte_eth_af_packet.c:748]: (information) Skipping configuration 'PACKET_FANOUT;PACKET_FANOUT_FLAG_ROLLOVER' since the value of 'PACKET_FANOUT' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [drivers/net/af_packet/rte_eth_af_packet.c:634]: (information) Skipping configuration 'PACKET_FANOUT;PACKET_FANOUT_FLAG_ROLLOVER' since the value of 'PACKET_FANOUT_FLAG_ROLLOVER' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [drivers/net/af_packet/rte_eth_af_packet.c:669]: (information) Skipping configuration 'PACKET_QDISC_BYPASS' since the value of 'PACKET_QDISC_BYPASS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [drivers/net/ark/ark_ddm.c:68] -> [drivers/net/ark/ark_ddm.c:71]: (style) Variable 'ddm->cfg.command' is reassigned a value before the old one has been used. [drivers/net/ark/ark_ethdev_rx.c:127]: (style) The scope of the variable 'i' can be reduced. [drivers/net/ark/ark_ethdev_rx.c:379]: (style) The scope of the variable 'mbuf' can be reduced. [drivers/net/ark/ark_ethdev_rx.c:615]: (style) The scope of the variable 'queue' can be reduced. [drivers/net/ark/ark_ethdev_rx.c:616]: (style) The scope of the variable 'index' can be reduced. [drivers/net/ark/ark_ethdev_rx.c:617]: (style) The scope of the variable 'i' can be reduced. [drivers/net/ark/ark_ethdev_tx.c:174]: (style) The scope of the variable 'meta' can be reduced. [drivers/net/ark/ark_ethdev_tx.c:176]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/ark/ark_ethdev_tx.c:389]: (style) The scope of the variable 'mbuf' can be reduced. [drivers/net/ark/ark_ethdev_tx.c:390]: (style) The scope of the variable 'meta' can be reduced. [drivers/net/ark/ark_pktchkr.c:390]: (style) The scope of the variable 'hdr' can be reduced. [drivers/net/ark/ark_pktgen.c:405]: (style) The scope of the variable 'hdr' can be reduced. [drivers/net/ark/ark_udm.c:54] -> [drivers/net/ark/ark_udm.c:56]: (style) Variable 'udm->cfg.command' is reassigned a value before the old one has been used. [drivers/net/atlantic/atl_ethdev.c:1170]: (style) Expression is always false because 'else if' condition matches previous condition at line 1168. [drivers/net/atlantic/atl_ethdev.c:374] -> [drivers/net/atlantic/atl_ethdev.c:394]: (warning) Identical condition 'err', second condition is always false [drivers/net/atlantic/atl_ethdev.c:495] -> [drivers/net/atlantic/atl_ethdev.c:528]: (style) Variable 'err' is reassigned a value before the old one has been used. [drivers/net/atlantic/atl_ethdev.c:1485]: (style) The scope of the variable 'def_rss_key' can be reduced. [drivers/net/atlantic/atl_ethdev.c:995]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/atlantic/atl_rxtx.c:1025] -> [drivers/net/atlantic/atl_rxtx.c:1030]: (style) Variable 'rx_mbuf->data_len' is reassigned a value before the old one has been used. [drivers/net/atlantic/atl_rxtx.c:196]: (style) The scope of the variable 'txc' can be reduced. [drivers/net/atlantic/atl_rxtx.c:311]: (style) The scope of the variable 'base_addr' can be reduced. [drivers/net/atlantic/atl_rxtx.c:343]: (style) The scope of the variable 'base_addr' can be reduced. [drivers/net/atlantic/atl_rxtx.c:396]: (style) The scope of the variable 'rxd' can be reduced. [drivers/net/atlantic/atl_rxtx.c:397]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/atlantic/atl_rxtx.c:429]: (style) The scope of the variable 'i' can be reduced. [drivers/net/atlantic/atl_rxtx.c:517]: (style) The scope of the variable 'i' can be reduced. [drivers/net/atlantic/atl_rxtx.c:804]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/atlantic/atl_rxtx.c:805]: (style) The scope of the variable 'ol_flags' can be reduced. [drivers/net/atlantic/atl_rxtx.c:1129]: (style) The scope of the variable 'txd' can be reduced. [drivers/net/atlantic/atl_rxtx.c:1130]: (style) The scope of the variable 'to_clean' can be reduced. [drivers/net/atlantic/atl_rxtx.c:1235]: (style) The scope of the variable 'tx_entry' can be reduced. [drivers/net/atlantic/atl_rxtx.c:1236]: (style) The scope of the variable 'buf_dma_addr' can be reduced. [drivers/net/atlantic/atl_rxtx.c:1324]: (style) The scope of the variable 'tx_pkt' can be reduced. [drivers/net/atlantic/hw_atl/hw_atl_b0.c:21] -> [drivers/net/atlantic/hw_atl/hw_atl_b0.c:26]: (warning) Identical condition 'err', second condition is always false [drivers/net/atlantic/hw_atl/hw_atl_b0.c:187]: (style) The scope of the variable 'i' can be reduced. [drivers/net/atlantic/hw_atl/hw_atl_utils.c:262] -> [drivers/net/atlantic/hw_atl/hw_atl_utils.c:268]: (style) Variable 'err' is reassigned a value before the old one has been used. [drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c:454] -> [drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c:462]: (warning) Identical condition 'err', second condition is always false [drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c:281] -> [drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c:284]: (style) Variable 'err' is reassigned a value before the old one has been used. [drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c:41]: (style) struct member 'fw2x_msg_wol_pattern::mask' is never used. [drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c:42]: (style) struct member 'fw2x_msg_wol_pattern::crc' is never used. [drivers/net/avf/avf_ethdev.c:288]: (style) The scope of the variable 'interval' can be reduced. [drivers/net/avf/avf_ethdev.c:380]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/avf/avf_ethdev.c:381]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/avf/avf_ethdev.c:757]: (style) The scope of the variable 'err' can be reduced. [drivers/net/avf/avf_ethdev.c:785]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/avf/avf_ethdev.c:785]: (style) The scope of the variable 'shift' can be reduced. [drivers/net/avf/avf_ethdev.c:831]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/avf/avf_ethdev.c:831]: (style) The scope of the variable 'shift' can be reduced. [drivers/net/avf/avf_ethdev.c:1057]: (style) The scope of the variable 'reset' can be reduced. [drivers/net/avf/avf_rxtx.c:212]: (style) The scope of the variable 'rxd' can be reduced. [drivers/net/avf/avf_rxtx.c:214]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/avf/avf_rxtx.c:685]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/avf/avf_rxtx.c:686]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/avf/avf_rxtx.c:764]: (style) The scope of the variable 'rxdp' can be reduced. [drivers/net/avf/avf_rxtx.c:772]: (style) The scope of the variable 'rx_status' can be reduced. [drivers/net/avf/avf_rxtx.c:773]: (style) The scope of the variable 'qword1' can be reduced. [drivers/net/avf/avf_rxtx.c:774]: (style) The scope of the variable 'rx_packet_len' can be reduced. [drivers/net/avf/avf_rxtx.c:776]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/avf/avf_rxtx.c:777]: (style) The scope of the variable 'pkt_flags' can be reduced. [drivers/net/avf/avf_rxtx.c:909]: (style) The scope of the variable 'rx_packet_len' can be reduced. [drivers/net/avf/avf_rxtx.c:911]: (style) The scope of the variable 'rx_status' can be reduced. [drivers/net/avf/avf_rxtx.c:912]: (style) The scope of the variable 'qword1' can be reduced. [drivers/net/avf/avf_rxtx.c:913]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/avf/avf_rxtx.c:917]: (style) The scope of the variable 'rxdp' can be reduced. [drivers/net/avf/avf_rxtx.c:1220]: (style) The scope of the variable 'mb' can be reduced. [drivers/net/avf/avf_rxtx.c:1222]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/avf/avf_rxtx.c:1315]: (style) The scope of the variable 'n' can be reduced. [drivers/net/avf/avf_rxtx.c:1315]: (style) The scope of the variable 'count' can be reduced. [drivers/net/avf/avf_rxtx.c:1690]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/avf/avf_rxtx.c:1691]: (style) The scope of the variable 'ol_flags' can be reduced. [drivers/net/avf/avf_rxtx.c:1739]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/avf/avf_rxtx.c:1740]: (style) The scope of the variable 'i' can be reduced. [drivers/net/avf/avf_rxtx.c:1779]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/avf/avf_rxtx.c:1780]: (style) The scope of the variable 'i' can be reduced. [drivers/net/avf/avf_rxtx.c:1597]: (style) Variable 'cd_type_cmd_tso_mss' is assigned a value that is never used. [drivers/net/avf/avf_rxtx_vec_common.h:83]: (style) The scope of the variable 'nb_free' can be reduced. [drivers/net/avf/avf_rxtx_vec_sse.c:243]: (style) The scope of the variable 'var' can be reduced. [drivers/net/avf/avf_rxtx_vec_sse.c:563]: (style) The scope of the variable 'i' can be reduced. [drivers/net/avf/avf_vchnl.c:176]: (style) The scope of the variable 'aq_opc' can be reduced. [drivers/net/avf/avf_vchnl.c:179]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/avf/avf_vchnl.c:600]: (style) The scope of the variable 'vecmap' can be reduced. [drivers/net/avf/avf_vchnl.c:641]: (style) The scope of the variable 'len' can be reduced. [drivers/net/avf/avf_vchnl.c:641]: (style) The scope of the variable 'j' can be reduced. [drivers/net/avf/base/avf_common.c:298]: (style) The scope of the variable 'i' can be reduced. [drivers/net/avf/base/avf_common.c:1447]: (style) The scope of the variable 'resp' can be reduced. [drivers/net/avf/base/avf_common.c:1519]: (style) The scope of the variable 'segment' can be reduced. [drivers/net/avf/base/avf_common.c:1563]: (style) The scope of the variable 'sec' can be reduced. [drivers/net/avf/base/avf_common.c:1565]: (style) The scope of the variable 'sec_off' can be reduced. [drivers/net/avf/base/avf_common.c:1644]: (style) The scope of the variable 'vendor_dev_id' can be reduced. [drivers/net/avf/base/avf_common.c:1646]: (style) The scope of the variable 'sec_off' can be reduced. [drivers/net/avf/base/avf_common.c:1712]: (style) The scope of the variable 'sec_off' can be reduced. [drivers/net/avf/base/avf_common.c:1774]: (style) The scope of the variable 'sec_off' can be reduced. [drivers/net/avp/avp_ethdev.c:368]: (style) The scope of the variable 'map' can be reduced. [drivers/net/avp/avp_ethdev.c:421]: (style) The scope of the variable 'resource' can be reduced. [drivers/net/avp/avp_ethdev.c:670]: (style) The scope of the variable 'value' can be reduced. [drivers/net/avp/avp_ethdev.c:1395]: (style) The scope of the variable 'buf' can be reduced. [drivers/net/avp/avp_ethdev.c:1399]: (style) The scope of the variable 'required' can be reduced. [drivers/net/avp/avp_ethdev.c:1400]: (style) The scope of the variable 'buf_len' can be reduced. [drivers/net/avp/avp_ethdev.c:1498]: (style) The scope of the variable 'pkt_len' can be reduced. [drivers/net/avp/avp_ethdev.c:1500]: (style) The scope of the variable 'pkt_data' can be reduced. [drivers/net/avp/avp_ethdev.c:1619]: (style) The scope of the variable 'pkt_data' can be reduced. [drivers/net/avp/avp_ethdev.c:1829]: (style) The scope of the variable 'pkt_len' can be reduced. [drivers/net/avp/avp_ethdev.c:1831]: (style) The scope of the variable 'pkt_data' can be reduced. [drivers/net/avp/avp_ethdev.c:1245]: (style) The scope of the variable 'pkt_data' can be reduced. [drivers/net/axgbe/axgbe_dev.c:225]: (style) The scope of the variable 'reg_val' can be reduced. [drivers/net/axgbe/axgbe_dev.c:251]: (style) The scope of the variable 'reg_val' can be reduced. [drivers/net/axgbe/axgbe_dev.c:385]: (style) The scope of the variable 'q_fifo_size' can be reduced. [drivers/net/axgbe/axgbe_dev.c:441]: (style) The scope of the variable 'count' can be reduced. [drivers/net/axgbe/axgbe_dev.c:514]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/axgbe/axgbe_dev.c:528]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/axgbe/axgbe_dev.c:541]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/axgbe/axgbe_dev.c:555]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/axgbe/axgbe_dev.c:619]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/axgbe/axgbe_dev.c:641]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/axgbe/axgbe_dev.c:695]: (style) The scope of the variable 'i' can be reduced. [drivers/net/axgbe/axgbe_dev.c:720]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/axgbe/axgbe_dev.c:721]: (style) The scope of the variable 'dma_ch_isr' can be reduced. [drivers/net/axgbe/axgbe_dev.c:721]: (style) The scope of the variable 'dma_ch_ier' can be reduced. [drivers/net/axgbe/axgbe_dev.c:757]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/axgbe/axgbe_dev.c:778]: (style) The scope of the variable 'desc' can be reduced. [drivers/net/axgbe/axgbe_dev.c:946]: (style) The scope of the variable 'reg' can be reduced. [drivers/net/axgbe/axgbe_dev.c:946]: (style) The scope of the variable 'reg_val' can be reduced. [drivers/net/axgbe/axgbe_dev.c:984]: (style) The scope of the variable 'mtl_q_isr' can be reduced. [drivers/net/axgbe/axgbe_dev.c:225] -> [drivers/net/axgbe/axgbe_dev.c:230]: (style) Local variable reg_val shadows outer variable [drivers/net/axgbe/axgbe_dev.c:251] -> [drivers/net/axgbe/axgbe_dev.c:262]: (style) Local variable reg_val shadows outer variable [drivers/net/axgbe/axgbe_dev.c:946] -> [drivers/net/axgbe/axgbe_dev.c:956]: (style) Local variable reg_val shadows outer variable [drivers/net/axgbe/axgbe_dev.c:946] -> [drivers/net/axgbe/axgbe_dev.c:959]: (style) Local variable reg_val shadows outer variable [drivers/net/axgbe/axgbe_dev.c:808]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/axgbe/axgbe_dev.c:0] -> [drivers/net/axgbe/axgbe_dev.c:0]: (error) Invalid value: 0x0204_BUSY_WIDTH [drivers/net/axgbe/axgbe_ethdev.c:123]: (style) The scope of the variable 'dma_ch_isr' can be reduced. [drivers/net/axgbe/axgbe_ethdev.c:333]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/axgbe/axgbe_ethdev.c:334]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/axgbe/axgbe_ethdev.c:0] -> [drivers/net/axgbe/axgbe_ethdev.c:0]: (error) Invalid value: 0x0008_PR_WIDTH [drivers/net/axgbe/axgbe_i2c.c:0] -> [drivers/net/axgbe/axgbe_i2c.c:0]: (error) Invalid value: 0x006c_EN_WIDTH [drivers/net/axgbe/axgbe_mdio.c:501] -> [drivers/net/axgbe/axgbe_mdio.c:521]: (style) Variable 'cur_state' is reassigned a value before the old one has been used. [drivers/net/axgbe/axgbe_mdio.c:434]: (style) The scope of the variable 'an_timeout' can be reduced. [drivers/net/axgbe/axgbe_mdio.c:436]: (style) The scope of the variable 'ticks' can be reduced. [drivers/net/axgbe/axgbe_phy_impl.c:1568] -> [drivers/net/axgbe/axgbe_phy_impl.c:1569]: (style) Variable 'reg' is reassigned a value before the old one has been used. [drivers/net/axgbe/axgbe_phy_impl.c:155]: (style) union member 'Anonymous0::vendor' is never used. [drivers/net/axgbe/axgbe_phy_impl.c:156]: (style) union member 'Anonymous0::partno' is never used. [drivers/net/axgbe/axgbe_phy_impl.c:157]: (style) union member 'Anonymous0::rev' is never used. [drivers/net/axgbe/axgbe_phy_impl.c:158]: (style) union member 'Anonymous0::serno' is never used. [drivers/net/axgbe/axgbe_phy_impl.c:953]: (style) Variable 'ad_reg' is assigned a value that is never used. [drivers/net/axgbe/axgbe_phy_impl.c:0] -> [drivers/net/axgbe/axgbe_phy_impl.c:0]: (error) Invalid value: 0x0080_ID_WIDTH [drivers/net/axgbe/axgbe_rxtx.c:17]: (style) The scope of the variable 'i' can be reduced. [drivers/net/axgbe/axgbe_rxtx.c:18]: (style) The scope of the variable 'sw_ring' can be reduced. [drivers/net/axgbe/axgbe_rxtx.c:121]: (style) The scope of the variable 'rx_status' can be reduced. [drivers/net/axgbe/axgbe_rxtx.c:174]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/axgbe/axgbe_rxtx.c:312]: (style) The scope of the variable 'i' can be reduced. [drivers/net/axgbe/axgbe_rxtx.c:313]: (style) The scope of the variable 'sw_ring' can be reduced. [drivers/net/axgbe/axgbe_rxtx.c:424]: (style) The scope of the variable 'tx_status' can be reduced. [drivers/net/axgbe/axgbe_rxtx.c:451]: (style) The scope of the variable 'tx_qidx' can be reduced. [drivers/net/axgbe/axgbe_rxtx.c:452]: (style) The scope of the variable 'tx_status' can be reduced. [drivers/net/axgbe/axgbe_rxtx.c:518]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/axgbe/axgbe_rxtx.c:654]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/axgbe/axgbe_rxtx.c:655]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/axgbe/axgbe_rxtx.c:177] -> [drivers/net/axgbe/axgbe_rxtx.c:182]: (style) Local variable reg_val shadows outer variable [drivers/net/axgbe/axgbe_rxtx.c:177] -> [drivers/net/axgbe/axgbe_rxtx.c:191]: (style) Local variable reg_val shadows outer variable [drivers/net/axgbe/axgbe_rxtx.c:177] -> [drivers/net/axgbe/axgbe_rxtx.c:194]: (style) Local variable reg_val shadows outer variable [drivers/net/axgbe/axgbe_rxtx.c:177] -> [drivers/net/axgbe/axgbe_rxtx.c:195]: (style) Local variable reg_val shadows outer variable [drivers/net/axgbe/axgbe_rxtx.c:177] -> [drivers/net/axgbe/axgbe_rxtx.c:197]: (style) Local variable reg_val shadows outer variable [drivers/net/axgbe/axgbe_rxtx.c:294]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/axgbe/axgbe_rxtx.c:592]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/axgbe/axgbe_rxtx.c:0] -> [drivers/net/axgbe/axgbe_rxtx.c:0]: (error) Invalid value: 0x48_PRXQ_WIDTH [drivers/net/bnx2x/bnx2x.c:8925]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/bnx2x/bnx2x.c:11086] -> [drivers/net/bnx2x/bnx2x.c:11115]: (style) Variable 'ilt' is reassigned a value before the old one has been used. [drivers/net/bnx2x/bnx2x.c:9187]: (style) Same value in both branches of ternary operator. [drivers/net/bnx2x/ecore_init.h:237]: (style) The scope of the variable 'reg_addr' can be reduced. [drivers/net/bnx2x/ecore_init.h:237]: (style) The scope of the variable 'reg_bit_map' can be reduced. [drivers/net/bnx2x/ecore_init.h:474]: (style) The scope of the variable 'vnic' can be reduced. [drivers/net/bnx2x/ecore_init.h:710]: (style) The scope of the variable 'reg_val' can be reduced. [drivers/net/bnx2x/ecore_init_ops.h:182]: (style) The scope of the variable 'op_type' can be reduced. [drivers/net/bnx2x/ecore_init_ops.h:182]: (style) The scope of the variable 'addr' can be reduced. [drivers/net/bnx2x/ecore_init_ops.h:182]: (style) The scope of the variable 'len' can be reduced. [drivers/net/bnx2x/ecore_init_ops.h:183]: (style) The scope of the variable 'data' can be reduced. [drivers/net/bnx2x/bnx2x.c:413]: (style) The scope of the variable 'data' can be reduced. [drivers/net/bnx2x/bnx2x.c:414]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bnx2x/bnx2x.c:1371]: (style) The scope of the variable 'fp' can be reduced. [drivers/net/bnx2x/bnx2x.c:1372]: (style) The scope of the variable 'count' can be reduced. [drivers/net/bnx2x/bnx2x.c:1995]: (style) The scope of the variable 'val' can be reduced. [drivers/net/bnx2x/bnx2x.c:2730]: (style) The scope of the variable 'my_fw' can be reduced. [drivers/net/bnx2x/bnx2x.c:2730]: (style) The scope of the variable 'loaded_fw' can be reduced. [drivers/net/bnx2x/bnx2x.c:2761]: (style) The scope of the variable 'ncsi_oem_data_addr' can be reduced. [drivers/net/bnx2x/bnx2x.c:2796]: (style) The scope of the variable 'abs_func' can be reduced. [drivers/net/bnx2x/bnx2x.c:2884]: (style) The scope of the variable 'pause_enabled' can be reduced. [drivers/net/bnx2x/bnx2x.c:2885]: (style) The scope of the variable 'pstats' can be reduced. [drivers/net/bnx2x/bnx2x.c:2886]: (style) The scope of the variable 'cmng_fns' can be reduced. [drivers/net/bnx2x/bnx2x.c:2947]: (style) The scope of the variable 'igu_acked' can be reduced. [drivers/net/bnx2x/bnx2x.c:2948]: (style) The scope of the variable 'cnt' can be reduced. [drivers/net/bnx2x/bnx2x.c:3376]: (style) The scope of the variable 'par_num' can be reduced. [drivers/net/bnx2x/bnx2x.c:3921]: (style) The scope of the variable 'reg_offset' can be reduced. [drivers/net/bnx2x/bnx2x.c:3922]: (style) The scope of the variable 'val0' can be reduced. [drivers/net/bnx2x/bnx2x.c:3922]: (style) The scope of the variable 'val1' can be reduced. [drivers/net/bnx2x/bnx2x.c:4011]: (style) The scope of the variable 'reg_offset' can be reduced. [drivers/net/bnx2x/bnx2x.c:4230]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/bnx2x/bnx2x.c:4526]: (style) The scope of the variable 'more_rx' can be reduced. [drivers/net/bnx2x/bnx2x.c:4559]: (style) The scope of the variable 'fp' can be reduced. [drivers/net/bnx2x/bnx2x.c:5011]: (style) The scope of the variable 'fp' can be reduced. [drivers/net/bnx2x/bnx2x.c:5169]: (style) The scope of the variable 'elem' can be reduced. [drivers/net/bnx2x/bnx2x.c:5297]: (style) The scope of the variable 'vn_cfg' can be reduced. [drivers/net/bnx2x/bnx2x.c:5298]: (style) The scope of the variable 'vn_min_rate' can be reduced. [drivers/net/bnx2x/bnx2x.c:5348]: (style) The scope of the variable 'max_cfg' can be reduced. [drivers/net/bnx2x/bnx2x.c:5372]: (style) The scope of the variable 'vn' can be reduced. [drivers/net/bnx2x/bnx2x.c:5419]: (style) The scope of the variable 'func' can be reduced. [drivers/net/bnx2x/bnx2x.c:6362]: (style) The scope of the variable 'cxt_index' can be reduced. [drivers/net/bnx2x/bnx2x.c:6362]: (style) The scope of the variable 'cxt_offset' can be reduced. [drivers/net/bnx2x/bnx2x.c:6621]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bnx2x/bnx2x.c:7540]: (style) The scope of the variable 'shmem2_size' can be reduced. [drivers/net/bnx2x/bnx2x.c:7542]: (style) The scope of the variable 'mf_cfg_offset_value' can be reduced. [drivers/net/bnx2x/bnx2x.c:7770]: (style) The scope of the variable 'mf_cfg1' can be reduced. [drivers/net/bnx2x/bnx2x.c:7771]: (style) The scope of the variable 'mf_cfg2' can be reduced. [drivers/net/bnx2x/bnx2x.c:7772]: (style) The scope of the variable 'ovlan1' can be reduced. [drivers/net/bnx2x/bnx2x.c:7773]: (style) The scope of the variable 'ovlan2' can be reduced. [drivers/net/bnx2x/bnx2x.c:7774]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bnx2x/bnx2x.c:7774]: (style) The scope of the variable 'j' can be reduced. [drivers/net/bnx2x/bnx2x.c:8165]: (style) The scope of the variable 'val' can be reduced. [drivers/net/bnx2x/bnx2x.c:8227]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/bnx2x/bnx2x.c:8555]: (style) The scope of the variable 'link_config' can be reduced. [drivers/net/bnx2x/bnx2x.c:9002]: (style) The scope of the variable 'val' can be reduced. [drivers/net/bnx2x/bnx2x.c:9167]: (style) The scope of the variable 'offset' can be reduced. [drivers/net/bnx2x/bnx2x.c:9258]: (style) The scope of the variable 'tmp_reg' can be reduced. [drivers/net/bnx2x/bnx2x.c:9261]: (style) The scope of the variable 'timer_count' can be reduced. [drivers/net/bnx2x/bnx2x.c:9262]: (style) The scope of the variable 'prev_brb' can be reduced. [drivers/net/bnx2x/bnx2x.c:9398]: (style) The scope of the variable 'fw' can be reduced. [drivers/net/bnx2x/bnx2x.c:9495]: (style) The scope of the variable 'cos' can be reduced. [drivers/net/bnx2x/bnx2x.c:9629]: (style) The scope of the variable 'tmp' can be reduced. [drivers/net/bnx2x/bnx2x.c:9661]: (style) The scope of the variable 'tmp' can be reduced. [drivers/net/bnx2x/bnx2x.c:10073]: (style) The scope of the variable 'abs_func_id' can be reduced. [drivers/net/bnx2x/bnx2x.c:10547]: (style) The scope of the variable 'low' can be reduced. [drivers/net/bnx2x/bnx2x.c:10547]: (style) The scope of the variable 'high' can be reduced. [drivers/net/bnx2x/bnx2x.c:11089]: (style) The scope of the variable 'main_mem_base' can be reduced. [drivers/net/bnx2x/bnx2x.c:11089]: (style) The scope of the variable 'main_mem_size' can be reduced. [drivers/net/bnx2x/bnx2x.c:11089]: (style) The scope of the variable 'main_mem_prty_clr' can be reduced. [drivers/net/bnx2x/bnx2x.c:11090]: (style) The scope of the variable 'main_mem_width' can be reduced. [drivers/net/bnx2x/bnx2x.c:11090]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/bnx2x/bnx2x.c:11229]: (style) The scope of the variable 'num_segs' can be reduced. [drivers/net/bnx2x/bnx2x.c:11229]: (style) The scope of the variable 'sb_idx' can be reduced. [drivers/net/bnx2x/bnx2x.c:11229]: (style) The scope of the variable 'prod_offset' can be reduced. [drivers/net/bnx2x/bnx2x.c:11443]: (style) The scope of the variable 'fp' can be reduced. [drivers/net/bnx2x/bnx2x.c:11582]: (style) The scope of the variable 'xlen' can be reduced. [drivers/net/bnx2x/bnx2x.c:5987]: (style) Checking if unsigned variable 'cnt' is less than zero. [drivers/net/bnx2x/bnx2x.c:4023]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/bnx2x/bnx2x.c:4028]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/bnx2x/bnx2x.c:8781]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/bnx2x/bnx2x.c:9823]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/bnx2x/bnx2x_ethdev.c:144]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/bnx2x/bnx2x_ethdev.c:444]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bnx2x/bnx2x_rxtx.c:22]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bnx2x/bnx2x_rxtx.c:23]: (style) The scope of the variable 'sw_ring' can be reduced. [drivers/net/bnx2x/bnx2x_rxtx.c:60]: (style) The scope of the variable 'nextpg' can be reduced. [drivers/net/bnx2x/bnx2x_rxtx.c:61]: (style) The scope of the variable 'rx_bd' can be reduced. [drivers/net/bnx2x/bnx2x_rxtx.c:167]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bnx2x/bnx2x_rxtx.c:168]: (style) The scope of the variable 'sw_ring' can be reduced. [drivers/net/bnx2x/bnx2x_rxtx.c:198]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/bnx2x/bnx2x_rxtx.c:243]: (style) The scope of the variable 'tx_n_bd' can be reduced. [drivers/net/bnx2x/bnx2x_rxtx.c:244]: (style) The scope of the variable 'busaddr' can be reduced. [drivers/net/bnx2x/bnx2x_stats.c:77] -> [drivers/net/bnx2x/bnx2x_stats.c:78]: (warning) Opposite inner 'if' condition leads to a dead code block. [drivers/net/bnx2x/bnx2x_stats.c:75]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/bnx2x/bnx2x_stats.c:107]: (style) The scope of the variable 'loader_idx' can be reduced. [drivers/net/bnx2x/bnx2x_stats.c:108]: (style) The scope of the variable 'opcode' can be reduced. [drivers/net/bnx2x/bnx2x_stats.c:779]: (style) The scope of the variable 'lpi_reg' can be reduced. [drivers/net/bnx2x/bnx2x_stats.c:779]: (style) The scope of the variable 'nig_timer_max' can be reduced. [drivers/net/bnx2x/bnx2x_stats.c:1121]: (style) The scope of the variable 'val' can be reduced. [drivers/net/bnx2x/bnx2x_vfpf.c:26]: (style) The scope of the variable 'tries' can be reduced. [drivers/net/bnx2x/bnx2x_vfpf.c:167]: (style) The scope of the variable 'val' can be reduced. [drivers/net/bnx2x/bnx2x_vfpf.c:195]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/bnx2x/bnx2x_vfpf.c:322]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/bnx2x/bnx2x_vfpf.c:387]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bnx2x/bnx2x_vfpf.c:387]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/bnx2x/ecore_sp.c:714]: (style) The scope of the variable 'wb_data' can be reduced. [drivers/net/bnx2x/ecore_sp.c:1303]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/bnx2x/ecore_sp.c:1364]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/bnx2x/ecore_sp.c:2804]: (style) The scope of the variable 'elem' can be reduced. [drivers/net/bnx2x/ecore_sp.c:2825]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/bnx2x/ecore_sp.c:2930]: (style) The scope of the variable 'bit' can be reduced. [drivers/net/bnx2x/ecore_sp.c:2970]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bnx2x/ecore_sp.c:3191]: (style) The scope of the variable 'old' can be reduced. [drivers/net/bnx2x/ecore_sp.c:3219]: (style) The scope of the variable 'old' can be reduced. [drivers/net/bnx2x/ecore_sp.c:5304]: (style) The scope of the variable 'cnt' can be reduced. [drivers/net/bnx2x/elink.c:7740] -> [drivers/net/bnx2x/elink.c:7837]: (warning) Variable 'prev_line_speed' is reassigned a value before the old one has been used. 'break;' missing? [drivers/net/bnx2x/elink.c:1312]: (style) Same value in both branches of ternary operator. [drivers/net/bnx2x/elink.c:2969]: (style) Same value in both branches of ternary operator. [drivers/net/bnx2x/elink.c:2981]: (style) Same value in both branches of ternary operator. [drivers/net/bnx2x/elink.c:966]: (style) The scope of the variable 'cur_speed_cap_mask' can be reduced. [drivers/net/bnx2x/elink.c:2499]: (style) The scope of the variable 'pfc_ctrl' can be reduced. [drivers/net/bnx2x/elink.c:2500]: (style) The scope of the variable 'val' can be reduced. [drivers/net/bnx2x/elink.c:3042]: (style) The scope of the variable 'val' can be reduced. [drivers/net/bnx2x/elink.c:3277]: (style) The scope of the variable 'wb_data' can be reduced. [drivers/net/bnx2x/elink.c:3505]: (style) The scope of the variable 'chip_id' can be reduced. [drivers/net/bnx2x/elink.c:3587]: (style) The scope of the variable 'chip_id' can be reduced. [drivers/net/bnx2x/elink.c:3717]: (style) The scope of the variable 'eee_mode' can be reduced. [drivers/net/bnx2x/elink.c:4271]: (style) The scope of the variable 'actual_phy_idx' can be reduced. [drivers/net/bnx2x/elink.c:4271]: (style) The scope of the variable 'link_cfg_idx' can be reduced. [drivers/net/bnx2x/elink.c:4592]: (style) The scope of the variable 'wc_lane_config' can be reduced. [drivers/net/bnx2x/elink.c:4815]: (style) The scope of the variable 'cfg_tap_val' can be reduced. [drivers/net/bnx2x/elink.c:4815]: (style) The scope of the variable 'tx_drv_brdct' can be reduced. [drivers/net/bnx2x/elink.c:4815]: (style) The scope of the variable 'tx_equal' can be reduced. [drivers/net/bnx2x/elink.c:4816]: (style) The scope of the variable 'ifir_val' can be reduced. [drivers/net/bnx2x/elink.c:4816]: (style) The scope of the variable 'ipost2_val' can be reduced. [drivers/net/bnx2x/elink.c:4816]: (style) The scope of the variable 'ipre_driver_val' can be reduced. [drivers/net/bnx2x/elink.c:5196]: (style) The scope of the variable 'cfg_pin' can be reduced. [drivers/net/bnx2x/elink.c:5268]: (style) The scope of the variable 'serdes_net_if' can be reduced. [drivers/net/bnx2x/elink.c:5269]: (style) The scope of the variable 'lnkup' can be reduced. [drivers/net/bnx2x/elink.c:5269]: (style) The scope of the variable 'lnkup_kr' can be reduced. [drivers/net/bnx2x/elink.c:5360]: (style) The scope of the variable 'fiber_mode' can be reduced. [drivers/net/bnx2x/elink.c:5524]: (style) The scope of the variable 'lane' can be reduced. [drivers/net/bnx2x/elink.c:5568]: (style) The scope of the variable 'link_10g_plus' can be reduced. [drivers/net/bnx2x/elink.c:7027]: (style) The scope of the variable 'mask' can be reduced. [drivers/net/bnx2x/elink.c:7068]: (style) The scope of the variable 'digit' can be reduced. [drivers/net/bnx2x/elink.c:7372]: (style) The scope of the variable 'serdes_phy_type' can be reduced. [drivers/net/bnx2x/elink.c:7459]: (style) The scope of the variable 'phy_index' can be reduced. [drivers/net/bnx2x/elink.c:8907]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bnx2x/elink.c:8907]: (style) The scope of the variable 'j' can be reduced. [drivers/net/bnx2x/elink.c:9048]: (style) The scope of the variable 'xfer_size' can be reduced. [drivers/net/bnx2x/elink.c:9902]: (style) The scope of the variable 'reg' can be reduced. [drivers/net/bnx2x/elink.c:10638]: (style) The scope of the variable 'cnt' can be reduced. [drivers/net/bnx2x/elink.c:10638]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bnx2x/elink.c:11256]: (style) The scope of the variable 'cmd_args' can be reduced. [drivers/net/bnx2x/elink.c:12199]: (style) The scope of the variable 'legacy_speed' can be reduced. [drivers/net/bnx2x/elink.c:13502]: (style) The scope of the variable 'actual_phy_idx' can be reduced. [drivers/net/bnx2x/elink.c:13503]: (style) The scope of the variable 'sync_offset' can be reduced. [drivers/net/bnx2x/elink.c:13503]: (style) The scope of the variable 'media_types' can be reduced. [drivers/net/bnx2x/elink.c:13505]: (style) The scope of the variable 'phy' can be reduced. [drivers/net/bnx2x/elink.c:14173]: (style) The scope of the variable 'phy_index' can be reduced. [drivers/net/bnx2x/elink.c:14738]: (style) The scope of the variable 'val' can be reduced. [drivers/net/bnx2x/elink.c:14740]: (style) The scope of the variable 'ext_phy_type' can be reduced. [drivers/net/bnx2x/elink.c:14740]: (style) The scope of the variable 'ext_phy_config' can be reduced. [drivers/net/bnx2x/elink.c:15172]: (style) The scope of the variable 'phy_index' can be reduced. [drivers/net/bnx2x/elink.c:1073]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/bnx2x/elink.c:3791]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/bnx2x/elink.c:11399]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/bnx2x/elink.c:12083]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/bnx2x/elink.c:1091] -> [drivers/net/bnx2x/elink.c:1096]: (warning) Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 1091. [drivers/net/bnx2x/elink.c:1108] -> [drivers/net/bnx2x/elink.c:1113]: (warning) Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 1108. [drivers/net/bnxt/bnxt_cpr.c:59]: (style) Checking if unsigned variable 'bp->pf.active_vfs' is less than zero. [drivers/net/bnxt/bnxt_ethdev.c:770]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses. [drivers/net/bnxt/bnxt_ethdev.c:3029]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary. [drivers/net/bnxt/bnxt_ethdev.c:901]: (style) The scope of the variable 'vnic' can be reduced. [drivers/net/bnxt/bnxt_ethdev.c:959]: (style) The scope of the variable 'vnic' can be reduced. [drivers/net/bnxt/bnxt_ethdev.c:1015]: (style) The scope of the variable 'len' can be reduced. [drivers/net/bnxt/bnxt_ethdev.c:1016]: (style) The scope of the variable 'hash_types' can be reduced. [drivers/net/bnxt/bnxt_ethdev.c:2197]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bnxt/bnxt_ethdev.c:2990]: (style) The scope of the variable 'index' can be reduced. [drivers/net/bnxt/bnxt_ethdev.c:2990]: (style) The scope of the variable 'dir_op' can be reduced. [drivers/net/bnxt/bnxt_ethdev.c:205] -> [drivers/net/bnxt/bnxt_ethdev.c:253]: (style) Local variable dev_conf shadows outer variable [drivers/net/bnxt/bnxt_ethdev.c:2475] -> [drivers/net/bnxt/bnxt_ethdev.c:2550]: (style) Local variable vnic shadows outer variable [drivers/net/bnxt/bnxt_ethdev.c:655]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/bnxt/bnxt_ethdev.c:695]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/bnxt/bnxt_ethdev.c:2710]: (style) Variable 'fifo' is assigned a value that is never used. [drivers/net/bnxt/bnxt_filter.c:65]: (style) The scope of the variable 'filter' can be reduced. [drivers/net/bnxt/bnxt_flow.c:494] -> [drivers/net/bnxt/bnxt_flow.c:482]: (warning) Either the condition 'if(vxlan_spec&&vxlan_mask)' is redundant or there is possible null pointer dereference: vxlan_spec. [drivers/net/bnxt/bnxt_flow.c:494] -> [drivers/net/bnxt/bnxt_flow.c:483]: (warning) Either the condition 'if(vxlan_spec&&vxlan_mask)' is redundant or there is possible null pointer dereference: vxlan_spec. [drivers/net/bnxt/bnxt_flow.c:494] -> [drivers/net/bnxt/bnxt_flow.c:484]: (warning) Either the condition 'if(vxlan_spec&&vxlan_mask)' is redundant or there is possible null pointer dereference: vxlan_spec. [drivers/net/bnxt/bnxt_flow.c:543] -> [drivers/net/bnxt/bnxt_flow.c:533]: (warning) Either the condition 'if(nvgre_spec&&nvgre_mask)' is redundant or there is possible null pointer dereference: nvgre_spec. [drivers/net/bnxt/bnxt_flow.c:543] -> [drivers/net/bnxt/bnxt_flow.c:534]: (warning) Either the condition 'if(nvgre_spec&&nvgre_mask)' is redundant or there is possible null pointer dereference: nvgre_spec. [drivers/net/bnxt/bnxt_flow.c:597] -> [drivers/net/bnxt/bnxt_flow.c:612]: (style) Variable 'filter->mirror_vnic_id' is reassigned a value before the old one has been used. [drivers/net/bnxt/bnxt_flow.c:839] -> [drivers/net/bnxt/bnxt_flow.c:854]: (style) Variable 'filter->mirror_vnic_id' is reassigned a value before the old one has been used. [drivers/net/bnxt/bnxt_flow.c:1111] -> [drivers/net/bnxt/bnxt_flow.c:1113]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/net/bnxt/bnxt_hwrm.c:519]: (style) The scope of the variable 'new_max_vfs' can be reduced. [drivers/net/bnxt/bnxt_hwrm.c:521]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bnxt/bnxt_hwrm.c:700]: (style) The scope of the variable 'enables' can be reduced. [drivers/net/bnxt/bnxt_hwrm.c:930]: (style) The scope of the variable 'enables' can be reduced. [drivers/net/bnxt/bnxt_hwrm.c:1042]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bnxt/bnxt_hwrm.c:1799]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/bnxt/bnxt_hwrm.c:2043]: (style) The scope of the variable 'filter' can be reduced. [drivers/net/bnxt/bnxt_hwrm.c:2214]: (style) The scope of the variable 'one_speed' can be reduced. [drivers/net/bnxt/bnxt_hwrm.c:3882]: (style) The scope of the variable 'rss_idx' can be reduced. [drivers/net/bnxt/bnxt_hwrm.c:3882]: (style) The scope of the variable 'fw_idx' can be reduced. [drivers/net/bnxt/bnxt_hwrm.c:3882]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bnxt/bnxt_irq.c:34] -> [drivers/net/bnxt/bnxt_irq.c:32]: (warning) Either the condition '!cpr' is redundant or there is possible null pointer dereference: cpr. [drivers/net/bnxt/bnxt_irq.c:25]: (style) The scope of the variable 'cmp' can be reduced. [drivers/net/bnxt/bnxt_irq.c:27]: (style) The scope of the variable 'cons' can be reduced. [drivers/net/bnxt/bnxt_ring.c:82]: (style) The scope of the variable 'sz' can be reduced. [drivers/net/bnxt/bnxt_rxq.c:205]: (style) The scope of the variable 'sw_ring' can be reduced. [drivers/net/bnxt/bnxt_rxq.c:206]: (style) The scope of the variable 'tpa_info' can be reduced. [drivers/net/bnxt/bnxt_rxq.c:207]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bnxt/bnxt_rxq.c:251]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/bnxt/bnxt_rxq.c:365]: (style) The scope of the variable 'cpr' can be reduced. [drivers/net/bnxt/bnxt_rxq.c:384]: (style) The scope of the variable 'cpr' can be reduced. [drivers/net/bnxt/bnxt_rxr.c:211]: (style) The scope of the variable 'cp_cons' can be reduced. [drivers/net/bnxt/bnxt_rxr.c:211]: (style) The scope of the variable 'ag_cons' can be reduced. [drivers/net/bnxt/bnxt_rxr.c:608]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/bnxt/bnxt_stats.c:488]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bnxt/bnxt_stats.c:488]: (style) The scope of the variable 'count' can be reduced. [drivers/net/bnxt/bnxt_stats.c:355]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/bnxt/bnxt_stats.c:392]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/bnxt/bnxt_txq.c:29]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bnxt/bnxt_txq.c:47]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/bnxt/bnxt_txr.c:124]: (style) The scope of the variable 'vlan_tag_flags' can be reduced. [drivers/net/bnxt/bnxt_txr.c:124]: (style) The scope of the variable 'cfa_action' can be reduced. [drivers/net/bnxt/bnxt_txr.c:335]: (style) The scope of the variable 'cons' can be reduced. [drivers/net/bnxt/bnxt_txr.c:337]: (style) The scope of the variable 'txcmp' can be reduced. [drivers/net/bnxt/bnxt_txr.c:341]: (style) The scope of the variable 'opaque' can be reduced. [drivers/net/bnxt/bnxt_vnic.c:78]: (style) The scope of the variable 'temp' can be reduced. [drivers/net/bnxt/bnxt_vnic.c:89]: (style) The scope of the variable 'vnic' can be reduced. [drivers/net/bnxt/bnxt_vnic.c:178]: (style) The scope of the variable 'vnic' can be reduced. [drivers/net/bnxt/rte_pmd_bnxt.c:455]: (style) The scope of the variable 'cnt' can be reduced. [drivers/net/bonding/rte_eth_bond_8023ad.c:177]: (style) The scope of the variable 'old' can be reduced. [drivers/net/bonding/rte_eth_bond_8023ad.c:178]: (style) The scope of the variable 'new_flag' can be reduced. [drivers/net/bonding/rte_eth_bond_8023ad.c:264]: (style) The scope of the variable 'timeout' can be reduced. [drivers/net/bonding/rte_eth_bond_8023ad.c:923]: (style) The scope of the variable 'bd_tx_q' can be reduced. [drivers/net/bonding/rte_eth_bond_8023ad.c:1042]: (style) The scope of the variable 'slave_id' can be reduced. [drivers/net/bonding/rte_eth_bond_8023ad.c:1543]: (style) The scope of the variable 'port' can be reduced. [drivers/net/bonding/rte_eth_bond_8023ad.c:1545]: (style) The scope of the variable 'slave_id' can be reduced. [drivers/net/bonding/rte_eth_bond_8023ad.c:1197] -> [drivers/net/bonding/rte_eth_bond_8023ad.c:1230]: (style) Local variable retval shadows outer variable [drivers/net/bonding/rte_eth_bond_8023ad.c:1197] -> [drivers/net/bonding/rte_eth_bond_8023ad.c:1251]: (style) Local variable retval shadows outer variable [drivers/net/bonding/rte_eth_bond_alb.c:244]: (style) Checking if unsigned variable 'internals->active_slave_count' is less than zero. [drivers/net/bonding/rte_eth_bond_args.c:32]: (style) The scope of the variable 'eth_pci_addr' can be reduced. [drivers/net/bonding/rte_eth_bond_args.c:82]: (style) The scope of the variable 'dev' can be reduced. [drivers/net/bonding/rte_eth_bond_flow.c:70]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/bonding/rte_eth_bond_flow.c:155]: (style) The scope of the variable 'lret' can be reduced. [drivers/net/bonding/rte_eth_bond_flow.c:179]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/bonding/rte_eth_bond_flow.c:222]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:1727]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [drivers/net/bonding/rte_eth_bond_pmd.c:205]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:405]: (style) The scope of the variable 'collecting' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:407]: (style) The scope of the variable 'j' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:635]: (style) The scope of the variable 'offset' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:779]: (style) The scope of the variable 'eth_hdr' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:780]: (style) The scope of the variable 'hash' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:799]: (style) The scope of the variable 'vlan_offset' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:800]: (style) The scope of the variable 'hash' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:800]: (style) The scope of the variable 'l3hash' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:836]: (style) The scope of the variable 'vlan_offset' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:841]: (style) The scope of the variable 'hash' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:841]: (style) The scope of the variable 'l3hash' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:841]: (style) The scope of the variable 'l4hash' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:853]: (style) The scope of the variable 'ip_hdr_offset' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:956]: (style) The scope of the variable 'tx_bytes' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:959]: (style) The scope of the variable 'slave_id' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:1067]: (style) The scope of the variable 'offset' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:1069]: (style) The scope of the variable 'client_info' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:1086]: (style) The scope of the variable 'pkt_size' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:1297]: (style) The scope of the variable 'total_tx_fail_count' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:1549]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:1550]: (style) The scope of the variable 'mac_addr' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:1577]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:1578]: (style) The scope of the variable 'mac_addr' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:1718]: (style) The scope of the variable 'errval' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:1777]: (style) The scope of the variable 'bd_rx_q' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:2008]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:2153]: (style) The scope of the variable 'port' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:2295]: (style) The scope of the variable 'res' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:2394]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:2784]: (style) The scope of the variable 'result' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:2785]: (style) The scope of the variable 'slave_reta_size' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:2842]: (style) The scope of the variable 'result' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:2889]: (style) The scope of the variable 'slave_eth_dev' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:2891]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:3324]: (style) The scope of the variable 'i' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:3324]: (style) The scope of the variable 'j' can be reduced. [drivers/net/bonding/rte_eth_bond_pmd.c:1786] -> [drivers/net/bonding/rte_eth_bond_pmd.c:1915]: (style) Local variable internals shadows outer variable [drivers/net/bonding/rte_eth_bond_pmd.c:3324] -> [drivers/net/bonding/rte_eth_bond_pmd.c:3441]: (style) Local variable i shadows outer variable [drivers/net/bonding/rte_eth_bond_pmd.c:529]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [drivers/net/bonding/rte_eth_bond_pmd.c:592]: (style) The scope of the variable 'ipv4_h' can be reduced. [drivers/net/cxgbe/base/t4_hw.c:40]: (style) The scope of the variable 'v' can be reduced. [drivers/net/cxgbe/base/t4_hw.c:2154]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/cxgbe/base/t4_hw.c:2368]: (style) The scope of the variable 'result' can be reduced. [drivers/net/cxgbe/base/t4_hw.c:3666]: (style) The scope of the variable 'sge_control2' can be reduced. [drivers/net/cxgbe/base/t4_hw.c:3667]: (style) The scope of the variable 'ingpackboundary' can be reduced. [drivers/net/cxgbe/base/t4_hw.c:5329]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/cxgbe/base/t4_hw.c:5357]: (style) The scope of the variable 'action' can be reduced. [drivers/net/cxgbe/base/t4_hw.c:5594]: (style) The scope of the variable 'bp' can be reduced. [drivers/net/cxgbe/base/t4_hw.c:5632]: (style) The scope of the variable 'mc_size' can be reduced. [drivers/net/cxgbe/base/t4_hw.c:4249]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/cxgbe/base/t4vf_hw.c:474]: (style) The scope of the variable 'ingpackboundary' can be reduced. [drivers/net/cxgbe/base/t4vf_hw.c:90] -> [drivers/net/cxgbe/base/t4vf_hw.c:235]: (style) Local variable ret shadows outer variable [drivers/net/cxgbe/clip_tbl.c:55]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/cxgbe/cxgbe_ethdev.c:66]: (style) The scope of the variable 'pkts_remain' can be reduced. [drivers/net/cxgbe/cxgbe_main.c:208]: (style) The scope of the variable 'delta' can be reduced. [drivers/net/cxgbe/cxgbe_main.c:225]: (style) The scope of the variable 'delta' can be reduced. [drivers/net/cxgbe/cxgbe_main.c:255]: (style) The scope of the variable 'err' can be reduced. [drivers/net/cxgbe/cxgbe_main.c:511]: (style) The scope of the variable 'i' can be reduced. [drivers/net/cxgbe/cxgbe_main.c:511]: (style) The scope of the variable 'nb_ports' can be reduced. [drivers/net/cxgbe/cxgbe_main.c:511]: (style) The scope of the variable 'qidx' can be reduced. [drivers/net/cxgbe/cxgbe_main.c:512]: (style) The scope of the variable 'q_per_port' can be reduced. [drivers/net/cxgbe/cxgbe_main.c:1495]: (style) The scope of the variable 'j' can be reduced. [drivers/net/cxgbe/cxgbe_main.c:1495]: (style) The scope of the variable 'err' can be reduced. [drivers/net/cxgbe/cxgbe_main.c:1704]: (style) The scope of the variable 'pi' can be reduced. [drivers/net/cxgbe/cxgbe_main.c:1705]: (style) The scope of the variable 'i' can be reduced. [drivers/net/cxgbe/cxgbe_main.c:508] -> [drivers/net/cxgbe/cxgbe_main.c:534]: (style) Local variable pi shadows outer variable [drivers/net/cxgbe/cxgbe_main.c:1079]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/cxgbe/sge.c:1002]: (style) The scope of the variable 'mc' can be reduced. [drivers/net/cxgbe/sge.c:1003]: (style) The scope of the variable 'sc_imm' can be reduced. [drivers/net/cxgbe/sge.c:1625]: (style) The scope of the variable 'rsp_type' can be reduced. [drivers/net/cxgbe/sge.c:1658]: (style) The scope of the variable 'bufsz' can be reduced. [drivers/net/cxgbe/sge.c:1774]: (style) The scope of the variable 'cidx_inc' can be reduced. [drivers/net/cxgbe/sge.c:1775]: (style) The scope of the variable 'params' can be reduced. [drivers/net/cxgbe/sge.c:1776]: (style) The scope of the variable 'val' can be reduced. [drivers/net/cxgbe/sge.c:2044]: (style) The scope of the variable 'i' can be reduced. [drivers/net/dpaa/dpaa_ethdev.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [drivers/net/dpaa/dpaa_rxtx.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [drivers/net/dpaa2/dpaa2_ethdev.c:1454] -> [drivers/net/dpaa2/dpaa2_ethdev.c:1469]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/net/dpaa2/dpaa2_ethdev.c:1508] -> [drivers/net/dpaa2/dpaa2_ethdev.c:1531]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/net/dpaa2/dpaa2_ethdev.c:1563] -> [drivers/net/dpaa2/dpaa2_ethdev.c:1578]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/net/dpaa2/dpaa2_ethdev.c:1618] -> [drivers/net/dpaa2/dpaa2_ethdev.c:1638]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/net/dpaa2/dpaa2_ethdev.c:307]: (style) The scope of the variable 'dpaa2_q' can be reduced. [drivers/net/dpaa2/dpaa2_ethdev.c:308]: (style) The scope of the variable 'i' can be reduced. [drivers/net/dpaa2/dpaa2_ethdev.c:471]: (style) The scope of the variable 'bpid' can be reduced. [drivers/net/dpaa2/dpaa2_ethdev.c:649]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/dpaa2/dpaa2_ethdev.c:787]: (style) The scope of the variable 'dpaa2_q' can be reduced. [drivers/net/dpaa2/dpaa2_ethdev.c:1270]: (style) The scope of the variable 'i' can be reduced. [drivers/net/dpaa2/dpaa2_rxtx.c:506]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/dpaa2/dpaa2_rxtx.c:710] -> [drivers/net/dpaa2/dpaa2_rxtx.c:801]: (style) Local variable ret shadows outer variable [drivers/net/dpaa2/mc/dpkg.c:25]: (style) The scope of the variable 'extr' can be reduced. [drivers/net/e1000/base/e1000_80003es2lan.c:1389] -> [drivers/net/e1000/base/e1000_80003es2lan.c:1404]: (warning) Identical condition 'ret_val', second condition is always false [drivers/net/e1000/base/e1000_80003es2lan.c:1426] -> [drivers/net/e1000/base/e1000_80003es2lan.c:1438]: (warning) Identical condition 'ret_val', second condition is always false [drivers/net/e1000/base/e1000_80003es2lan.c:510] -> [drivers/net/e1000/base/e1000_80003es2lan.c:519]: (style) Variable 'ret_val' is reassigned a value before the old one has been used. [drivers/net/e1000/base/e1000_80003es2lan.c:581] -> [drivers/net/e1000/base/e1000_80003es2lan.c:590]: (style) Variable 'ret_val' is reassigned a value before the old one has been used. [drivers/net/e1000/base/e1000_80003es2lan.c:159]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/e1000/base/e1000_80003es2lan.c:160]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/e1000/base/e1000_82540.c:330]: (style) The scope of the variable 'ctrl_ext' can be reduced. [drivers/net/e1000/base/e1000_82540.c:136]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/e1000/base/e1000_82540.c:137]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/e1000/base/e1000_82541.c:630] -> [drivers/net/e1000/base/e1000_82541.c:645]: (style) Variable 'ret_val' is reassigned a value before the old one has been used. [drivers/net/e1000/base/e1000_82541.c:294]: (style) The scope of the variable 'ledctl' can be reduced. [drivers/net/e1000/base/e1000_82541.c:1155]: (style) The scope of the variable 'fine' can be reduced. [drivers/net/e1000/base/e1000_82541.c:1155]: (style) The scope of the variable 'coarse' can be reduced. [drivers/net/e1000/base/e1000_82541.c:153]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/e1000/base/e1000_82542.c:247]: (style) The scope of the variable 'ctrl' can be reduced. [drivers/net/e1000/base/e1000_82543.c:1233] -> [drivers/net/e1000/base/e1000_82543.c:1239]: (style) Variable 'ret_val' is reassigned a value before the old one has been used. [drivers/net/e1000/base/e1000_82543.c:955]: (style) The scope of the variable 'ctrl' can be reduced. [drivers/net/e1000/base/e1000_82543.c:1454]: (style) The scope of the variable 'temp' can be reduced. [drivers/net/e1000/base/e1000_82571.c:517] -> [drivers/net/e1000/base/e1000_82571.c:516]: (style) Same expression used in consecutive assignments of 'sw_timeout' and 'fw_timeout'. [drivers/net/e1000/base/e1000_82571.c:288]: (style) The scope of the variable 'swsm' can be reduced. [drivers/net/e1000/base/e1000_82571.c:914]: (style) The scope of the variable 'eewr' can be reduced. [drivers/net/e1000/base/e1000_82571.c:1066]: (style) The scope of the variable 'ctrl_ext' can be reduced. [drivers/net/e1000/base/e1000_82571.c:1411]: (style) The scope of the variable 'vfta_value' can be reduced. [drivers/net/e1000/base/e1000_82571.c:1480]: (style) The scope of the variable 'i' can be reduced. [drivers/net/e1000/base/e1000_82571.c:224]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/e1000/base/e1000_82571.c:225]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/e1000/base/e1000_82575.c:835] -> [drivers/net/e1000/base/e1000_82575.c:838]: (style) Variable 'ret_val' is reassigned a value before the old one has been used. [drivers/net/e1000/base/e1000_82575.c:1204] -> [drivers/net/e1000/base/e1000_82575.c:1219]: (style) Variable 'ret_val' is reassigned a value before the old one has been used. [drivers/net/e1000/base/e1000_82575.c:1334]: (style) The scope of the variable 'status' can be reduced. [drivers/net/e1000/base/e1000_82575.c:1395]: (style) The scope of the variable 'reg' can be reduced. [drivers/net/e1000/base/e1000_82575.c:1639]: (style) The scope of the variable 'anadv_reg' can be reduced. [drivers/net/e1000/base/e1000_82575.c:2151]: (style) The scope of the variable 'rx_enabled' can be reduced. [drivers/net/e1000/base/e1000_82575.c:3519]: (style) The scope of the variable 'bit' can be reduced. [drivers/net/e1000/base/e1000_82575.c:2324]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/e1000/base/e1000_82575.c:2326]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/e1000/base/e1000_82575.c:2333]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/e1000/base/e1000_82575.c:2335]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/e1000/base/e1000_82575.c:368]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/e1000/base/e1000_82575.c:369]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/e1000/base/e1000_82575.c:3180]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/e1000/base/e1000_i210.c:884] -> [drivers/net/e1000/base/e1000_i210.c:887]: (warning) Identical condition 'ret_val', second condition is always false [drivers/net/e1000/base/e1000_i210.c:238]: (style) The scope of the variable 'count' can be reduced. [drivers/net/e1000/base/e1000_i210.c:283]: (style) The scope of the variable 'count' can be reduced. [drivers/net/e1000/base/e1000_i210.c:378]: (style) The scope of the variable 'invm_dword' can be reduced. [drivers/net/e1000/base/e1000_i210.c:380]: (style) The scope of the variable 'record_type' can be reduced. [drivers/net/e1000/base/e1000_i210.c:504]: (style) The scope of the variable 'invm_dword' can be reduced. [drivers/net/e1000/base/e1000_i210.c:749]: (style) The scope of the variable 'reg' can be reduced. [drivers/net/e1000/base/e1000_i210.c:928]: (style) The scope of the variable 'ctrl' can be reduced. [drivers/net/e1000/base/e1000_i210.c:928]: (style) The scope of the variable 'ctrl_ext' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:999] -> [drivers/net/e1000/base/e1000_ich8lan.c:1004]: (style) Variable 'ret_val' is reassigned a value before the old one has been used. [drivers/net/e1000/base/e1000_ich8lan.c:2620] -> [drivers/net/e1000/base/e1000_ich8lan.c:2626]: (style) Variable 'ret_val' is reassigned a value before the old one has been used. [drivers/net/e1000/base/e1000_ich8lan.c:4100] -> [drivers/net/e1000/base/e1000_ich8lan.c:4105]: (style) Variable 'act_offset' is reassigned a value before the old one has been used. [drivers/net/e1000/base/e1000_ich8lan.c:4145] -> [drivers/net/e1000/base/e1000_ich8lan.c:4148]: (style) Variable 'act_offset' is reassigned a value before the old one has been used. [drivers/net/e1000/base/e1000_ich8lan.c:639]: (style) The scope of the variable 'gfpreg' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:639]: (style) The scope of the variable 'sector_base_addr' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:639]: (style) The scope of the variable 'sector_end_addr' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:641]: (style) The scope of the variable 'nvm_size' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:1495]: (style) The scope of the variable 'tipg_reg' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:1496]: (style) The scope of the variable 'emi_addr' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:1496]: (style) The scope of the variable 'emi_val' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:1608]: (style) The scope of the variable 'ptr_gap' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:2165]: (style) The scope of the variable 'fwsm' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:2735]: (style) The scope of the variable 'i' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:4831]: (style) The scope of the variable 'temp' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:4831]: (style) The scope of the variable 'shift' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:5510]: (style) The scope of the variable 'reg' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:5891]: (style) The scope of the variable 'i' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:5891]: (style) The scope of the variable 'led' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:5923]: (style) The scope of the variable 'i' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:5923]: (style) The scope of the variable 'led' can be reduced. [drivers/net/e1000/base/e1000_ich8lan.c:1498] -> [drivers/net/e1000/base/e1000_ich8lan.c:1578]: (style) Local variable phy_reg shadows outer variable [drivers/net/e1000/base/e1000_ich8lan.c:5169]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/e1000/base/e1000_ich8lan.c:2716]: (warning) Suspicious code: sign conversion of -1 in calculation because '-1' has a negative value [drivers/net/e1000/base/e1000_ich8lan.c:159]: (style) struct member 'ich8_hsfsts::reserved1' is never used. [drivers/net/e1000/base/e1000_ich8lan.c:160]: (style) struct member 'ich8_hsfsts::reserved2' is never used. [drivers/net/e1000/base/e1000_ich8lan.c:162]: (style) struct member 'ich8_hsfsts::flockdn' is never used. [drivers/net/e1000/base/e1000_ich8lan.c:173]: (style) struct member 'ich8_hsflctl::reserved' is never used. [drivers/net/e1000/base/e1000_ich8lan.c:175]: (style) struct member 'ich8_hsflctl::flockdn' is never used. [drivers/net/e1000/base/e1000_ich8lan.c:183]: (style) struct member 'ich8_flracc::grra' is never used. [drivers/net/e1000/base/e1000_ich8lan.c:184]: (style) struct member 'ich8_flracc::grwa' is never used. [drivers/net/e1000/base/e1000_ich8lan.c:185]: (style) struct member 'ich8_flracc::gmrag' is never used. [drivers/net/e1000/base/e1000_ich8lan.c:186]: (style) struct member 'ich8_flracc::gmwag' is never used. [drivers/net/e1000/base/e1000_mac.c:1387] -> [drivers/net/e1000/base/e1000_mac.c:1392]: (warning) Identical condition 'ret_val', second condition is always false [drivers/net/e1000/base/e1000_mac.c:294]: (style) The scope of the variable 'status' can be reduced. [drivers/net/e1000/base/e1000_mac.c:398]: (style) The scope of the variable 'offset' can be reduced. [drivers/net/e1000/base/e1000_mac.c:584]: (style) The scope of the variable 'hash_value' can be reduced. [drivers/net/e1000/base/e1000_mac.c:584]: (style) The scope of the variable 'hash_bit' can be reduced. [drivers/net/e1000/base/e1000_mac.c:584]: (style) The scope of the variable 'hash_reg' can be reduced. [drivers/net/e1000/base/e1000_mac.c:774]: (style) The scope of the variable 'ret_val' can be reduced. [drivers/net/e1000/base/e1000_mac.c:841]: (style) The scope of the variable 'ret_val' can be reduced. [drivers/net/e1000/base/e1000_mac.c:945]: (style) The scope of the variable 'nvm_offset' can be reduced. [drivers/net/e1000/base/e1000_mac.c:1124]: (style) The scope of the variable 'status' can be reduced. [drivers/net/e1000/base/e1000_mac.c:1125]: (style) The scope of the variable 'ret_val' can be reduced. [drivers/net/e1000/base/e1000_mac.c:1349]: (style) The scope of the variable 'pcs_status_reg' can be reduced. [drivers/net/e1000/base/e1000_mac.c:1349]: (style) The scope of the variable 'pcs_adv_reg' can be reduced. [drivers/net/e1000/base/e1000_mac.c:1349]: (style) The scope of the variable 'pcs_lp_ability_reg' can be reduced. [drivers/net/e1000/base/e1000_mac.c:1349]: (style) The scope of the variable 'pcs_ctrl_reg' can be reduced. [drivers/net/e1000/base/e1000_mac.c:1839]: (style) The scope of the variable 'temp' can be reduced. [drivers/net/e1000/base/e1000_mac.c:1902]: (style) The scope of the variable 'ledctl' can be reduced. [drivers/net/e1000/base/e1000_mac.c:1949]: (style) The scope of the variable 'i' can be reduced. [drivers/net/e1000/base/e1000_mac.c:2054]: (style) The scope of the variable 'gcr' can be reduced. [drivers/net/e1000/base/e1000_manage.c:343]: (style) The scope of the variable 'fwsm' can be reduced. [drivers/net/e1000/base/e1000_manage.c:469]: (style) The scope of the variable 'fwsm' can be reduced. [drivers/net/e1000/base/e1000_mbx.c:653]: (style) The scope of the variable 'p2v_mailbox' can be reduced. [drivers/net/e1000/base/e1000_nvm.c:561]: (style) The scope of the variable 'eerd' can be reduced. [drivers/net/e1000/base/e1000_nvm.c:1198]: (style) The scope of the variable 'ret_val' can be reduced. [drivers/net/e1000/base/e1000_phy.c:2839] -> [drivers/net/e1000/base/e1000_phy.c:2844]: (warning) Identical condition 'ret_val', second condition is always false [drivers/net/e1000/base/e1000_phy.c:227]: (style) The scope of the variable 'ret_val' can be reduced. [drivers/net/e1000/base/e1000_phy.c:2564]: (style) The scope of the variable 'ret_val' can be reduced. [drivers/net/e1000/base/e1000_phy.c:2566]: (style) The scope of the variable 'cur_agc_index' can be reduced. [drivers/net/e1000/base/e1000_phy.c:3066]: (style) The scope of the variable 'i' can be reduced. [drivers/net/e1000/base/e1000_phy.c:4242]: (style) The scope of the variable 'mphy_ctrl' can be reduced. [drivers/net/e1000/base/e1000_vf.c:387]: (style) The scope of the variable 'retmsg' can be reduced. [drivers/net/e1000/base/e1000_vf.c:408]: (style) The scope of the variable 'hash_value' can be reduced. [drivers/net/e1000/em_ethdev.c:834]: (style) Condition 'em_fc_setting<=e1000_fc_full' is always true [drivers/net/e1000/em_ethdev.c:1178]: (style) The scope of the variable 'ctrl_ext' can be reduced. [drivers/net/e1000/em_ethdev.c:1178]: (style) The scope of the variable 'swsm' can be reduced. [drivers/net/e1000/em_ethdev.c:1201]: (style) The scope of the variable 'ctrl_ext' can be reduced. [drivers/net/e1000/em_ethdev.c:1201]: (style) The scope of the variable 'swsm' can be reduced. [drivers/net/e1000/em_ethdev.c:1245]: (style) The scope of the variable 'manc' can be reduced. [drivers/net/e1000/em_ethdev.c:1690]: (style) The scope of the variable 'rctl' can be reduced. [drivers/net/e1000/em_rxtx.c:612]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/e1000/em_rxtx.c:613]: (style) The scope of the variable 'm' can be reduced. [drivers/net/e1000/em_rxtx.c:682]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/e1000/em_rxtx.c:683]: (style) The scope of the variable 'pkt_len' can be reduced. [drivers/net/e1000/em_rxtx.c:687]: (style) The scope of the variable 'status' can be reduced. [drivers/net/e1000/em_rxtx.c:1095]: (style) The scope of the variable 'i' can be reduced. [drivers/net/e1000/em_rxtx.c:1317]: (style) The scope of the variable 'i' can be reduced. [drivers/net/e1000/em_rxtx.c:1580]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/e1000/em_rxtx.c:1581]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/e1000/em_rxtx.c:1691]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/e1000/em_rxtx.c:1738]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/e1000/em_rxtx.c:1925]: (style) The scope of the variable 'txdctl' can be reduced. [drivers/net/e1000/igb_ethdev.c:1695]: (style) Condition 'igb_fc_setting!=e1000_fc_none' is always true [drivers/net/e1000/igb_ethdev.c:1695]: (style) Condition 'igb_fc_setting<4' is always true [drivers/net/e1000/igb_ethdev.c:4044] -> [drivers/net/e1000/igb_ethdev.c:3992]: (warning) Either the condition 'it!=NULL' is redundant or there is possible null pointer dereference: filter. [drivers/net/e1000/igb_ethdev.c:4044] -> [drivers/net/e1000/igb_ethdev.c:4000]: (warning) Either the condition 'it!=NULL' is redundant or there is possible null pointer dereference: filter. [drivers/net/e1000/igb_ethdev.c:4044] -> [drivers/net/e1000/igb_ethdev.c:4003]: (warning) Either the condition 'it!=NULL' is redundant or there is possible null pointer dereference: filter. [drivers/net/e1000/igb_ethdev.c:1025] -> [drivers/net/e1000/igb_ethdev.c:1052]: (style) Variable 'diag' is reassigned a value before the old one has been used. [drivers/net/e1000/igb_ethdev.c:2070]: (style) The scope of the variable 'i' can be reduced. [drivers/net/e1000/igb_ethdev.c:2599]: (style) The scope of the variable 'reg' can be reduced. [drivers/net/e1000/igb_ethdev.c:2862]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/e1000/igb_ethdev.c:3068]: (style) The scope of the variable 'rctl' can be reduced. [drivers/net/e1000/igb_ethdev.c:3167]: (style) The scope of the variable 'reg_val' can be reduced. [drivers/net/e1000/igb_ethdev.c:3270]: (style) The scope of the variable 'intr_vector' can be reduced. [drivers/net/e1000/igb_ethdev.c:3452]: (style) The scope of the variable 'vfta' can be reduced. [drivers/net/e1000/igb_ethdev.c:3517]: (style) The scope of the variable 'mask' can be reduced. [drivers/net/e1000/igb_ethdev.c:3519]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/e1000/igb_ethdev.c:3519]: (style) The scope of the variable 'shift' can be reduced. [drivers/net/e1000/igb_ethdev.c:3558]: (style) The scope of the variable 'mask' can be reduced. [drivers/net/e1000/igb_ethdev.c:3560]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/e1000/igb_ethdev.c:3560]: (style) The scope of the variable 'shift' can be reduced. [drivers/net/e1000/igb_ethdev.c:3597]: (style) The scope of the variable 'rfctl' can be reduced. [drivers/net/e1000/igb_ethdev.c:3635]: (style) The scope of the variable 'rfctl' can be reduced. [drivers/net/e1000/igb_ethdev.c:4016]: (style) The scope of the variable 'mask' can be reduced. [drivers/net/e1000/igb_ethdev.c:4090]: (style) The scope of the variable 'queueing' can be reduced. [drivers/net/e1000/igb_ethdev.c:5272]: (style) The scope of the variable 'g_ind' can be reduced. [drivers/net/e1000/igb_ethdev.c:5273]: (style) The scope of the variable 'count' can be reduced. [drivers/net/e1000/igb_ethdev.c:5274]: (style) The scope of the variable 'reg_group' can be reduced. [drivers/net/e1000/igb_ethdev.c:5302]: (style) The scope of the variable 'g_ind' can be reduced. [drivers/net/e1000/igb_ethdev.c:5303]: (style) The scope of the variable 'count' can be reduced. [drivers/net/e1000/igb_ethdev.c:5304]: (style) The scope of the variable 'reg_group' can be reduced. [drivers/net/e1000/igb_ethdev.c:5434]: (style) The scope of the variable 'status' can be reduced. [drivers/net/e1000/igb_ethdev.c:5525]: (style) The scope of the variable 'tmp' can be reduced. [drivers/net/e1000/igb_ethdev.c:4770]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/e1000/igb_pf.c:307]: (style) The scope of the variable 'rah' can be reduced. [drivers/net/e1000/igb_pf.c:326]: (style) The scope of the variable 'vector_bit' can be reduced. [drivers/net/e1000/igb_pf.c:327]: (style) The scope of the variable 'vector_reg' can be reduced. [drivers/net/e1000/igb_pf.c:328]: (style) The scope of the variable 'mta_reg' can be reduced. [drivers/net/e1000/igb_pf.c:154]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/e1000/igb_pf.c:156]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/e1000/igb_rxtx.c:2911] -> [drivers/net/e1000/igb_rxtx.c:2913]: (style) Variable 'hw' is reassigned a value before the old one has been used. [drivers/net/e1000/igb_rxtx.c:621]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/e1000/igb_rxtx.c:622]: (style) The scope of the variable 'm' can be reduced. [drivers/net/e1000/igb_rxtx.c:812]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/e1000/igb_rxtx.c:813]: (style) The scope of the variable 'staterr' can be reduced. [drivers/net/e1000/igb_rxtx.c:814]: (style) The scope of the variable 'hlen_type_rss' can be reduced. [drivers/net/e1000/igb_rxtx.c:815]: (style) The scope of the variable 'pkt_len' can be reduced. [drivers/net/e1000/igb_rxtx.c:819]: (style) The scope of the variable 'pkt_flags' can be reduced. [drivers/net/e1000/igb_rxtx.c:1258]: (style) The scope of the variable 'i' can be reduced. [drivers/net/e1000/igb_rxtx.c:1290]: (style) The scope of the variable 'txr' can be reduced. [drivers/net/e1000/igb_rxtx.c:1291]: (style) The scope of the variable 'tx_first' can be reduced. [drivers/net/e1000/igb_rxtx.c:1292]: (style) The scope of the variable 'tx_id' can be reduced. [drivers/net/e1000/igb_rxtx.c:1293]: (style) The scope of the variable 'tx_last' can be reduced. [drivers/net/e1000/igb_rxtx.c:1294]: (style) The scope of the variable 'tx_next' can be reduced. [drivers/net/e1000/igb_rxtx.c:1589]: (style) The scope of the variable 'i' can be reduced. [drivers/net/e1000/igb_rxtx.c:1855]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/e1000/igb_rxtx.c:1856]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/e1000/igb_rxtx.c:1939]: (style) The scope of the variable 'rss_key' can be reduced. [drivers/net/e1000/igb_rxtx.c:1942]: (style) The scope of the variable 'i' can be reduced. [drivers/net/e1000/igb_rxtx.c:2015]: (style) The scope of the variable 'rss_key' can be reduced. [drivers/net/e1000/igb_rxtx.c:2018]: (style) The scope of the variable 'i' can be reduced. [drivers/net/e1000/igb_rxtx.c:2245]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/e1000/igb_rxtx.c:2275]: (style) The scope of the variable 'mrqc' can be reduced. [drivers/net/e1000/igb_rxtx.c:2318]: (style) The scope of the variable 'buf_size' can be reduced. [drivers/net/e1000/igb_rxtx.c:2321]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/e1000/igb_rxtx.c:2584]: (style) The scope of the variable 'txdctl' can be reduced. [drivers/net/e1000/igb_rxtx.c:2637]: (style) The scope of the variable 'srrctl' can be reduced. [drivers/net/e1000/igb_rxtx.c:2638]: (style) The scope of the variable 'buf_size' can be reduced. [drivers/net/e1000/igb_rxtx.c:2641]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/e1000/igb_rxtx.c:2781]: (style) The scope of the variable 'txdctl' can be reduced. [drivers/net/ena/base/ena_com.h:1057]: (style) The scope of the variable 'pred_moder_entry' can be reduced. [drivers/net/ena/base/ena_com.c:288]: (style) The scope of the variable 'comp_ctx' can be reduced. [drivers/net/ena/base/ena_com.c:1461]: (style) The scope of the variable 'comp_ctx' can be reduced. [drivers/net/ena/base/ena_com.c:2111]: (style) The scope of the variable 'timestamp' can be reduced. [drivers/net/ena/base/ena_com.c:2112]: (style) The scope of the variable 'handler_cb' can be reduced. [drivers/net/ena/base/ena_com.c:943]: (style) Variable 'size' is assigned a value that is never used. [drivers/net/ena/base/ena_com.c:115]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/ena/base/ena_com.c:137]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/ena/base/ena_com.c:160]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/ena/base/ena_com.c:350]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/ena/base/ena_com.c:358]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/ena/base/ena_com.c:432]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/ena/base/ena_com.c:440]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/ena/base/ena_com.c:1059]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/ena/base/ena_com.c:1088]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/ena/base/ena_com.c:1138]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/ena/base/ena_com.c:1706]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/ena/base/ena_com.c:1943]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/ena/base/ena_com.c:2771]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/ena/base/ena_com.c:2791]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/ena/base/ena_com.c:952]: (style) The scope of the variable 'val' can be reduced. [drivers/net/ena/base/ena_com.c:1268]: (style) The scope of the variable 'qid' can be reduced. [drivers/net/ena/base/ena_com.c:1291]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/ena/base/ena_com.c:2537]: (style) The scope of the variable 'available_fields' can be reduced. [drivers/net/ena/base/ena_eth_com.c:170]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/ena/base/ena_eth_com.c:205]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/ena/base/ena_eth_com.c:255]: (style) The scope of the variable 'cdesc' can be reduced. [drivers/net/ena/base/ena_eth_com.c:292]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/ena/base/ena_eth_com.c:396]: (style) The scope of the variable 'descs_after_first_entry' can be reduced. [drivers/net/ena/base/ena_eth_com.c:256]: (style) The scope of the variable 'head_masked' can be reduced. [drivers/net/ena/base/ena_eth_com.c:436]: (style) The scope of the variable 'addr_hi' can be reduced. [drivers/net/ena/ena_ethdev.c:605]: (warning) Comparison is wrong. Result of 'reta_conf+1' can't be 0 unless there is pointer overflow, and pointer overflow is undefined behaviour. [drivers/net/ena/ena_ethdev.c:2484]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/ena/ena_ethdev.c:2491]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/ena/ena_ethdev.c:1709] -> [drivers/net/ena/ena_ethdev.c:1727]: (style) Variable 'ena_dev' is reassigned a value before the old one has been used. [drivers/net/ena/ena_ethdev.c:544]: (style) The scope of the variable 'conf_idx' can be reduced. [drivers/net/ena/ena_ethdev.c:545]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/ena/ena_ethdev.c:601]: (style) The scope of the variable 'reta_conf_idx' can be reduced. [drivers/net/ena/ena_ethdev.c:602]: (style) The scope of the variable 'reta_idx' can be reduced. [drivers/net/ena/ena_ethdev.c:1083]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/ena/ena_ethdev.c:1401]: (style) The scope of the variable 'req_id' can be reduced. [drivers/net/ena/ena_ethdev.c:2041]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/ena/ena_ethdev.c:2148]: (style) The scope of the variable 'ol_flags' can be reduced. [drivers/net/ena/ena_ethdev.c:2269]: (style) The scope of the variable 'seg_len' can be reduced. [drivers/net/ena/ena_ethdev.c:2278]: (style) The scope of the variable 'delta' can be reduced. [drivers/net/ena/ena_ethdev.c:2280]: (style) The scope of the variable 'total_length' can be reduced. [drivers/net/ena/ena_ethdev.c:2570]: (style) The scope of the variable 'id' can be reduced. [drivers/net/enetc/enetc_ethdev.c:96]: (style) Variable 'error' is assigned a value that is never used. [drivers/net/enetc/enetc_rxtx.c:51]: (style) The scope of the variable 'tx_swbd' can be reduced. [drivers/net/enic/base/vnic_dev.c:833]: (warning) Possible null pointer dereference: notify_addr [drivers/net/enic/base/vnic_dev.c:464]: (style) The scope of the variable 'name' can be reduced. [drivers/net/enic/base/vnic_dev.c:466]: (style) The scope of the variable 'wait' can be reduced. [drivers/net/enic/base/vnic_dev.c:807]: (style) The scope of the variable 'wait' can be reduced. [drivers/net/enic/base/vnic_dev.c:854]: (style) The scope of the variable 'name' can be reduced. [drivers/net/enic/base/vnic_dev.c:1108]: (style) The scope of the variable 'unique_id' can be reduced. [drivers/net/enic/base/vnic_dev.c:1109]: (style) The scope of the variable 'z_name' can be reduced. [drivers/net/enic/base/vnic_dev.c:1213]: (style) The scope of the variable 'wait' can be reduced. [drivers/net/enic/base/vnic_rq.h:100]: (style) The scope of the variable 'err' can be reduced. [drivers/net/enic/base/vnic_rq.h:115]: (style) The scope of the variable 'err' can be reduced. [drivers/net/enic/base/vnic_rss.c:12]: (style) The scope of the variable 'p' can be reduced. [drivers/net/enic/base/vnic_rss.c:13]: (style) The scope of the variable 'q' can be reduced. [drivers/net/enic/enic_ethdev.c:752]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/enic/enic_ethdev.c:752]: (style) The scope of the variable 'shift' can be reduced. [drivers/net/enic/enic_ethdev.c:779]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/enic/enic_ethdev.c:779]: (style) The scope of the variable 'shift' can be reduced. [drivers/net/enic/enic_ethdev.c:990]: (style) Checking if unsigned variable 'fw_size' is less than zero. [drivers/net/enic/enic_flow.c:1164]: (style) The scope of the variable 'mbyte' can be reduced. [drivers/net/enic/enic_flow.c:1624]: (style) The scope of the variable 'flow' can be reduced. [drivers/net/enic/enic_flow.c:258] -> [drivers/net/enic/enic_flow.c:1302]: (style) Local variable enic_filter_cap shadows outer variable [drivers/net/enic/enic_flow.c:302] -> [drivers/net/enic/enic_flow.c:1303]: (style) Local variable enic_action_cap shadows outer variable [drivers/net/enic/enic_main.c:205]: (style) The scope of the variable 'data_rq' can be reduced. [drivers/net/enic/enic_main.c:278]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/enic/enic_main.c:554]: (style) The scope of the variable 'p' can be reduced. [drivers/net/enic/enic_main.c:654]: (style) The scope of the variable 'err' can be reduced. [drivers/net/enic/enic_main.c:1211]: (style) The scope of the variable 'i' can be reduced. [drivers/net/enic/enic_rxtx.c:54]: (style) The scope of the variable 'rq_idx' can be reduced. [drivers/net/enic/enic_rxtx.c:55]: (style) The scope of the variable 'rq_num' can be reduced. [drivers/net/enic/enic_rxtx.c:62]: (style) The scope of the variable 'seg_length' can be reduced. [drivers/net/enic/enic_rxtx.c:334]: (style) The scope of the variable 'buf' can be reduced. [drivers/net/enic/enic_rxtx.c:389]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/enic/enic_rxtx.c:391]: (style) The scope of the variable 'ol_flags' can be reduced. [drivers/net/enic/enic_rxtx.c:595]: (style) The scope of the variable 'mss' can be reduced. [drivers/net/failsafe/failsafe.c:319]: (style) The scope of the variable 'eth_dev' can be reduced. [drivers/net/failsafe/failsafe_args.c:145] -> [drivers/net/failsafe/failsafe_args.c:188]: (style) Variable 'err' is reassigned a value before the old one has been used. [drivers/net/failsafe/failsafe_args.c:262]: (style) The scope of the variable 'b' can be reduced. [drivers/net/failsafe/failsafe_eal.c:143]: (style) The scope of the variable 'sdev_ret' can be reduced. [drivers/net/failsafe/failsafe_ether.c:292] -> [drivers/net/failsafe/failsafe_ether.c:296]: (warning) Variable 'sdev->state' is reassigned a value before the old one has been used. 'break;' missing? [drivers/net/failsafe/failsafe_ether.c:54]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_ether.c:78]: (style) The scope of the variable 'flow' can be reduced. [drivers/net/failsafe/failsafe_ether.c:388]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/failsafe/failsafe_ether.c:429]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/failsafe/failsafe_ether.c:80] -> [drivers/net/failsafe/failsafe_ether.c:205]: (style) Local variable i shadows outer variable [drivers/net/failsafe/failsafe_flow.c:73]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_flow.c:170]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_intr.c:61]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/failsafe/failsafe_intr.c:125]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_intr.c:273]: (style) The scope of the variable 'fsrxq' can be reduced. [drivers/net/failsafe/failsafe_intr.c:274]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/failsafe/failsafe_intr.c:125] -> [drivers/net/failsafe/failsafe_intr.c:166]: (style) Local variable ret shadows outer variable [drivers/net/failsafe/failsafe_ops.c:178]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/failsafe/failsafe_ops.c:179]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/failsafe/failsafe_ops.c:277]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_ops.c:299]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_ops.c:343]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_ops.c:371]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_ops.c:396]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_ops.c:424]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_ops.c:786]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_ops.c:981]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_ops.c:1003]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_ops.c:1049]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_ops.c:1090]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_ops.c:1118]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_ops.c:1191]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_ops.c:1218]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/failsafe/failsafe_rxtx.c:100]: (style) The scope of the variable 'sub_rxq' can be reduced. [drivers/net/fm10k/base/fm10k_mbx.c:385] -> [drivers/net/fm10k/base/fm10k_mbx.c:391]: (style) Variable 'head' is reassigned a value before the old one has been used. [drivers/net/fm10k/base/fm10k_mbx.c:476] -> [drivers/net/fm10k/base/fm10k_mbx.c:479]: (style) Variable 'tail' is reassigned a value before the old one has been used. [drivers/net/fm10k/base/fm10k_mbx.c:332]: (style) The scope of the variable 'msg' can be reduced. [drivers/net/fm10k/base/fm10k_mbx.c:745]: (style) The scope of the variable 'err' can be reduced. [drivers/net/fm10k/base/fm10k_mbx.c:1104]: (style) The scope of the variable 'len' can be reduced. [drivers/net/fm10k/base/fm10k_mbx.c:1993]: (style) The scope of the variable 'msg' can be reduced. [drivers/net/fm10k/base/fm10k_pf.c:1662] -> [drivers/net/fm10k/base/fm10k_pf.c:1663]: (style) Variable 'fault->address' is reassigned a value before the old one has been used. [drivers/net/fm10k/base/fm10k_pf.c:249]: (style) The scope of the variable 'vlan_table' can be reduced. [drivers/net/fm10k/base/fm10k_pf.c:249]: (style) The scope of the variable 'mask' can be reduced. [drivers/net/fm10k/base/fm10k_pf.c:687]: (style) The scope of the variable 'vf_q_idx0' can be reduced. [drivers/net/fm10k/base/fm10k_pf.c:1175]: (style) The scope of the variable 'msg' can be reduced. [drivers/net/fm10k/base/fm10k_pf.c:1429]: (style) The scope of the variable 'result' can be reduced. [drivers/net/fm10k/base/fm10k_pf.c:2004]: (style) Variable 'systime_adjust' is assigned a value that is never used. [drivers/net/fm10k/base/fm10k_tlv.c:529]: (style) The scope of the variable 'attr_id' can be reduced. [drivers/net/fm10k/base/fm10k_tlv.c:530]: (style) The scope of the variable 'err' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:289]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [drivers/net/fm10k/fm10k_ethdev.c:378]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [drivers/net/fm10k/fm10k.h:299]: (style) The scope of the variable 'boundary1' can be reduced. [drivers/net/fm10k/fm10k.h:299]: (style) The scope of the variable 'boundary2' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:201]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:504]: (style) The scope of the variable 'rss_intel_key' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:632]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:634]: (style) The scope of the variable 'base_addr' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:635]: (style) The scope of the variable 'size' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:693]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:695]: (style) The scope of the variable 'base_addr' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:696]: (style) The scope of the variable 'size' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:699]: (style) The scope of the variable 'buf_size' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:1239]: (style) The scope of the variable 'i' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:1239]: (style) The scope of the variable 'q' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:1240]: (style) The scope of the variable 'count' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:2101]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:2101]: (style) The scope of the variable 'shift' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:2102]: (style) The scope of the variable 'mask' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:2150]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:2150]: (style) The scope of the variable 'shift' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:2151]: (style) The scope of the variable 'mask' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:2194]: (style) The scope of the variable 'i' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:2237]: (style) The scope of the variable 'i' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:2401]: (style) The scope of the variable 'vec' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:2402]: (style) The scope of the variable 'queue_id' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:2569]: (style) The scope of the variable 'status' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:2572]: (style) The scope of the variable 'status_mbx' can be reduced. [drivers/net/fm10k/fm10k_ethdev.c:2697]: (style) The scope of the variable 'status_mbx' can be reduced. [drivers/net/fm10k/fm10k_rxtx.c:108]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/fm10k/fm10k_rxtx.c:221]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/fm10k/fm10k_rxtx.c:483]: (style) The scope of the variable 'nb_free' can be reduced. [drivers/net/fm10k/fm10k_rxtx.c:554]: (style) The scope of the variable 'hdrlen' can be reduced. [drivers/net/fm10k/fm10k_rxtx.c:631]: (style) The scope of the variable 'mb' can be reduced. [drivers/net/fm10k/fm10k_rxtx.c:666]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/fm10k/fm10k_rxtx.c:667]: (style) The scope of the variable 'm' can be reduced. [drivers/net/fm10k/fm10k_rxtx_vec.c:377]: (style) The scope of the variable 'var' can be reduced. [drivers/net/fm10k/fm10k_rxtx_vec.c:734]: (style) The scope of the variable 'nb_free' can be reduced. [drivers/net/fm10k/fm10k_rxtx_vec.c:803]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/base/i40e_adminq.c:1078]: (error) Uninitialized variable: ntu [drivers/net/i40e/base/i40e_common.c:310]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/base/i40e_common.c:7512]: (style) The scope of the variable 'resp' can be reduced. [drivers/net/i40e/base/i40e_common.c:7584]: (style) The scope of the variable 'segment' can be reduced. [drivers/net/i40e/base/i40e_common.c:7628]: (style) The scope of the variable 'sec' can be reduced. [drivers/net/i40e/base/i40e_common.c:7630]: (style) The scope of the variable 'sec_off' can be reduced. [drivers/net/i40e/base/i40e_common.c:7709]: (style) The scope of the variable 'vendor_dev_id' can be reduced. [drivers/net/i40e/base/i40e_common.c:7711]: (style) The scope of the variable 'sec_off' can be reduced. [drivers/net/i40e/base/i40e_common.c:7777]: (style) The scope of the variable 'sec_off' can be reduced. [drivers/net/i40e/base/i40e_common.c:7839]: (style) The scope of the variable 'sec_off' can be reduced. [drivers/net/i40e/base/i40e_common.c:3715]: (style) The scope of the variable 'number' can be reduced. [drivers/net/i40e/base/i40e_common.c:3715]: (style) The scope of the variable 'logical_id' can be reduced. [drivers/net/i40e/base/i40e_common.c:3715]: (style) The scope of the variable 'phys_id' can be reduced. [drivers/net/i40e/base/i40e_common.c:3718]: (style) The scope of the variable 'id' can be reduced. [drivers/net/i40e/base/i40e_common.c:3719]: (style) The scope of the variable 'major_rev' can be reduced. [drivers/net/i40e/base/i40e_common.c:5771]: (style) The scope of the variable 'ti' can be reduced. [drivers/net/i40e/base/i40e_common.c:5858]: (style) The scope of the variable 'ti' can be reduced. [drivers/net/i40e/base/i40e_common.c:5954]: (style) The scope of the variable 'ti' can be reduced. [drivers/net/i40e/base/i40e_common.c:6856]: (style) The scope of the variable 'phy_addr' can be reduced. [drivers/net/i40e/base/i40e_common.c:6885]: (style) The scope of the variable 'phy_addr' can be reduced. [drivers/net/i40e/base/i40e_dcb.c:880] -> [drivers/net/i40e/base/i40e_dcb.c:890]: (warning) Identical condition 'ret', second condition is always false [drivers/net/i40e/base/i40e_dcb.c:917] -> [drivers/net/i40e/base/i40e_dcb.c:920]: (warning) Identical condition 'ret', second condition is always false [drivers/net/i40e/base/i40e_dcb.c:1206] -> [drivers/net/i40e/base/i40e_dcb.c:1207]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/net/i40e/base/i40e_dcb.c:43]: (style) The scope of the variable 'priority' can be reduced. [drivers/net/i40e/base/i40e_dcb.c:113]: (style) The scope of the variable 'priority' can be reduced. [drivers/net/i40e/base/i40e_dcb.c:285]: (style) The scope of the variable 'priority' can be reduced. [drivers/net/i40e/base/i40e_dcb.c:414]: (style) The scope of the variable 'sublen' can be reduced. [drivers/net/i40e/base/i40e_dcb.c:505]: (style) The scope of the variable 'type' can be reduced. [drivers/net/i40e/base/i40e_dcb.c:506]: (style) The scope of the variable 'length' can be reduced. [drivers/net/i40e/base/i40e_dcb.c:507]: (style) The scope of the variable 'typelength' can be reduced. [drivers/net/i40e/base/i40e_dcb.c:595]: (style) The scope of the variable 'tc' can be reduced. [drivers/net/i40e/base/i40e_dcb.c:676]: (style) The scope of the variable 'tc' can be reduced. [drivers/net/i40e/base/i40e_dcb.c:933]: (style) The scope of the variable 'priority0' can be reduced. [drivers/net/i40e/base/i40e_dcb.c:933]: (style) The scope of the variable 'priority1' can be reduced. [drivers/net/i40e/base/i40e_dcb.c:1010]: (style) The scope of the variable 'priority0' can be reduced. [drivers/net/i40e/base/i40e_dcb.c:1010]: (style) The scope of the variable 'priority1' can be reduced. [drivers/net/i40e/base/i40e_dcb.c:1111]: (style) The scope of the variable 'priority' can be reduced. [drivers/net/i40e/base/i40e_dcb.c:1111]: (style) The scope of the variable 'selector' can be reduced. [drivers/net/i40e/base/i40e_dcb.c:1223]: (style) The scope of the variable 'length' can be reduced. [drivers/net/i40e/base/i40e_dcb.c:1226]: (style) The scope of the variable 'typelength' can be reduced. [drivers/net/i40e/base/i40e_diag.c:36]: (style) The scope of the variable 'pat' can be reduced. [drivers/net/i40e/base/i40e_diag.c:83]: (style) The scope of the variable 'mask' can be reduced. [drivers/net/i40e/base/i40e_nvm.c:388] -> [drivers/net/i40e/base/i40e_nvm.c:401]: (style) Variable 'read_size' is reassigned a value before the old one has been used. [drivers/net/i40e/base/i40e_nvm.c:150]: (style) The scope of the variable 'srctl' can be reduced. [drivers/net/i40e/base/i40e_nvm.c:355]: (style) The scope of the variable 'index' can be reduced. [drivers/net/i40e/i40e_ethdev.c:6197]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses. [drivers/net/i40e/i40e_ethdev.c:11466]: (style) Redundant condition: ret!=I40E_SUCCESS. 'A || (!A && B)' is equivalent to 'A || B' [drivers/net/i40e/i40e_ethdev.c:11897] -> [drivers/net/i40e/i40e_ethdev.c:11893]: (warning) Either the condition '!info' is redundant or there is possible null pointer dereference: info. [drivers/net/i40e/i40e_ethdev.c:5875] -> [drivers/net/i40e/i40e_ethdev.c:5879]: (style) Variable 'i' is reassigned a value before the old one has been used. [drivers/net/i40e/i40e_ethdev.c:8630] -> [drivers/net/i40e/i40e_ethdev.c:8650]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/net/i40e/i40e_ethdev.c:12559] -> [drivers/net/i40e/i40e_ethdev.c:12596]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/net/i40e/i40e_ethdev.c:1914]: (style) The scope of the variable 'val' can be reduced. [drivers/net/i40e/i40e_ethdev.c:1958]: (style) The scope of the variable 'reg' can be reduced. [drivers/net/i40e/i40e_ethdev.c:2058]: (style) The scope of the variable 'msix_intr' can be reduced. [drivers/net/i40e/i40e_ethdev.c:2058]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/i40e_ethdev.c:2085]: (style) The scope of the variable 'msix_intr' can be reduced. [drivers/net/i40e/i40e_ethdev.c:2085]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/i40e_ethdev.c:2471]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/i40e/i40e_ethdev.c:2727]: (style) The scope of the variable 'status' can be reduced. [drivers/net/i40e/i40e_ethdev.c:3177]: (style) The scope of the variable 'vsi' can be reduced. [drivers/net/i40e/i40e_ethdev.c:3871]: (style) The scope of the variable 'mflcn_reg' can be reduced. [drivers/net/i40e/i40e_ethdev.c:3871]: (style) The scope of the variable 'fctrl_reg' can be reduced. [drivers/net/i40e/i40e_ethdev.c:3871]: (style) The scope of the variable 'reg' can be reduced. [drivers/net/i40e/i40e_ethdev.c:3873]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/i40e_ethdev.c:4204]: (style) The scope of the variable 'reg' can be reduced. [drivers/net/i40e/i40e_ethdev.c:4205]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/i40e/i40e_ethdev.c:4242]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/i40e/i40e_ethdev.c:5139]: (style) The scope of the variable 'vsi' can be reduced. [drivers/net/i40e/i40e_ethdev.c:6165]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/i40e/i40e_ethdev.c:6243]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/i40e/i40e_ethdev.c:6299]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/i40e/i40e_ethdev.c:6323]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/i40e/i40e_ethdev.c:6548]: (style) The scope of the variable 'abs_vf_id' can be reduced. [drivers/net/i40e/i40e_ethdev.c:6549]: (style) The scope of the variable 'index' can be reduced. [drivers/net/i40e/i40e_ethdev.c:6549]: (style) The scope of the variable 'offset' can be reduced. [drivers/net/i40e/i40e_ethdev.c:6549]: (style) The scope of the variable 'val' can be reduced. [drivers/net/i40e/i40e_ethdev.c:6596]: (style) The scope of the variable 'opcode' can be reduced. [drivers/net/i40e/i40e_ethdev.c:6597]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/i40e/i40e_ethdev.c:7433]: (style) The scope of the variable 'reg' can be reduced. [drivers/net/i40e/i40e_ethdev.c:7434]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/i40e/i40e_ethdev.c:7664]: (style) The scope of the variable 'ipv4_addr' can be reduced. [drivers/net/i40e/i40e_ethdev.c:7665]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/i40e_ethdev.c:7674]: (style) The scope of the variable 'tunnel' can be reduced. [drivers/net/i40e/i40e_ethdev.c:8105]: (style) The scope of the variable 'ipv4_addr' can be reduced. [drivers/net/i40e/i40e_ethdev.c:8106]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/i40e_ethdev.c:8116]: (style) The scope of the variable 'tunnel' can be reduced. [drivers/net/i40e/i40e_ethdev.c:8515]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/i40e/i40e_ethdev.c:8535]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/i40e_ethdev.c:8535]: (style) The scope of the variable 'lut' can be reduced. [drivers/net/i40e/i40e_ethdev.c:8536]: (style) The scope of the variable 'j' can be reduced. [drivers/net/i40e/i40e_ethdev.c:9561]: (style) The scope of the variable 'flow_type' can be reduced. [drivers/net/i40e/i40e_ethdev.c:9711]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/i40e_ethdev.c:9965]: (style) The scope of the variable 'ethertype_filter' can be reduced. [drivers/net/i40e/i40e_ethdev.c:10200]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/i40e_ethdev.c:10201]: (style) The scope of the variable 'pctype_mask' can be reduced. [drivers/net/i40e/i40e_ethdev.c:10745]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/i40e/i40e_ethdev.c:11349]: (style) The scope of the variable 'vsi_list' can be reduced. [drivers/net/i40e/i40e_ethdev.c:11352]: (style) The scope of the variable 'val' can be reduced. [drivers/net/i40e/i40e_ethdev.c:11443]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/i40e_ethdev.c:12019]: (style) The scope of the variable 'flags' can be reduced. [drivers/net/i40e/i40e_ethdev.c:12154]: (style) The scope of the variable 'pctype_value' can be reduced. [drivers/net/i40e/i40e_ethdev.c:12255]: (style) The scope of the variable 'in_tunnel' can be reduced. [drivers/net/i40e/i40e_ethdev.c:4015]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/i40e/i40e_ethdev.c:8763]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/i40e/i40e_ethdev.c:7386]: (style) Same value in both branches of ternary operator. [drivers/net/i40e/i40e_ethdev_vf.c:727]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/i40e/i40e_ethdev_vf.c:728]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/i40e/i40e_ethdev_vf.c:968]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/i40e_ethdev_vf.c:1129]: (style) The scope of the variable 'reset' can be reduced. [drivers/net/i40e/i40e_ethdev_vf.c:1353]: (style) The scope of the variable 'aq_opc' can be reduced. [drivers/net/i40e/i40e_ethdev_vf.c:1356]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/i40e/i40e_ethdev_vf.c:1929]: (style) The scope of the variable 'j' can be reduced. [drivers/net/i40e/i40e_ethdev_vf.c:1932]: (style) The scope of the variable 'len' can be reduced. [drivers/net/i40e/i40e_ethdev_vf.c:2356]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/i40e/i40e_ethdev_vf.c:2384]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/i40e/i40e_ethdev_vf.c:2530]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/i40e/i40e_fdir.c:311]: (style) The scope of the variable 'index' can be reduced. [drivers/net/i40e/i40e_fdir.c:312]: (style) The scope of the variable 'flow_type' can be reduced. [drivers/net/i40e/i40e_fdir.c:366]: (style) The scope of the variable 'src_tmp' can be reduced. [drivers/net/i40e/i40e_fdir.c:366]: (style) The scope of the variable 'size' can be reduced. [drivers/net/i40e/i40e_fdir.c:437]: (style) The scope of the variable 'flex_cfg' can be reduced. [drivers/net/i40e/i40e_fdir.c:438]: (style) The scope of the variable 'flex_mask' can be reduced. [drivers/net/i40e/i40e_fdir.c:440]: (style) The scope of the variable 'nb_bitmask' can be reduced. [drivers/net/i40e/i40e_fdir.c:442]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/i40e/i40e_fdir.c:507]: (style) The scope of the variable 'flx_ort' can be reduced. [drivers/net/i40e/i40e_fdir.c:573]: (style) The scope of the variable 'fd_mask' can be reduced. [drivers/net/i40e/i40e_fdir.c:574]: (style) The scope of the variable 'mask_tmp' can be reduced. [drivers/net/i40e/i40e_fdir.c:622]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/i40e_fdir.c:686]: (style) The scope of the variable 'vlan_frame' can be reduced. [drivers/net/i40e/i40e_fdir.c:805]: (style) The scope of the variable 'size' can be reduced. [drivers/net/i40e/i40e_fdir.c:806]: (style) The scope of the variable 'pit_idx' can be reduced. [drivers/net/i40e/i40e_fdir.c:942]: (style) The scope of the variable 'cus_pctype' can be reduced. [drivers/net/i40e/i40e_fdir.c:960]: (style) The scope of the variable 'vlan_frame' can be reduced. [drivers/net/i40e/i40e_fdir.c:1098]: (style) The scope of the variable 'size' can be reduced. [drivers/net/i40e/i40e_fdir.c:1099]: (style) The scope of the variable 'pit_idx' can be reduced. [drivers/net/i40e/i40e_fdir.c:1316]: (style) The scope of the variable 'len' can be reduced. [drivers/net/i40e/i40e_fdir.c:1316]: (style) The scope of the variable 'id' can be reduced. [drivers/net/i40e/i40e_fdir.c:1317]: (style) The scope of the variable 'error' can be reduced. [drivers/net/i40e/i40e_fdir.c:1537]: (style) The scope of the variable 'fdir_filter' can be reduced. [drivers/net/i40e/i40e_fdir.c:1901]: (style) The scope of the variable 'reg' can be reduced. [drivers/net/i40e/i40e_fdir.c:1975]: (style) The scope of the variable 'flow_type' can be reduced. [drivers/net/i40e/i40e_flow.c:2129] -> [drivers/net/i40e/i40e_flow.c:2134]: (warning) Identical condition 'ret', second condition is always false [drivers/net/i40e/i40e_flow.c:3491] -> [drivers/net/i40e/i40e_flow.c:3496]: (warning) Identical condition 'ret', second condition is always false [drivers/net/i40e/i40e_flow.c:3743] -> [drivers/net/i40e/i40e_flow.c:3748]: (warning) Identical condition 'ret', second condition is always false [drivers/net/i40e/i40e_flow.c:3900] -> [drivers/net/i40e/i40e_flow.c:3905]: (warning) Identical condition 'ret', second condition is always false [drivers/net/i40e/i40e_flow.c:4040] -> [drivers/net/i40e/i40e_flow.c:4045]: (warning) Identical condition 'ret', second condition is always false [drivers/net/i40e/i40e_flow.c:4163] -> [drivers/net/i40e/i40e_flow.c:4168]: (warning) Identical condition 'ret', second condition is always false [drivers/net/i40e/i40e_flow.c:4994] -> [drivers/net/i40e/i40e_flow.c:4996]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/net/i40e/i40e_flow.c:1833]: (style) The scope of the variable 'cpy_count' can be reduced. [drivers/net/i40e/i40e_flow.c:2215]: (style) The scope of the variable 'mask_tmp' can be reduced. [drivers/net/i40e/i40e_flow.c:2256]: (style) The scope of the variable 'flx_ort' can be reduced. [drivers/net/i40e/i40e_flow.c:2298]: (style) The scope of the variable 'fd_mask' can be reduced. [drivers/net/i40e/i40e_flow.c:2461]: (style) The scope of the variable 'cfg_flex_msk' can be reduced. [drivers/net/i40e/i40e_flow.c:4274]: (style) The scope of the variable 'hf_bit' can be reduced. [drivers/net/i40e/i40e_flow.c:4899]: (style) The scope of the variable 'flow' can be reduced. [drivers/net/i40e/i40e_flow.c:4900]: (style) The scope of the variable 'temp' can be reduced. [drivers/net/i40e/i40e_pf.c:99]: (style) The scope of the variable 'vf_msix_num' can be reduced. [drivers/net/i40e/i40e_pf.c:1253]: (style) Checking if unsigned variable 'req_pairs' is less than zero. [drivers/net/i40e/i40e_rxtx.c:661]: (style) The scope of the variable 'rxdp' can be reduced. [drivers/net/i40e/i40e_rxtx.c:669]: (style) The scope of the variable 'rx_status' can be reduced. [drivers/net/i40e/i40e_rxtx.c:670]: (style) The scope of the variable 'qword1' can be reduced. [drivers/net/i40e/i40e_rxtx.c:671]: (style) The scope of the variable 'rx_packet_len' can be reduced. [drivers/net/i40e/i40e_rxtx.c:673]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/i40e/i40e_rxtx.c:674]: (style) The scope of the variable 'pkt_flags' can be reduced. [drivers/net/i40e/i40e_rxtx.c:785]: (style) The scope of the variable 'rxdp' can be reduced. [drivers/net/i40e/i40e_rxtx.c:793]: (style) The scope of the variable 'rx_packet_len' can be reduced. [drivers/net/i40e/i40e_rxtx.c:795]: (style) The scope of the variable 'rx_status' can be reduced. [drivers/net/i40e/i40e_rxtx.c:796]: (style) The scope of the variable 'qword1' can be reduced. [drivers/net/i40e/i40e_rxtx.c:797]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/i40e/i40e_rxtx.c:1269]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/i40e/i40e_rxtx.c:1437]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/i40e/i40e_rxtx.c:1438]: (style) The scope of the variable 'ol_flags' can be reduced. [drivers/net/i40e/i40e_rxtx.c:1789]: (style) The scope of the variable 'q_offset' can be reduced. [drivers/net/i40e/i40e_rxtx.c:1789]: (style) The scope of the variable 'use_def_burst_func' can be reduced. [drivers/net/i40e/i40e_rxtx.c:2127]: (style) The scope of the variable 'q_offset' can be reduced. [drivers/net/i40e/i40e_rxtx.c:2551]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/i40e/i40e_rxtx.c:2954]: (style) The scope of the variable 'rx_using_sse' can be reduced. [drivers/net/i40e/i40e_rxtx.c:3079]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/i40e_rxtx.c:117]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/i40e/i40e_rxtx.c:532]: (style) The scope of the variable 'mb' can be reduced. [drivers/net/i40e/i40e_rxtx.c:534]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/i40e/i40e_rxtx.c:582]: (style) The scope of the variable 'dev' can be reduced. [drivers/net/i40e/i40e_rxtx.c:627]: (style) The scope of the variable 'n' can be reduced. [drivers/net/i40e/i40e_rxtx.c:627]: (style) The scope of the variable 'count' can be reduced. [drivers/net/i40e/i40e_rxtx_vec_common.h:82]: (style) The scope of the variable 'nb_free' can be reduced. [drivers/net/i40e/i40e_rxtx_vec_common.h:201]: (style) The scope of the variable 'first_queue' can be reduced. [drivers/net/i40e/i40e_rxtx_vec_altivec.c:233]: (style) The scope of the variable 'var' can be reduced. [drivers/net/i40e/i40e_rxtx_vec_altivec.c:565]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/i40e_rxtx_vec_neon.c:30]: (style) The scope of the variable 'paddr' can be reduced. [drivers/net/i40e/i40e_rxtx_vec_neon.c:178]: (style) The scope of the variable 'ptype' can be reduced. [drivers/net/i40e/i40e_rxtx_vec_neon.c:518]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/i40e_rxtx_vec_sse.c:223]: (style) The scope of the variable 'var' can be reduced. [drivers/net/i40e/i40e_rxtx_vec_sse.c:547]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/i40e_tm.c:457]: (style) The scope of the variable 'tc_nb' can be reduced. [drivers/net/i40e/rte_pmd_i40e.c:2534] -> [drivers/net/i40e/rte_pmd_i40e.c:2575]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/net/i40e/rte_pmd_i40e.c:2819] -> [drivers/net/i40e/rte_pmd_i40e.c:2878]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/net/i40e/rte_pmd_i40e.c:212]: (style) The scope of the variable 'vlan_num' can be reduced. [drivers/net/i40e/rte_pmd_i40e.c:1047]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/rte_pmd_i40e.c:1773]: (style) The scope of the variable 'tlv' can be reduced. [drivers/net/i40e/rte_pmd_i40e.c:1793]: (style) The scope of the variable 'ret_size' can be reduced. [drivers/net/i40e/rte_pmd_i40e.c:2063]: (style) The scope of the variable 'tlv' can be reduced. [drivers/net/i40e/rte_pmd_i40e.c:2497]: (style) The scope of the variable 'mac' can be reduced. [drivers/net/i40e/rte_pmd_i40e.c:2529]: (style) The scope of the variable 'queue_offset' can be reduced. [drivers/net/i40e/rte_pmd_i40e.c:2529]: (style) The scope of the variable 'bsf' can be reduced. [drivers/net/i40e/rte_pmd_i40e.c:2529]: (style) The scope of the variable 'tc_index' can be reduced. [drivers/net/ice/base/ice_common.c:1976]: (style) The scope of the variable 'cbuf_len' can be reduced. [drivers/net/ice/base/ice_common.c:2241]: (style) The scope of the variable 'pt_high' can be reduced. [drivers/net/ice/base/ice_common.c:2242]: (style) The scope of the variable 'pt_low' can be reduced. [drivers/net/ice/base/ice_common.c:455]: (style) Unused variable: v_tmp_map [drivers/net/ice/base/ice_common.c:469]: (style) Unused variable: tmp_entry [drivers/net/ice/base/ice_common.c:482]: (style) Unused variable: tmp_entry [drivers/net/ice/base/ice_flex_pipe.c:2443]: (style) The scope of the variable 'off' can be reduced. [drivers/net/ice/base/ice_flex_pipe.c:2271]: (style) Unused variable: dtmp [drivers/net/ice/base/ice_flex_pipe.c:3045]: (style) Unused variable: tmp [drivers/net/ice/base/ice_flex_pipe.c:3056]: (style) Unused variable: t [drivers/net/ice/base/ice_flex_pipe.c:3079]: (style) Unused variable: tmp [drivers/net/ice/base/ice_flex_pipe.c:4083]: (style) Unused variable: t [drivers/net/ice/base/ice_flex_pipe.c:4885]: (style) Unused variable: tmp [drivers/net/ice/base/ice_flow.c:1603]: (style) The scope of the variable 'i' can be reduced. [drivers/net/ice/base/ice_flow.c:1698]: (style) Unused variable: tmp [drivers/net/ice/base/ice_flow.c:1764]: (style) Unused variable: tmp [drivers/net/ice/base/ice_sched.c:1739] -> [drivers/net/ice/base/ice_sched.c:1743]: (warning) Identical condition 'status', second condition is always false [drivers/net/ice/base/ice_sched.c:3688] -> [drivers/net/ice/base/ice_sched.c:3694]: (warning) Identical condition 'status', second condition is always false [drivers/net/ice/base/ice_sched.c:3774] -> [drivers/net/ice/base/ice_sched.c:3784]: (warning) Identical condition 'status', second condition is always false [drivers/net/ice/base/ice_sched.c:846]: (style) The scope of the variable 'teid' can be reduced. [drivers/net/ice/base/ice_sched.c:940]: (style) The scope of the variable 'new_num_nodes' can be reduced. [drivers/net/ice/base/ice_sched.c:3152]: (style) The scope of the variable 'wakeup_a' can be reduced. [drivers/net/ice/base/ice_sched.c:3152]: (style) The scope of the variable 'wakeup_b' can be reduced. [drivers/net/ice/base/ice_sched.c:3152]: (style) The scope of the variable 'wakeup_f' can be reduced. [drivers/net/ice/base/ice_sched.c:3196]: (style) The scope of the variable 'ts_rate' can be reduced. [drivers/net/ice/base/ice_sched.c:4703]: (style) The scope of the variable 'i' can be reduced. [drivers/net/ice/base/ice_sched.c:3215]: (style) Checking if unsigned variable 'ts_rate' is less than zero. [drivers/net/ice/base/ice_sched.c:685]: (style) Unused variable: rl_prof_tmp [drivers/net/ice/base/ice_sched.c:716]: (style) Unused variable: atmp [drivers/net/ice/base/ice_sched.c:722]: (style) Unused variable: vtmp [drivers/net/ice/base/ice_sched.c:1839]: (style) Unused variable: atmp [drivers/net/ice/base/ice_sched.c:1845]: (style) Unused variable: vtmp [drivers/net/ice/base/ice_sched.c:3380]: (style) Unused variable: rl_prof_tmp [drivers/net/ice/base/ice_switch.c:351] -> [drivers/net/ice/base/ice_switch.c:372]: (warning) Identical condition 'status', second condition is always false [drivers/net/ice/base/ice_switch.c:2026]: (style) Unused variable: tmp [drivers/net/ice/base/ice_switch.c:2142]: (style) Unused variable: tmp [drivers/net/ice/base/ice_switch.c:2170]: (style) Unused variable: tmp [drivers/net/ice/base/ice_switch.c:2199]: (style) Unused variable: tmp [drivers/net/ice/base/ice_switch.c:2364]: (style) Unused variable: tmp [drivers/net/ice/ice_ethdev.c:1389]: (style) The scope of the variable 'msix_intr' can be reduced. [drivers/net/ice/ice_ethdev.c:1567]: (style) The scope of the variable 'val' can be reduced. [drivers/net/ice/ice_ethdev.c:1567]: (style) The scope of the variable 'val_tx' can be reduced. [drivers/net/ice/ice_ethdev.c:1646]: (style) The scope of the variable 'msix_intr' can be reduced. [drivers/net/ice/ice_ethdev.c:1646]: (style) The scope of the variable 'i' can be reduced. [drivers/net/ice/ice_ethdev.c:1672]: (style) The scope of the variable 'intr_vector' can be reduced. [drivers/net/ice/ice_ethdev.c:2361]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/ice/ice_ethdev.c:2389]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/ice/ice_ethdev.c:2222]: (style) Variable 'ret' is assigned a value that is never used. [drivers/net/ice/ice_ethdev.c:962]: (style) The scope of the variable 'opcode' can be reduced. [drivers/net/ice/ice_ethdev.c:963]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/ice/ice_rxtx.c:132]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/ice/ice_rxtx.c:383]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/ice/ice_rxtx.c:384]: (style) The scope of the variable 'err' can be reduced. [drivers/net/ice/ice_rxtx.c:1280]: (style) The scope of the variable 'rxdp' can be reduced. [drivers/net/ice/ice_rxtx.c:1291]: (style) The scope of the variable 'rx_packet_len' can be reduced. [drivers/net/ice/ice_rxtx.c:1292]: (style) The scope of the variable 'rx_status' can be reduced. [drivers/net/ice/ice_rxtx.c:1293]: (style) The scope of the variable 'qword1' can be reduced. [drivers/net/ice/ice_rxtx.c:1294]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/ice/ice_rxtx.c:1601]: (style) The scope of the variable 'rxdp' can be reduced. [drivers/net/ice/ice_rxtx.c:1610]: (style) The scope of the variable 'rx_packet_len' can be reduced. [drivers/net/ice/ice_rxtx.c:1611]: (style) The scope of the variable 'rx_status' can be reduced. [drivers/net/ice/ice_rxtx.c:1612]: (style) The scope of the variable 'qword1' can be reduced. [drivers/net/ice/ice_rxtx.c:1613]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/ice/ice_rxtx.c:1614]: (style) The scope of the variable 'pkt_flags' can be reduced. [drivers/net/ice/ice_rxtx.c:2076]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/ice/ice_rxtx.c:2258]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/ice/ice_rxtx.c:2259]: (style) The scope of the variable 'ol_flags' can be reduced. [drivers/net/ice/ice_rxtx.c:1146]: (style) The scope of the variable 'mb' can be reduced. [drivers/net/ice/ice_rxtx.c:1148]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/ice/ice_rxtx.c:1196]: (style) The scope of the variable 'dev' can be reduced. [drivers/net/ice/ice_rxtx.c:1243]: (style) The scope of the variable 'n' can be reduced. [drivers/net/ice/ice_rxtx.c:1244]: (style) The scope of the variable 'count' can be reduced. [drivers/net/ifc/base/ifcvf.c:193]: (style) The scope of the variable 'notify_off' can be reduced. [drivers/net/ifc/base/ifcvf.c:241]: (style) The scope of the variable 'ring_state' can be reduced. [drivers/net/ifc/ifcvf_vdpa.c:138] -> [drivers/net/ifc/ifcvf_vdpa.c:144]: (style) Variable 'internal->vfio_container_fd' is reassigned a value before the old one has been used. [drivers/net/ifc/ifcvf_vdpa.c:259]: (style) The scope of the variable 'gpa' can be reduced. [drivers/net/ifc/ifcvf_vdpa.c:305]: (style) The scope of the variable 'len' can be reduced. [drivers/net/ifc/ifcvf_vdpa.c:400]: (style) The scope of the variable 'nfds' can be reduced. [drivers/net/ifc/ifcvf_vdpa.c:622]: (style) The scope of the variable 'size' can be reduced. [drivers/net/ifc/ifcvf_vdpa.c:622]: (style) The scope of the variable 'len' can be reduced. [drivers/net/ifc/ifcvf_vdpa.c:693]: (style) The scope of the variable 'nfds' can be reduced. [drivers/net/ixgbe/base/ixgbe_type.h:3627]: (error) syntax error [drivers/net/kni/rte_eth_kni.c:176]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/liquidio/base/lio_23xx_vf.c:20]: (style) The scope of the variable 'd64' can be reduced. [drivers/net/liquidio/base/lio_23xx_vf.c:77]: (style) The scope of the variable 'd64' can be reduced. [drivers/net/liquidio/base/lio_23xx_vf.c:110]: (style) The scope of the variable 'reg_val' can be reduced. [drivers/net/liquidio/base/lio_23xx_vf.c:321]: (style) The scope of the variable 'reg_val' can be reduced. [drivers/net/liquidio/base/lio_mbox.c:110]: (style) The scope of the variable 'i' can be reduced. [drivers/net/liquidio/lio_ethdev.c:297]: (style) The scope of the variable 'iq_no' can be reduced. [drivers/net/liquidio/lio_ethdev.c:297]: (style) The scope of the variable 'oq_no' can be reduced. [drivers/net/liquidio/lio_ethdev.c:348]: (style) The scope of the variable 'iq_no' can be reduced. [drivers/net/liquidio/lio_ethdev.c:348]: (style) The scope of the variable 'oq_no' can be reduced. [drivers/net/liquidio/lio_ethdev.c:1203]: (style) The scope of the variable 'oq_no' can be reduced. [drivers/net/liquidio/lio_ethdev.c:1291]: (style) The scope of the variable 'fw_mapped_iq_no' can be reduced. [drivers/net/liquidio/lio_rxtx.c:396]: (style) The scope of the variable 'pkt_len' can be reduced. [drivers/net/liquidio/lio_rxtx.c:586]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/liquidio/lio_rxtx.c:1054]: (style) The scope of the variable 'inst_processed' can be reduced. [drivers/net/liquidio/lio_rxtx.c:1124]: (style) The scope of the variable 'rdp' can be reduced. [drivers/net/liquidio/lio_rxtx.c:1307]: (style) The scope of the variable 'status' can be reduced. [drivers/net/liquidio/lio_rxtx.c:1787]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/liquidio/lio_rxtx.c:1788]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/liquidio/lio_rxtx.c:1635] -> [drivers/net/liquidio/lio_rxtx.c:1698]: (style) Local variable i shadows outer variable [drivers/net/mlx4/mlx4_flow.c:1080]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses. [drivers/net/mlx4/mlx4_flow.c:356] -> [drivers/net/mlx4/mlx4_flow.c:377]: (warning) Either the condition 'mask' is redundant or there is possible null pointer dereference: mask. [drivers/net/mlx4/mlx4_flow.c:356] -> [drivers/net/mlx4/mlx4_flow.c:378]: (warning) Either the condition 'mask' is redundant or there is possible null pointer dereference: mask. [drivers/net/mlx4/mlx4_flow.c:423] -> [drivers/net/mlx4/mlx4_flow.c:446]: (warning) Either the condition 'mask' is redundant or there is possible null pointer dereference: mask. [drivers/net/mlx4/mlx4_flow.c:423] -> [drivers/net/mlx4/mlx4_flow.c:447]: (warning) Either the condition 'mask' is redundant or there is possible null pointer dereference: mask. [drivers/net/mlx4/mlx4_flow.c:488] -> [drivers/net/mlx4/mlx4_flow.c:506]: (warning) Either the condition 'mask' is redundant or there is possible null pointer dereference: mask. [drivers/net/mlx4/mlx4_flow.c:488] -> [drivers/net/mlx4/mlx4_flow.c:507]: (warning) Either the condition 'mask' is redundant or there is possible null pointer dereference: mask. [drivers/net/mlx4/mlx4_intr.c:325] -> [drivers/net/mlx4/mlx4_intr.c:338]: (warning) Either the condition '!rxq' is redundant or there is possible null pointer dereference: rxq. [drivers/net/mlx4/mlx4_intr.c:325] -> [drivers/net/mlx4/mlx4_intr.c:339]: (warning) Either the condition '!rxq' is redundant or there is possible null pointer dereference: rxq. [drivers/net/mlx4/mlx4_mr.c:436]: (style) The scope of the variable 'mr' can be reduced. [drivers/net/mlx4/mlx4_mr.c:806]: (style) The scope of the variable 'mr' can be reduced. [drivers/net/mlx4/mlx4_rxtx.c:320]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses. [drivers/net/mlx4/mlx4_rxtx.c:1188]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses. [drivers/net/mlx4/mlx4_rxtx.c:309]: (style) The scope of the variable 'cqe' can be reduced. [drivers/net/mlx4/mlx4_utils.c:80]: (error) Pointer addition with NULL pointer. [drivers/net/mlx5/mlx5.c:838]: (style) Condition '!!swp' is always false [drivers/net/mlx5/mlx5.c:838]: (style) Condition '!swp' is always true [drivers/net/mlx5/mlx5.c:1075]: (style) Condition '!hw_padding' is always true [drivers/net/mlx5/mlx5.c:1102]: (style) Condition '!cqe_pad' is always true [drivers/net/mlx5/mlx5.c:1122]: (style) Condition '!mprq' is always true [drivers/net/mlx5/mlx5.c:786]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [drivers/net/mlx5/mlx5.c:218] -> [drivers/net/mlx5/mlx5.c:208]: (warning) Either the condition 'data!=NULL' is redundant or there is possible null pointer dereference: priv. [drivers/net/mlx5/mlx5.c:1192] -> [drivers/net/mlx5/mlx5.c:1241]: (style) Variable 'err' is reassigned a value before the old one has been used. [drivers/net/mlx5/mlx5.c:1557]: (style) The scope of the variable 'port' can be reduced. [drivers/net/mlx5/mlx5.c:252] -> [drivers/net/mlx5/mlx5.c:333]: (style) Local variable i shadows outer variable [drivers/net/mlx5/mlx5.c:759] -> [drivers/net/mlx5/mlx5.c:1006]: (style) Local variable port_id shadows outer variable [drivers/net/mlx5/mlx5_flow.c:335]: (style) The scope of the variable 'flow' can be reduced. [drivers/net/mlx5/mlx5_flow.c:428] -> [drivers/net/mlx5/mlx5_flow.c:446]: (style) Local variable i shadows outer variable [drivers/net/mlx5/mlx5_flow.c:2343]: (style) Variable 'queue' is assigned a value that is never used. [drivers/net/mlx5/mlx5_flow_dv.c:950]: (style) The scope of the variable 'len' can be reduced. [drivers/net/mlx5/mlx5_flow_dv.c:1114]: (style) The scope of the variable 'encap_data' can be reduced. [drivers/net/mlx5/mlx5_flow_dv.c:1559]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/mlx5/mlx5_flow_dv.c:1646]: (style) The scope of the variable 'tunnel' can be reduced. [drivers/net/mlx5/mlx5_flow_dv.c:3410]: (style) The scope of the variable 'dv' can be reduced. [drivers/net/mlx5/mlx5_flow_dv.c:3442]: (style) The scope of the variable 'dev_flow' can be reduced. [drivers/net/mlx5/mlx5_flow_dv.c:3487]: (style) The scope of the variable 'err' can be reduced. [drivers/net/mlx5/mlx5_flow_dv.c:3227] -> [drivers/net/mlx5/mlx5_flow_dv.c:3291]: (style) Local variable dv shadows outer variable [drivers/net/mlx5/mlx5_flow_tcf.c:3236] -> [drivers/net/mlx5/mlx5_flow_tcf.c:3268]: (warning) Variable 'nlh' is reassigned a value before the old one has been used. 'break;' missing? [drivers/net/mlx5/mlx5_flow_tcf.c:3237] -> [drivers/net/mlx5/mlx5_flow_tcf.c:3269]: (warning) Variable 'tcm' is reassigned a value before the old one has been used. 'break;' missing? [drivers/net/mlx5/mlx5_flow_tcf.c:1607]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary. [drivers/net/mlx5/mlx5_flow_tcf.c:3494]: (style) The scope of the variable 'tos6' can be reduced. [drivers/net/mlx5/mlx5_flow_tcf.c:4187]: (style) The scope of the variable 'nlh' can be reduced. [drivers/net/mlx5/mlx5_flow_tcf.c:4189]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/mlx5/mlx5_flow_tcf.c:5052]: (style) The scope of the variable 'nlh' can be reduced. [drivers/net/mlx5/mlx5_flow_tcf.c:5057]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/mlx5/mlx5_flow_tcf.c:5572]: (style) The scope of the variable 'nlh' can be reduced. [drivers/net/mlx5/mlx5_flow_tcf.c:5573]: (style) The scope of the variable 'tcm' can be reduced. [drivers/net/mlx5/mlx5_flow_tcf.c:5840]: (style) The scope of the variable 'type' can be reduced. [drivers/net/mlx5/mlx5_flow_tcf.c:1781]: (style) union member 'Anonymous22::set_ipv4' is never used. [drivers/net/mlx5/mlx5_flow_tcf.c:1782]: (style) union member 'Anonymous22::set_ipv6' is never used. [drivers/net/mlx5/mlx5_flow_tcf.c:1798]: (warning) Assert statement calls a function which may have desired side effects: 'flow_tcf_build_ptoi_table'. [drivers/net/mlx5/mlx5_flow_tcf.c:3251]: (warning) Assert statement calls a function which may have desired side effects: 'flow_tcf_build_ptoi_table'. [drivers/net/mlx5/mlx5_flow_tcf.c:1781]: (style) union member 'Anonymous20::set_ipv4' is never used. [drivers/net/mlx5/mlx5_flow_tcf.c:1782]: (style) union member 'Anonymous20::set_ipv6' is never used. [drivers/net/mlx5/mlx5_flow_verbs.c:684] -> [drivers/net/mlx5/mlx5_flow_verbs.c:682]: (warning) Either the condition '!attr' is redundant or there is pointer arithmetic with NULL pointer. [drivers/net/mlx5/mlx5_flow_verbs.c:1565]: (style) The scope of the variable 'verbs' can be reduced. [drivers/net/mlx5/mlx5_flow_verbs.c:1597]: (style) The scope of the variable 'dev_flow' can be reduced. [drivers/net/mlx5/mlx5_flow_verbs.c:1018] -> [drivers/net/mlx5/mlx5_flow_verbs.c:1031]: (style) Local variable ret shadows outer variable [drivers/net/mlx5/mlx5_mac.c:140]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/mlx5/mlx5_mac.c:215]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/mlx5/mlx5_mr.c:424]: (style) The scope of the variable 'mr' can be reduced. [drivers/net/mlx5/mlx5_mr.c:808]: (style) The scope of the variable 'mr' can be reduced. [drivers/net/mlx5/mlx5_nl.c:429]: (style) struct member 'Anonymous9::buffer' is never used. [drivers/net/mlx5/mlx5_rss.c:207]: (style) The scope of the variable 'pos' can be reduced. [drivers/net/mlx5/mlx5_rxq.c:443] -> [drivers/net/mlx5/mlx5_rxq.c:468]: (style) Variable 'rxq_ctrl' is reassigned a value before the old one has been used. [drivers/net/mlx5/mlx5_rxtx.c:224]: (style) The scope of the variable 'v' can be reduced. [drivers/net/mlx5/mlx5_rxtx.c:262]: (style) The scope of the variable 'v' can be reduced. [drivers/net/mlx5/mlx5_rxtx.c:1210]: (style) The scope of the variable 'max_wqe' can be reduced. [drivers/net/mlx5/mlx5_rxtx.c:1536]: (style) The scope of the variable 'addr' can be reduced. [drivers/net/mlx5/mlx5_rxtx.c:2180]: (style) The scope of the variable 'cqe' can be reduced. [drivers/net/mlx5/mlx5_rxtx.c:881]: (warning) Assert statement modifies 'cq_pi'. [drivers/net/mlx5/mlx5_rxtx.c:1100]: (warning) Assert statement modifies 'cq_pi'. [drivers/net/mlx5/mlx5_rxtx.c:1402]: (warning) Assert statement modifies 'cq_pi'. [drivers/net/mlx5/mlx5_rxtx.c:1693]: (warning) Assert statement modifies 'cq_pi'. [drivers/net/mlx5/mlx5_rxtx.c:629]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/mlx5/mlx5_rxtx.c:1031]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/mlx5/mlx5_rxtx.c:1266]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/mlx5/mlx5_rxtx.c:1549]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/mlx5/mlx5_rxtx_vec_neon.h:46]: (style) The scope of the variable 'addr' can be reduced. [drivers/net/mlx5/mlx5_rxtx_vec_neon.h:651] -> [drivers/net/mlx5/mlx5_rxtx_vec_neon.h:1003]: (style) Local variable n shadows outer variable [drivers/net/mlx5/mlx5_rxtx_vec_neon.h:716]: (warning) Suspicious code: sign conversion of -1 in calculation because '-1' has a negative value [drivers/net/mlx5/mlx5_rxtx_vec_neon.h:178]: (warning) Assert statement modifies 'cq_pi'. [drivers/net/mlx5/mlx5_rxtx_vec_neon.h:283]: (warning) Assert statement modifies 'cq_pi'. [drivers/net/mlx5/mlx5_rxtx_vec.c:73]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/mlx5/mlx5_rxtx_vec.c:83]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/mlx5/mlx5_rxtx_vec_sse.h:48]: (style) The scope of the variable 'addr' can be reduced. [drivers/net/mlx5/mlx5_rxtx_vec_sse.h:654] -> [drivers/net/mlx5/mlx5_rxtx_vec_sse.h:954]: (style) Local variable n shadows outer variable [drivers/net/mlx5/mlx5_rxtx_vec_sse.h:700]: (warning) Suspicious code: sign conversion of -1 in calculation because '-1' has a negative value [drivers/net/mlx5/mlx5_rxtx_vec_sse.h:179]: (warning) Assert statement modifies 'cq_pi'. [drivers/net/mlx5/mlx5_rxtx_vec_sse.h:284]: (warning) Assert statement modifies 'cq_pi'. [drivers/net/mlx5/mlx5_stats.c:153]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [drivers/net/mlx5/mlx5_stats.c:333]: (style) The scope of the variable 'i' can be reduced. [drivers/net/mlx5/mlx5_stats.c:515]: (style) The scope of the variable 'i' can be reduced. [drivers/net/mlx5/mlx5_txq.c:160] -> [drivers/net/mlx5/mlx5_txq.c:193]: (style) Variable 'txq_ctrl' is reassigned a value before the old one has been used. [drivers/net/mlx5/mlx5_vlan.c:164]: (style) The scope of the variable 'i' can be reduced. [drivers/net/mvneta/mvneta_ethdev.c:870] -> [drivers/net/mvneta/mvneta_ethdev.c:899]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/net/mvneta/mvneta_ethdev.c:588]: (style) The scope of the variable 'buf' can be reduced. [drivers/net/mvneta/mvneta_ethdev.c:623]: (style) The scope of the variable 'buf' can be reduced. [drivers/net/mvneta/mvneta_rxtx.c:182]: (style) The scope of the variable 'entry' can be reduced. [drivers/net/mvneta/mvneta_rxtx.c:389]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/mvneta/mvneta_rxtx.c:391]: (style) The scope of the variable 'addr' can be reduced. [drivers/net/mvneta/mvneta_rxtx.c:476]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/mvneta/mvneta_rxtx.c:477]: (style) The scope of the variable 'tail_first' can be reduced. [drivers/net/mvneta/mvneta_rxtx.c:479]: (style) The scope of the variable 'nb_segs' can be reduced. [drivers/net/mvneta/mvneta_rxtx.c:480]: (style) The scope of the variable 'addr' can be reduced. [drivers/net/mvneta/mvneta_rxtx.c:860]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/mvneta/mvneta_rxtx.c:911]: (style) The scope of the variable 'addr' can be reduced. [drivers/net/mvneta/mvneta_rxtx.c:311]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/mvpp2/mrvl_ethdev.c:184]: (warning) Possible null pointer dereference: buf [drivers/net/mvpp2/mrvl_ethdev.c:2896] -> [drivers/net/mvpp2/mrvl_ethdev.c:2938]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/net/mvpp2/mrvl_ethdev.c:1070]: (style) The scope of the variable 'buf' can be reduced. [drivers/net/mvpp2/mrvl_ethdev.c:1108]: (style) The scope of the variable 'buf' can be reduced. [drivers/net/mvpp2/mrvl_ethdev.c:2184]: (style) The scope of the variable 'num' can be reduced. [drivers/net/mvpp2/mrvl_ethdev.c:2269]: (style) The scope of the variable 'mbuf' can be reduced. [drivers/net/mvpp2/mrvl_ethdev.c:2455]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/mvpp2/mrvl_ethdev.c:2457]: (style) The scope of the variable 'addr' can be reduced. [drivers/net/mvpp2/mrvl_ethdev.c:2553]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/mvpp2/mrvl_ethdev.c:2554]: (style) The scope of the variable 'tail_first' can be reduced. [drivers/net/mvpp2/mrvl_ethdev.c:2556]: (style) The scope of the variable 'nb_segs' can be reduced. [drivers/net/mvpp2/mrvl_ethdev.c:2557]: (style) The scope of the variable 'addr' can be reduced. [drivers/net/mvpp2/mrvl_ethdev.c:2183] -> [drivers/net/mvpp2/mrvl_ethdev.c:2267]: (style) Local variable i shadows outer variable [drivers/net/mvpp2/mrvl_ethdev.c:2328]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/mvpp2/mrvl_flow.c:2272] -> [drivers/net/mvpp2/mrvl_flow.c:2269]: (warning) Either the condition '!mtr' is redundant or there is possible null pointer dereference: mtr. [drivers/net/mvpp2/mrvl_qos.c:598]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [drivers/net/mvpp2/mrvl_tm.c:715]: (style) The scope of the variable 'tmp' can be reduced. [drivers/net/mvpp2/mrvl_tm.c:716]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/netvsc/hn_nvs.c:232]: (style) The scope of the variable 'error' can be reduced. [drivers/net/netvsc/hn_nvs.c:368]: (style) The scope of the variable 'error' can be reduced. [drivers/net/netvsc/hn_rndis.c:467]: (warning) Possible null pointer dereference: idata [drivers/net/netvsc/hn_rndis.c:440] -> [drivers/net/netvsc/hn_rndis.c:469]: (style) Variable 'error' is reassigned a value before the old one has been used. [drivers/net/netvsc/hn_rndis.c:322]: (warning) Found calculation inside sizeof(). [drivers/net/netvsc/hn_rxtx.c:126]: (style) Condition 's>=1519' is always true [drivers/net/netvsc/hn_rxtx.c:798] -> [drivers/net/netvsc/hn_rxtx.c:828]: (style) Variable 'error' is reassigned a value before the old one has been used. [drivers/net/netvsc/hn_vf.c:502]: (style) The scope of the variable 'i' can be reduced. [drivers/net/netvsc/hn_vf.c:503]: (style) The scope of the variable 'tmp' can be reduced. [drivers/net/nfp/nfp_net.c:3533]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [drivers/net/nfp/nfp_net.c:3533]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [drivers/net/nfp/nfp_net.c:305]: (style) The scope of the variable 'new' can be reduced. [drivers/net/nfp/nfp_net.c:591]: (style) The scope of the variable 'i' can be reduced. [drivers/net/nfp/nfp_net.c:1256]: (style) The scope of the variable 'rxds' can be reduced. [drivers/net/nfp/nfp_net.c:1581]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/nfp/nfp_net.c:1836]: (style) The scope of the variable 'meta_offset' can be reduced. [drivers/net/nfp/nfp_net.c:1837]: (style) The scope of the variable 'meta_info' can be reduced. [drivers/net/nfp/nfp_net.c:1963]: (style) The scope of the variable 'dma_addr' can be reduced. [drivers/net/nfp/nfp_net.c:2353]: (style) The scope of the variable 'mask' can be reduced. [drivers/net/nfp/nfp_net.c:2355]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/nfp/nfp_net.c:2355]: (style) The scope of the variable 'shift' can be reduced. [drivers/net/nfp/nfp_net.c:2430]: (style) The scope of the variable 'mask' can be reduced. [drivers/net/nfp/nfp_net.c:2431]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/nfp/nfp_net.c:2431]: (style) The scope of the variable 'shift' can be reduced. [drivers/net/nfp/nfp_net.c:2971]: (style) The scope of the variable 'area' can be reduced. [drivers/net/nfp/nfp_net.c:3073]: (style) The scope of the variable 'area' can be reduced. [drivers/net/nfp/nfp_net.c:3237]: (style) The scope of the variable 'datafd' can be reduced. [drivers/net/nfp/nfp_net.c:3677]: (style) The scope of the variable 'port' can be reduced. [drivers/net/nfp/nfp_net.c:326]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/nfp/nfp_net.c:563]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/nfp/nfp_net.c:570]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/nfp/nfp_net.c:578]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/nfp/nfp_net.c:2930]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/nfp/nfp_net.c:2592]: (style) Variable 'rss_hf' is assigned a value that is never used. [drivers/net/nfp/nfp_net.c:2876]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c:309]: (style) The scope of the variable 'bar' can be reduced. [drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c:341]: (style) The scope of the variable 'bar' can be reduced. [drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c:364]: (style) The scope of the variable 'bar' can be reduced. [drivers/net/nfp/nfpcore/nfp_cppcore.c:573]: (style) The scope of the variable 'xpbaddr' can be reduced. [drivers/net/nfp/nfpcore/nfp_cppcore.c:676]: (warning) Redundant code: Found a statement that begins with numeric constant. [drivers/net/nfp/nfpcore/nfp_hwinfo.c:134]: (style) The scope of the variable 'db' can be reduced. [drivers/net/nfp/nfpcore/nfp_mutex.c:270]: (warning) %hd in format string (no. 1) requires 'short' but the argument type is 'unsigned short'. [drivers/net/nfp/nfpcore/nfp_mutex.c:312]: (warning) Redundant code: Found a statement that begins with numeric constant. [drivers/net/nfp/nfpcore/nfp_mutex.c:317]: (warning) Redundant code: Found a statement that begins with numeric constant. [drivers/net/nfp/nfpcore/nfp_mutex.c:367]: (warning) Redundant code: Found a statement that begins with numeric constant. [drivers/net/nfp/nfpcore/nfp_nsp.c:167]: (style) The scope of the variable 'err' can be reduced. [drivers/net/nfp/nfpcore/nfp_nsp_eth.c:370]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/net/nfp/nfpcore/nfp_resource.c:73]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/nfp/nfpcore/nfp_resource.c:41]: (style) struct member 'nfp_resource_entry_mutex::owner' is never used. [drivers/net/nfp/nfpcore/nfp_resource.c:46]: (style) struct member 'nfp_resource_entry_region::reserved' is never used. [drivers/net/octeontx/base/octeontx_pkovf.c:189]: (style) The scope of the variable 'dq_base' can be reduced. [drivers/net/octeontx/base/octeontx_pkovf.c:212]: (style) The scope of the variable 'dq' can be reduced. [drivers/net/octeontx/base/octeontx_pkovf.c:295]: (style) The scope of the variable 'dq_vf' can be reduced. [drivers/net/octeontx/base/octeontx_pkovf.c:339]: (style) The scope of the variable 'dq_vf' can be reduced. [drivers/net/octeontx/base/octeontx_pkovf.c:446]: (style) The scope of the variable 'dq_ix' can be reduced. [drivers/net/octeontx/base/octeontx_pkovf.c:447]: (style) The scope of the variable 'reg' can be reduced. [drivers/net/octeontx/base/octeontx_pkovf.c:448]: (style) The scope of the variable 'vf_bar0' can be reduced. [drivers/net/octeontx/base/octeontx_pkovf.c:196]: (style) Array index 'dq' is used before limits check. [drivers/net/octeontx/octeontx_ethdev.c:247] -> [drivers/net/octeontx/octeontx_ethdev.c:249]: (style) Variable 'dev_conf->nb_event_port_enqueue_depth' is reassigned a value before the old one has been used. [drivers/net/octeontx/octeontx_ethdev.c:688]: (style) The scope of the variable 'res' can be reduced. [drivers/net/octeontx/octeontx_ethdev.c:781]: (style) The scope of the variable 'pool' can be reduced. [drivers/net/octeontx/octeontx_ethdev.c:782]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/octeontx/octeontx_ethdev.c:783]: (style) The scope of the variable 'gaura' can be reduced. [drivers/net/octeontx/octeontx_rxtx.c:28]: (style) The scope of the variable 'res' can be reduced. [drivers/net/octeontx/octeontx_rxtx.c:52]: (style) The scope of the variable 'valid_event' can be reduced. [drivers/net/pcap/rte_eth_pcap.c:187]: (style) The scope of the variable 'packet' can be reduced. [drivers/net/pcap/rte_eth_pcap.c:191]: (style) The scope of the variable 'buf_size' can be reduced. [drivers/net/pcap/rte_eth_pcap.c:331]: (style) The scope of the variable 'mbuf' can be reduced. [drivers/net/pcap/rte_eth_pcap.c:1112] -> [drivers/net/pcap/rte_eth_pcap.c:1128]: (style) Local variable ret shadows outer variable [drivers/net/qede/base/ecore_cxt.c:934] -> [drivers/net/qede/base/ecore_cxt.c:935]: (style) Variable 'p_mngr->ilt_shadow' is reassigned a value before the old one has been used. [drivers/net/qede/base/ecore_cxt.c:1047] -> [drivers/net/qede/base/ecore_cxt.c:1048]: (style) Variable 'p_mngr->acquired[type].cid_map' is reassigned a value before the old one has been used. [drivers/net/qede/base/ecore_cxt.c:1053] -> [drivers/net/qede/base/ecore_cxt.c:1055]: (style) Variable 'p_mngr->acquired_vf[type][vf].cid_map' is reassigned a value before the old one has been used. [drivers/net/qede/base/ecore_cxt.c:339]: (style) The scope of the variable 'segs' can be reduced. [drivers/net/qede/base/ecore_cxt.c:499]: (style) The scope of the variable 'p_cli' can be reduced. [drivers/net/qede/base/ecore_cxt.c:501]: (style) The scope of the variable 'cxts_per_p' can be reduced. [drivers/net/qede/base/ecore_cxt.c:520]: (style) The scope of the variable 'task_size' can be reduced. [drivers/net/qede/base/ecore_cxt.c:1240]: (style) The scope of the variable 'p_cfg' can be reduced. [drivers/net/qede/base/ecore_cxt.c:1383]: (style) The scope of the variable 'p_seg' can be reduced. [drivers/net/qede/base/ecore_cxt.c:1180]: (error) syntax error [drivers/net/qede/base/ecore_dcbx.c:248]: (style) The scope of the variable 'priority_map' can be reduced. [drivers/net/qede/base/ecore_dcbx.c:249]: (style) The scope of the variable 'protocol_id' can be reduced. [drivers/net/qede/base/ecore_dcbx.c:441]: (style) The scope of the variable 'pri_map' can be reduced. [drivers/net/qede/base/ecore_dcbx.c:608]: (style) The scope of the variable 'pri_map' can be reduced. [drivers/net/qede/base/ecore_dcbx.c:1038]: (style) The scope of the variable 'val' can be reduced. [drivers/net/qede/base/ecore_dcbx.c:1088]: (style) The scope of the variable 'entry' can be reduced. [drivers/net/qede/base/ecore_dcbx.c:1197]: (style) The scope of the variable 'val' can be reduced. [drivers/net/qede/base/ecore_dcbx.c:423]: (style) Unused variable: val [drivers/net/qede/base/ecore_dev.c:2530]: (style) Condition 'rc' is always false [drivers/net/qede/base/ecore_dev.c:1644] -> [drivers/net/qede/base/ecore_dev.c:1645]: (style) Variable 'p_hwfn->dbg_user_info' is reassigned a value before the old one has been used. [drivers/net/qede/base/ecore_dev.c:401]: (style) The scope of the variable 'i' can be reduced. [drivers/net/qede/base/ecore_dev.c:2200]: (style) The scope of the variable 'vport' can be reduced. [drivers/net/qede/base/ecore_dev.c:2201]: (style) The scope of the variable 'port' can be reduced. [drivers/net/qede/base/ecore_dev.c:2202]: (style) The scope of the variable 'pq' can be reduced. [drivers/net/qede/base/ecore_dev.c:2779]: (style) The scope of the variable 'p_block' can be reduced. [drivers/net/qede/base/ecore_dev.c:2862]: (style) The scope of the variable 'num_pfs' can be reduced. [drivers/net/qede/base/ecore_dev.c:2862]: (style) The scope of the variable 'pf_id' can be reduced. [drivers/net/qede/base/ecore_dev.c:2863]: (style) The scope of the variable 'concrete_fid' can be reduced. [drivers/net/qede/base/ecore_dev.c:3344]: (style) The scope of the variable 'prs_reg' can be reduced. [drivers/net/qede/base/ecore_dev.c:4241]: (style) The scope of the variable 'non_l2_sbs' can be reduced. [drivers/net/qede/base/ecore_dev.c:5049]: (style) The scope of the variable 'tmp' can be reduced. [drivers/net/qede/base/ecore_dev.c:5153]: (style) The scope of the variable 'i' can be reduced. [drivers/net/qede/base/ecore_dev.c:6306]: (style) The scope of the variable 'tmp_speed' can be reduced. [drivers/net/qede/base/ecore_dev.c:5710] -> [drivers/net/qede/base/ecore_dev.c:5718]: (style) Local variable p_hwfn shadows outer variable [drivers/net/qede/base/ecore_dev.c:3346]: (style) Unused variable: ctrl [drivers/net/qede/base/ecore_dev.c:3347]: (style) Unused variable: pos [drivers/net/qede/base/ecore_dev.c:5152]: (style) The scope of the variable 'port' can be reduced. [drivers/net/qede/base/ecore_dev.c:228]: (error) syntax error [drivers/net/qede/base/ecore_hw.c:41] -> [drivers/net/qede/base/ecore_hw.c:42]: (style) Variable 'p_hwfn->p_ptt_pool' is reassigned a value before the old one has been used. [drivers/net/qede/base/ecore_hw.c:83]: (style) The scope of the variable 'p_ptt' can be reduced. [drivers/net/qede/base/ecore_hw.c:299]: (style) The scope of the variable 'dw_count' can be reduced. [drivers/net/qede/base/ecore_hw.c:299]: (style) The scope of the variable 'host_addr' can be reduced. [drivers/net/qede/base/ecore_hw.c:300]: (style) The scope of the variable 'quota' can be reduced. [drivers/net/qede/base/ecore_hw.c:301]: (style) The scope of the variable 'reg_addr' can be reduced. [drivers/net/qede/base/ecore_hw.c:817]: (style) The scope of the variable 'offset' can be reduced. [drivers/net/qede/base/ecore_hw.c:250]: (style) Variable 'prev_fifo_err' is assigned a value that is never used. [drivers/net/qede/base/ecore_hw.c:273]: (style) Variable 'prev_fifo_err' is assigned a value that is never used. [drivers/net/qede/base/ecore_hw.c:72]: (error) syntax error [drivers/net/qede/base/ecore_init_fw_funcs.c:211]: (style) Condition 'num_ext_voqs>=32' is always false [drivers/net/qede/base/ecore_init_fw_funcs.c:602]: (style) The scope of the variable 'crd_reg_offset' can be reduced. [drivers/net/qede/base/ecore_init_fw_funcs.c:603]: (style) The scope of the variable 'ext_voq' can be reduced. [drivers/net/qede/base/ecore_init_fw_funcs.c:705]: (style) The scope of the variable 'inc_val' can be reduced. [drivers/net/qede/base/ecore_init_fw_funcs.c:943]: (style) The scope of the variable 'vport_pq_id' can be reduced. [drivers/net/qede/base/ecore_init_fw_funcs.c:622]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/qede/base/ecore_init_fw_funcs.c:626]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/qede/base/ecore_init_fw_funcs.c:647]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/qede/base/ecore_init_fw_funcs.c:649]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/qede/base/ecore_init_fw_funcs.c:683]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/qede/base/ecore_init_fw_funcs.c:723]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/qede/base/ecore_init_fw_funcs.c:725]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/qede/base/ecore_init_fw_funcs.c:933]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/qede/base/ecore_init_fw_funcs.c:986]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/qede/base/ecore_init_fw_funcs.c:1744]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/qede/base/ecore_init_fw_funcs.c:1725]: (style) Variable 'cam_line' is assigned a value that is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:1890]: (style) Variable 'data_to_crc' is assigned a value that is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:786]: (style) Clarify calculation precedence for '+' and '?'. [drivers/net/qede/base/ecore_init_fw_funcs.c:860]: (style) Clarify calculation precedence for '+' and '?'. [drivers/net/qede/base/ecore_int.c:1055]: (error) Array 'p_aeu->bits[32]' accessed at index 9998, which is out of bounds. [drivers/net/qede/base/ecore_int.c:1096]: (error) Array 'sb_attn_sw->p_aeu_desc[i].bits[32]' accessed at index 9998, which is out of bounds. [drivers/net/qede/base/ecore_int.c:1405]: (error) Array 'aeu_descs[i].bits[32]' accessed at index 9998, which is out of bounds. [drivers/net/qede/base/ecore_int.c:1957]: (style) Condition 'rc!=ECORE_SUCCESS' is always false [drivers/net/qede/base/ecore_int.c:296]: (style) The scope of the variable 'str' can be reduced. [drivers/net/qede/base/ecore_int.c:501]: (style) The scope of the variable 'first_drop_reason' can be reduced. [drivers/net/qede/base/ecore_int.c:501]: (style) The scope of the variable 'details' can be reduced. [drivers/net/qede/base/ecore_int.c:501]: (style) The scope of the variable 'address' can be reduced. [drivers/net/qede/base/ecore_int.c:501]: (style) The scope of the variable 'all_drops_reason' can be reduced. [drivers/net/qede/base/ecore_int.c:1636]: (style) The scope of the variable 'p_block' can be reduced. [drivers/net/qede/base/ecore_int.c:1658]: (style) The scope of the variable 'p_block' can be reduced. [drivers/net/qede/base/ecore_int.c:2090]: (style) The scope of the variable 'p_block' can be reduced. [drivers/net/qede/base/ecore_int.c:2127]: (style) The scope of the variable 'p_block' can be reduced. [drivers/net/qede/base/ecore_int.c:2130]: (style) The scope of the variable 'val' can be reduced. [drivers/net/qede/base/ecore_int.c:2305]: (style) The scope of the variable 'p_block' can be reduced. [drivers/net/qede/base/ecore_int.c:2006]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/qede/base/ecore_int.c:2011]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/qede/base/ecore_l2.c:110] -> [drivers/net/qede/base/ecore_l2.c:112]: (style) Variable 'p_hwfn->p_l2_info->pp_qid_usage[i]' is reassigned a value before the old one has been used. [drivers/net/qede/base/ecore_l2.c:121] -> [drivers/net/qede/base/ecore_l2.c:122]: (style) Variable 'p_hwfn->p_l2_info->pp_qid_usage' is reassigned a value before the old one has been used. [drivers/net/qede/base/ecore_l2.c:125] -> [drivers/net/qede/base/ecore_l2.c:126]: (style) Variable 'p_hwfn->p_l2_info' is reassigned a value before the old one has been used. [drivers/net/qede/base/ecore_l2.c:1534]: (style) The scope of the variable 'current_byte' can be reduced. [drivers/net/qede/base/ecore_l2.c:1583]: (style) The scope of the variable 'i' can be reduced. [drivers/net/qede/base/ecore_l2.c:2355]: (style) Variable 'addr' is assigned a value that is never used. [drivers/net/qede/base/ecore_l2.c:78]: (error) syntax error [drivers/net/qede/base/ecore_mcp.c:2520] -> [drivers/net/qede/base/ecore_mcp.c:2522]: (style) Variable 'info->mtu' is reassigned a value before the old one has been used. [drivers/net/qede/base/ecore_mcp.c:79]: (style) The scope of the variable 'tmp' can be reduced. [drivers/net/qede/base/ecore_mcp.c:2397]: (style) The scope of the variable 'nvm_cfg_addr' can be reduced. [drivers/net/qede/base/ecore_mcp.c:2397]: (style) The scope of the variable 'nvm_cfg1_offset' can be reduced. [drivers/net/qede/base/ecore_mcp.c:2397]: (style) The scope of the variable 'port_cfg_addr' can be reduced. [drivers/net/qede/base/ecore_mcp.c:2446]: (style) The scope of the variable 'resp' can be reduced. [drivers/net/qede/base/ecore_mcp.c:2446]: (style) The scope of the variable 'param' can be reduced. [drivers/net/qede/base/ecore_mcp.c:2740]: (style) The scope of the variable 'p_name' can be reduced. [drivers/net/qede/base/ecore_mcp.c:2741]: (style) The scope of the variable 'val' can be reduced. [drivers/net/qede/base/ecore_mcp.c:3030]: (style) The scope of the variable 'bytes_to_copy' can be reduced. [drivers/net/qede/base/ecore_mcp.c:3031]: (style) The scope of the variable 'nvm_offset' can be reduced. [drivers/net/qede/base/ecore_mcp.c:3285]: (style) The scope of the variable 'bytes_to_copy' can be reduced. [drivers/net/qede/base/ecore_mcp.c:3331]: (style) The scope of the variable 'buf_size' can be reduced. [drivers/net/qede/base/ecore_mcp.c:3531]: (style) The scope of the variable 'p_temp_sensor' can be reduced. [drivers/net/qede/base/ecore_mcp.c:3534]: (style) The scope of the variable 'val' can be reduced. [drivers/net/qede/base/ecore_mcp.c:1152]: (style) Unused variable: wol_mac [drivers/net/qede/base/ecore_mcp.c:2218]: (style) Variable 'rc' is assigned a value that is never used. [drivers/net/qede/base/ecore_mcp.c:2447]: (style) Unused variable: rc [drivers/net/qede/base/ecore_mcp.c:4239]: (style) Variable 'rc' is assigned a value that is never used. [drivers/net/qede/base/ecore_mcp.c:278]: (error) syntax error [drivers/net/qede/base/ecore_mng_tlv.c:1456]: (error) failed to expand 'OSAL_WARN', Wrong number of parameters for macro 'OSAL_WARN'. [drivers/net/qede/base/ecore_mng_tlv.c:0]: (information) This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details. [drivers/net/qede/base/ecore_spq.c:458] -> [drivers/net/qede/base/ecore_spq.c:459]: (style) Variable 'p_hwfn->p_eq' is reassigned a value before the old one has been used. [drivers/net/qede/base/ecore_spq.c:738] -> [drivers/net/qede/base/ecore_spq.c:740]: (style) Variable 'p_ent' is reassigned a value before the old one has been used. [drivers/net/qede/base/ecore_spq.c:620]: (style) The scope of the variable 'capacity' can be reduced. [drivers/net/qede/base/ecore_spq.c:630]: (style) Variable 'capacity' is assigned a value that is never used. [drivers/net/qede/base/ecore_spq.c:603]: (error) syntax error [drivers/net/qede/base/ecore_sriov.c:640]: (style) Condition '!pos' is always true [drivers/net/qede/base/ecore_sriov.c:2501]: (style) Condition 'rc!=ECORE_SUCCESS' is always false [drivers/net/qede/base/ecore_sriov.c:2505]: (style) Condition 'b_update_required' is always false [drivers/net/qede/base/ecore_sriov.c:3512]: (style) Condition 'rc==ECORE_EXISTS' is always false [drivers/net/qede/base/ecore_sriov.c:3514]: (style) Condition 'rc==ECORE_INVAL' is always false [drivers/net/qede/base/ecore_sriov.c:726]: (style) The scope of the variable 'vf' can be reduced. [drivers/net/qede/base/ecore_sriov.c:831]: (style) The scope of the variable 'i' can be reduced. [drivers/net/qede/base/ecore_sriov.c:922]: (style) The scope of the variable 'reg_addr' can be reduced. [drivers/net/qede/base/ecore_sriov.c:922]: (style) The scope of the variable 'val' can be reduced. [drivers/net/qede/base/ecore_sriov.c:1011]: (style) The scope of the variable 'igu_id' can be reduced. [drivers/net/qede/base/ecore_sriov.c:1012]: (style) The scope of the variable 'addr' can be reduced. [drivers/net/qede/base/ecore_sriov.c:1012]: (style) The scope of the variable 'val' can be reduced. [drivers/net/qede/base/ecore_sriov.c:1077]: (style) The scope of the variable 'qid' can be reduced. [drivers/net/qede/base/ecore_sriov.c:1331]: (style) The scope of the variable 'tlv' can be reduced. [drivers/net/qede/base/ecore_sriov.c:2232]: (style) The scope of the variable 'req' can be reduced. [drivers/net/qede/base/ecore_vf.c:417]: (style) Condition 'rc' is always false [drivers/net/qede/base/ecore_vf.c:218] -> [drivers/net/qede/base/ecore_vf.c:219]: (style) Variable 'p_hwfn->vf_iov_info' is reassigned a value before the old one has been used. [drivers/net/qede/base/ecore_vf.c:172]: (style) The scope of the variable 'size' can be reduced. [drivers/net/qede/base/ecore_vf.c:1480]: (style) The scope of the variable 'i' can be reduced. [drivers/net/qede/base/ecore_vf.c:207]: (style) Variable 'size' is assigned a value that is never used. [drivers/net/qede/base/ecore_vf.c:578]: (error) syntax error [drivers/net/qede/qede_ethdev.c:294]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [drivers/net/qede/qede_ethdev.c:1623]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [drivers/net/qede/qede_ethdev.c:309]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/qede/qede_ethdev.c:361]: (style) The scope of the variable 'p_hwfn' can be reduced. [drivers/net/qede/qede_ethdev.c:363]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/qede/qede_ethdev.c:388]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/qede/qede_ethdev.c:489]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/qede/qede_ethdev.c:772]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/qede/qede_ethdev.c:799]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/qede/qede_ethdev.c:827]: (style) The scope of the variable 'vlan' can be reduced. [drivers/net/qede/qede_ethdev.c:969]: (style) The scope of the variable 'id' can be reduced. [drivers/net/qede/qede_ethdev.c:969]: (style) The scope of the variable 'pos' can be reduced. [drivers/net/qede/qede_ethdev.c:969]: (style) The scope of the variable 'q' can be reduced. [drivers/net/qede/qede_ethdev.c:1003]: (style) The scope of the variable 'p_hwfn' can be reduced. [drivers/net/qede/qede_ethdev.c:1485]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/qede/qede_ethdev.c:1589]: (style) The scope of the variable 'i' can be reduced. [drivers/net/qede/qede_ethdev.c:1589]: (style) The scope of the variable 'qid' can be reduced. [drivers/net/qede/qede_ethdev.c:1589]: (style) The scope of the variable 'stat_idx' can be reduced. [drivers/net/qede/qede_ethdev.c:1590]: (style) The scope of the variable 'rxq_stat_cntrs' can be reduced. [drivers/net/qede/qede_ethdev.c:1971]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/qede/qede_ethdev.c:1973]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/qede/qede_ethdev.c:2195]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/qede/qede_ethdev.c:2195]: (style) The scope of the variable 'shift' can be reduced. [drivers/net/qede/qede_ethdev.c:2223]: (style) The scope of the variable 'fp' can be reduced. [drivers/net/qede/qede_ethdev.c:2412]: (style) The scope of the variable 'is_mac_exist' can be reduced. [drivers/net/qede/qede_filter.c:765] -> [drivers/net/qede/qede_filter.c:766]: (style) Variable 'tunn.ip_gre.tun_cls' is reassigned a value before the old one has been used. [drivers/net/qede/qede_filter.c:594]: (style) The scope of the variable 'tcpv4_flow' can be reduced. [drivers/net/qede/qede_filter.c:595]: (style) The scope of the variable 'udpv4_flow' can be reduced. [drivers/net/qede/qede_filter.c:653]: (style) The scope of the variable 'p_hwfn' can be reduced. [drivers/net/qede/qede_main.c:80] -> [drivers/net/qede/qede_main.c:86]: (warning) Identical condition 'rc', second condition is always false [drivers/net/qede/qede_main.c:200]: (style) The scope of the variable 'p_hwfn' can be reduced. [drivers/net/qede/qede_main.c:213]: (style) The scope of the variable 'p_hwfn' can be reduced. [drivers/net/qede/qede_main.c:416]: (style) The scope of the variable 'i' can be reduced. [drivers/net/qede/qede_main.c:569]: (style) The scope of the variable 'ptt' can be reduced. [drivers/net/qede/qede_main.c:646]: (style) The scope of the variable 'hwfn' can be reduced. [drivers/net/qede/qede_main.c:647]: (style) The scope of the variable 'ptt' can be reduced. [drivers/net/qede/qede_main.c:648]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/qede/qede_main.c:686]: (style) Unused variable: i [drivers/net/qede/qede_rxtx.c:44]: (style) The scope of the variable 'rx_bd' can be reduced. [drivers/net/qede/qede_rxtx.c:269]: (style) The scope of the variable 'i' can be reduced. [drivers/net/qede/qede_rxtx.c:284]: (style) The scope of the variable 'qdev' can be reduced. [drivers/net/qede/qede_rxtx.c:285]: (style) The scope of the variable 'edev' can be reduced. [drivers/net/qede/qede_rxtx.c:304]: (style) The scope of the variable 'p_hwfn' can be reduced. [drivers/net/qede/qede_rxtx.c:305]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/qede/qede_rxtx.c:306]: (style) The scope of the variable 'hwfn_index' can be reduced. [drivers/net/qede/qede_rxtx.c:434]: (style) The scope of the variable 'i' can be reduced. [drivers/net/qede/qede_rxtx.c:449]: (style) The scope of the variable 'qdev' can be reduced. [drivers/net/qede/qede_rxtx.c:450]: (style) The scope of the variable 'edev' can be reduced. [drivers/net/qede/qede_rxtx.c:494]: (style) The scope of the variable 'fp' can be reduced. [drivers/net/qede/qede_rxtx.c:545]: (style) The scope of the variable 'fp' can be reduced. [drivers/net/qede/qede_rxtx.c:626]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/qede/qede_rxtx.c:628]: (style) The scope of the variable 'p_hwfn' can be reduced. [drivers/net/qede/qede_rxtx.c:630]: (style) The scope of the variable 'page_cnt' can be reduced. [drivers/net/qede/qede_rxtx.c:631]: (style) The scope of the variable 'j' can be reduced. [drivers/net/qede/qede_rxtx.c:632]: (style) The scope of the variable 'hwfn_index' can be reduced. [drivers/net/qede/qede_rxtx.c:698]: (style) The scope of the variable 'p_hwfn' can be reduced. [drivers/net/qede/qede_rxtx.c:702]: (style) The scope of the variable 'page_cnt' can be reduced. [drivers/net/qede/qede_rxtx.c:703]: (style) The scope of the variable 'hwfn_index' can be reduced. [drivers/net/qede/qede_rxtx.c:760]: (style) The scope of the variable 'nb_segs' can be reduced. [drivers/net/qede/qede_rxtx.c:844]: (style) The scope of the variable 'p_hwfn' can be reduced. [drivers/net/qede/qede_rxtx.c:845]: (style) The scope of the variable 'txq' can be reduced. [drivers/net/qede/qede_rxtx.c:846]: (style) The scope of the variable 'hwfn_index' can be reduced. [drivers/net/qede/qede_rxtx.c:954]: (style) The scope of the variable 'ipv4_hdr' can be reduced. [drivers/net/qede/qede_rxtx.c:956]: (style) The scope of the variable 'vlan_hdr' can be reduced. [drivers/net/qede/qede_rxtx.c:1145]: (style) The scope of the variable 'pkt_csum' can be reduced. [drivers/net/qede/qede_rxtx.c:1146]: (style) The scope of the variable 'calc_csum' can be reduced. [drivers/net/qede/qede_rxtx.c:1200]: (style) The scope of the variable 'curr_cons' can be reduced. [drivers/net/qede/qede_rxtx.c:1214]: (style) The scope of the variable 'tpa_info' can be reduced. [drivers/net/qede/qede_rxtx.c:1216]: (style) The scope of the variable 'cons_idx' can be reduced. [drivers/net/qede/qede_rxtx.c:1343]: (style) The scope of the variable 'sw_rx_index' can be reduced. [drivers/net/qede/qede_rxtx.c:1344]: (style) The scope of the variable 'cur_size' can be reduced. [drivers/net/qede/qede_rxtx.c:1786]: (style) The scope of the variable 'ol_flags' can be reduced. [drivers/net/qede/qede_rxtx.c:1877]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/qede/qede_rxtx.c:1878]: (style) The scope of the variable 'nb_frags' can be reduced. [drivers/net/qede/qede_rxtx.c:1880]: (style) The scope of the variable 'nbds' can be reduced. [drivers/net/qede/qede_rxtx.c:1881]: (style) The scope of the variable 'lso_flg' can be reduced. [drivers/net/qede/qede_rxtx.c:1882]: (style) The scope of the variable 'mplsoudp_flg' can be reduced. [drivers/net/qede/qede_rxtx.c:1884]: (style) The scope of the variable 'tunn_ipv6_ext_flg' can be reduced. [drivers/net/qede/qede_rxtx.c:1885]: (style) The scope of the variable 'bd1' can be reduced. [drivers/net/qede/qede_rxtx.c:1888]: (style) The scope of the variable 'tx_ol_flags' can be reduced. [drivers/net/qede/qede_rxtx.c:1889]: (style) The scope of the variable 'hdr_size' can be reduced. [drivers/net/qede/qede_rxtx.c:1891]: (style) The scope of the variable 'bd1_bf' can be reduced. [drivers/net/qede/qede_rxtx.c:1892]: (style) The scope of the variable 'bd1_bd_flags_bf' can be reduced. [drivers/net/qede/qede_rxtx.c:1893]: (style) The scope of the variable 'vlan' can be reduced. [drivers/net/qede/qede_rxtx.c:1895]: (style) The scope of the variable 'bd2_bf1' can be reduced. [drivers/net/qede/qede_rxtx.c:1896]: (style) The scope of the variable 'bd2_bf2' can be reduced. [drivers/net/qede/qede_rxtx.c:1898]: (style) The scope of the variable 'mss' can be reduced. [drivers/net/qede/qede_rxtx.c:1899]: (style) The scope of the variable 'bd3_bf' can be reduced. [drivers/net/qede/qede_rxtx.c:1901]: (style) The scope of the variable 'tunn_l4_hdr_start_offset' can be reduced. [drivers/net/qede/qede_rxtx.c:1902]: (style) The scope of the variable 'tunn_hdr_size' can be reduced. [drivers/net/qede/qede_rxtx.c:1790]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/ring/rte_eth_ring.c:453] -> [drivers/net/ring/rte_eth_ring.c:504]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/net/ring/rte_eth_ring.c:643]: (style) The scope of the variable 'i' can be reduced. [drivers/net/sfc/base/efx_ev.c:370]: (style) The scope of the variable 'offset' can be reduced. [drivers/net/sfc/base/efx_ev.c:158]: (error) Uninitialized variable: eevop [drivers/net/sfc/base/efx_ev.c:161]: (error) Uninitialized variable: eevop [drivers/net/sfc/base/efx_ev.c:859]: (style) The scope of the variable 'id' can be reduced. [drivers/net/sfc/base/efx_ev.c:860]: (style) The scope of the variable 'label' can be reduced. [drivers/net/sfc/base/efx_intr.c:147]: (error) Uninitialized variable: eiop [drivers/net/sfc/base/efx_intr.c:150]: (error) Uninitialized variable: eiop [drivers/net/sfc/base/efx_mac.c:870]: (error) Uninitialized variable: emop [drivers/net/sfc/base/efx_mac.c:894]: (style) The scope of the variable 'crc' can be reduced. [drivers/net/sfc/base/efx_mac.c:894]: (style) The scope of the variable 'index' can be reduced. [drivers/net/sfc/base/efx_mac.c:828] -> [drivers/net/sfc/base/efx_mac.c:866]: (style) The expression 'type != EFX_MAC_INVALID' is always false because 'type' and 'EFX_MAC_INVALID' represent the same value. [drivers/net/sfc/base/efx_mon.c:83]: (error) Uninitialized variable: emop [drivers/net/sfc/base/efx_phy.c:96]: (error) Uninitialized variable: epop [drivers/net/sfc/base/efx_rx.c:235]: (error) Uninitialized variable: erxop [drivers/net/sfc/base/efx_rx.c:238]: (error) Uninitialized variable: erxop [drivers/net/sfc/base/efx_rx.c:1442]: (style) The scope of the variable 'offset' can be reduced. [drivers/net/sfc/base/efx_tx.c:262]: (error) Uninitialized variable: etxop [drivers/net/sfc/base/efx_tx.c:265]: (error) Uninitialized variable: etxop [drivers/net/sfc/sfc_ef10_essb_rx.c:562] -> [drivers/net/sfc/sfc_ef10_essb_rx.c:566]: (style) Variable 'rc' is reassigned a value before the old one has been used. [drivers/net/sfc/sfc_ef10_essb_rx.c:566] -> [drivers/net/sfc/sfc_ef10_essb_rx.c:574]: (style) Variable 'rc' is reassigned a value before the old one has been used. [drivers/net/sfc/sfc_ef10_rx_ev.h:27] -> [drivers/net/sfc/sfc_ef10_rx_ev.h:69]: (style) The expression 'tun_ptype == 0' is always true. [drivers/net/sfc/sfc_ef10_rx_ev.h:27] -> [drivers/net/sfc/sfc_ef10_rx_ev.h:82]: (style) The expression 'tun_ptype == 0' is always true. [drivers/net/sfc/sfc_ef10_rx_ev.h:27] -> [drivers/net/sfc/sfc_ef10_rx_ev.h:86]: (style) The expression 'tun_ptype == 0' is always true. [drivers/net/sfc/sfc_ef10_rx_ev.h:27] -> [drivers/net/sfc/sfc_ef10_rx_ev.h:90]: (style) The expression 'tun_ptype == 0' is always true. [drivers/net/sfc/sfc_ef10_rx_ev.h:27] -> [drivers/net/sfc/sfc_ef10_rx_ev.h:100]: (style) The expression 'tun_ptype == 0' is always true. [drivers/net/sfc/sfc_ef10_rx_ev.h:27] -> [drivers/net/sfc/sfc_ef10_rx_ev.h:104]: (style) The expression 'tun_ptype == 0' is always true. [drivers/net/sfc/sfc_ef10_rx_ev.h:27] -> [drivers/net/sfc/sfc_ef10_rx_ev.h:111]: (style) The expression 'tun_ptype == 0' is always true. [drivers/net/sfc/sfc_ef10_rx_ev.h:27] -> [drivers/net/sfc/sfc_ef10_rx_ev.h:115]: (style) The expression 'tun_ptype == 0' is always true. [drivers/net/sfc/sfc_ef10_rx_ev.h:27] -> [drivers/net/sfc/sfc_ef10_rx_ev.h:122]: (style) The expression 'tun_ptype == 0' is always true. [drivers/net/sfc/sfc_ef10_rx_ev.h:27] -> [drivers/net/sfc/sfc_ef10_rx_ev.h:141]: (style) The expression 'tun_ptype == 0' is always true. [drivers/net/sfc/sfc_ef10_rx_ev.h:27] -> [drivers/net/sfc/sfc_ef10_rx_ev.h:149]: (style) The expression 'tun_ptype == 0' is always true. [drivers/net/sfc/sfc_ef10_essb_rx.c:690]: (style) The scope of the variable 'rxd' can be reduced. [drivers/net/sfc/sfc_ef10_essb_rx.c:691]: (style) The scope of the variable 'm' can be reduced. [drivers/net/sfc/sfc_ef10_essb_rx.c:611]: (error) Address of local auto-variable assigned to a function parameter. [drivers/net/sfc/sfc_ef10_rx.c:619] -> [drivers/net/sfc/sfc_ef10_rx.c:623]: (style) Variable 'rc' is reassigned a value before the old one has been used. [drivers/net/sfc/sfc_ef10_rx.c:623] -> [drivers/net/sfc/sfc_ef10_rx.c:631]: (style) Variable 'rc' is reassigned a value before the old one has been used. [drivers/net/sfc/sfc_ef10_rx.c:730]: (style) The scope of the variable 'rxd' can be reduced. [drivers/net/sfc/sfc_ef10_rx.c:656]: (error) Address of local auto-variable assigned to a function parameter. [drivers/net/sfc/sfc_ef10_tx.c:815] -> [drivers/net/sfc/sfc_ef10_tx.c:819]: (style) Variable 'rc' is reassigned a value before the old one has been used. [drivers/net/sfc/sfc_ef10_tx.c:819] -> [drivers/net/sfc/sfc_ef10_tx.c:827]: (style) Variable 'rc' is reassigned a value before the old one has been used. [drivers/net/sfc/sfc_ef10_tx.c:338] -> [drivers/net/sfc/sfc_ef10_tx.c:494]: (style) Same expression on both sides of '-' because '*added' and 'pkt_start' represent the same value. [drivers/net/sfc/sfc_ef10_tx.c:858]: (error) Address of local auto-variable assigned to a function parameter. [drivers/net/sfc/sfc_ethdev.c:1168] -> [drivers/net/sfc/sfc_ethdev.c:1175]: (style) Variable 'rc' is reassigned a value before the old one has been used. [drivers/net/sfc/sfc_ethdev.c:1220] -> [drivers/net/sfc/sfc_ethdev.c:1227]: (style) Variable 'rc' is reassigned a value before the old one has been used. [drivers/net/sfc/sfc_ev.c:806] -> [drivers/net/sfc/sfc_ev.c:817]: (style) Variable 'rc' is reassigned a value before the old one has been used. [drivers/net/sfc/sfc_filter.c:46] -> [drivers/net/sfc/sfc_filter.c:52]: (style) Variable 'rc' is reassigned a value before the old one has been used. [drivers/net/sfc/sfc_flow.c:351]: (style) The scope of the variable 'vid' can be reduced. [drivers/net/sfc/sfc_flow.c:1158]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/sfc/sfc_flow.c:2056]: (style) The scope of the variable 'check' can be reduced. [drivers/net/sfc/sfc_flow.c:2225]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/sfc/sfc_flow.c:2405]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/sfc/sfc_flow.c:1266] -> [drivers/net/sfc/sfc_flow.c:1321]: (style) Local variable i shadows outer variable [drivers/net/sfc/sfc_flow.c:1259] -> [drivers/net/sfc/sfc_flow.c:1346]: (style) Local variable rxq_sw_index shadows outer variable [drivers/net/sfc/sfc_flow.c:1260] -> [drivers/net/sfc/sfc_flow.c:1347]: (style) Local variable rxq shadows outer variable [drivers/net/sfc/sfc_port.c:420] -> [drivers/net/sfc/sfc_port.c:429]: (style) Variable 'rc' is reassigned a value before the old one has been used. [drivers/net/sfc/sfc_rx.c:407] -> [drivers/net/sfc/sfc_rx.c:415]: (style) Variable 'rc' is reassigned a value before the old one has been used. [drivers/net/sfc/sfc_rx.c:1026] -> [drivers/net/sfc/sfc_rx.c:1041]: (style) Variable 'rc' is reassigned a value before the old one has been used. [drivers/net/sfc/sfc_rx.c:496]: (style) The scope of the variable 'rxd' can be reduced. [drivers/net/sfc/sfc_rx.c:560]: (style) The scope of the variable 'wait_count' can be reduced. [drivers/net/sfc/sfc_rx.c:561]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/sfc/sfc_rx.c:876]: (style) The scope of the variable 'end_padding_alignment' can be reduced. [drivers/net/sfc/sfc_rx.c:1295]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/sfc/sfc_rx.c:435]: (error) Address of local auto-variable assigned to a function parameter. [drivers/net/sfc/sfc_tx.c:162] -> [drivers/net/sfc/sfc_tx.c:176]: (style) Variable 'rc' is reassigned a value before the old one has been used. [drivers/net/sfc/sfc_tx.c:902] -> [drivers/net/sfc/sfc_tx.c:910]: (style) Variable 'rc' is reassigned a value before the old one has been used. [drivers/net/sfc/sfc_tx.c:910] -> [drivers/net/sfc/sfc_tx.c:918]: (style) Variable 'rc' is reassigned a value before the old one has been used. [drivers/net/sfc/sfc_tx.c:499]: (style) The scope of the variable 'wait_count' can be reduced. [drivers/net/sfc/sfc_tx.c:500]: (style) The scope of the variable 'rc' can be reduced. [drivers/net/sfc/sfc_tx.c:940]: (error) Address of local auto-variable assigned to a function parameter. [drivers/net/softnic/parser.c:439]: (style) The scope of the variable 'xdigits' can be reduced. [drivers/net/softnic/parser.c:618]: (style) The scope of the variable 'val' can be reduced. [drivers/net/softnic/parser.c:621]: (style) The scope of the variable 'type' can be reduced. [drivers/net/softnic/rte_eth_softnic_cli.c:3937]: (style) Assignment of function parameter has no effect outside the function. [drivers/net/softnic/rte_eth_softnic_cli.c:3938]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [drivers/net/softnic/rte_eth_softnic_cli.c:4615]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [drivers/net/softnic/rte_eth_softnic_flow.c:315]: (style) The scope of the variable 'i' can be reduced. [drivers/net/softnic/rte_eth_softnic_flow.c:1555]: (style) The scope of the variable 'status' can be reduced. [drivers/net/softnic/rte_eth_softnic_flow.c:2196]: (style) The scope of the variable 'status' can be reduced. [drivers/net/softnic/rte_eth_softnic_flow.c:582]: (portability) Shifting a negative value is technically undefined behaviour [drivers/net/softnic/rte_eth_softnic_flow.c:629]: (portability) Shifting a negative value is technically undefined behaviour [drivers/net/softnic/rte_eth_softnic_flow.c:1023] -> [drivers/net/softnic/rte_eth_softnic_flow.c:1044]: (style) Local variable status shadows outer variable [drivers/net/softnic/rte_eth_softnic_flow.c:1167] -> [drivers/net/softnic/rte_eth_softnic_flow.c:1600]: (style) Local variable profile shadows outer variable [drivers/net/softnic/rte_eth_softnic_flow.c:582]: (error) Shifting 32-bit value by 32 bits is undefined behaviour [drivers/net/softnic/rte_eth_softnic_meter.c:366]: (style) The scope of the variable 'status' can be reduced. [drivers/net/softnic/rte_eth_softnic_meter.c:520]: (style) The scope of the variable 'status' can be reduced. [drivers/net/softnic/rte_eth_softnic_tm.c:2429]: (error) syntax error [drivers/net/szedata2/rte_eth_szedata2.c:1896] -> [drivers/net/szedata2/rte_eth_szedata2.c:1542]: (warning) Either the condition '!eth_dev' is redundant or there is possible null pointer dereference: dev. [drivers/net/szedata2/rte_eth_szedata2.c:1896] -> [drivers/net/szedata2/rte_eth_szedata2.c:1548]: (warning) Either the condition '!eth_dev' is redundant or there is possible null pointer dereference: dev. [drivers/net/szedata2/rte_eth_szedata2.c:120]: (style) The scope of the variable 'mbp_priv' can be reduced. [drivers/net/szedata2/rte_eth_szedata2.c:122]: (style) The scope of the variable 'buf_size' can be reduced. [drivers/net/szedata2/rte_eth_szedata2.c:123]: (style) The scope of the variable 'sg_size' can be reduced. [drivers/net/szedata2/rte_eth_szedata2.c:124]: (style) The scope of the variable 'hw_size' can be reduced. [drivers/net/szedata2/rte_eth_szedata2.c:125]: (style) The scope of the variable 'packet_size' can be reduced. [drivers/net/szedata2/rte_eth_szedata2.c:133]: (style) The scope of the variable 'hw_data_align' can be reduced. [drivers/net/szedata2/rte_eth_szedata2.c:1405]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/szedata2/rte_eth_szedata2.c:1865]: (style) The scope of the variable 'eth_dev' can be reduced. [drivers/net/szedata2/rte_eth_szedata2.c:1866]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/tap/rte_eth_tap.c:2042] -> [drivers/net/tap/rte_eth_tap.c:2027]: (warning) Either the condition 'if(params&&(params[0]!='\0'))' is redundant or there is possible null pointer dereference: params. [drivers/net/tap/rte_eth_tap.c:266]: (style) The scope of the variable 'l4_hdr' can be reduced. [drivers/net/tap/rte_eth_tap.c:540]: (style) The scope of the variable 'proto' can be reduced. [drivers/net/tap/rte_eth_tap.c:544]: (style) The scope of the variable 'seg_len' can be reduced. [drivers/net/tap/rte_eth_tap.c:663]: (style) The scope of the variable 'tso_segsz' can be reduced. [drivers/net/tap/rte_eth_tap.c:665]: (style) The scope of the variable 'hdrs_len' can be reduced. [drivers/net/tap/rte_eth_tap.c:1255]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/tap/rte_eth_tap.c:369]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/tap/rte_eth_tap.c:163]: (information) Skipping configuration 'IFF_MULTI_QUEUE' since the value of 'IFF_MULTI_QUEUE' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [drivers/net/tap/rte_eth_tap.c:166]: (information) Skipping configuration 'IFF_MULTI_QUEUE' since the value of 'IFF_MULTI_QUEUE' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [drivers/net/tap/tap_bpf_program.c:144]: (portability) 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/net/tap/tap_bpf_program.c:147]: (portability) 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/net/tap/tap_bpf_program.c:153]: (portability) 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/net/tap/tap_bpf_program.c:157]: (portability) 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/net/tap/tap_bpf_program.c:158]: (portability) 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/net/tap/tap_bpf_program.c:178]: (portability) 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/net/tap/tap_bpf_program.c:181]: (portability) 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/net/tap/tap_bpf_program.c:183]: (portability) 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [drivers/net/tap/tap_bpf_program.c:109]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [drivers/net/tap/tap_bpf_program.c:132]: (style) Unused variable: len [drivers/net/tap/tap_bpf_program.c:175]: (style) Variable 'input_len' is modified but its new value is never used. [drivers/net/tap/tap_bpf_program.c:201]: (style) Variable 'input_len' is modified but its new value is never used. [drivers/net/tap/tap_flow.c:1323]: (style) The scope of the variable 'i' can be reduced. [drivers/net/tap/tap_flow.c:1645]: (style) The scope of the variable 'flow' can be reduced. [drivers/net/tap/tap_flow.c:1778]: (style) The scope of the variable 'cur_prio' can be reduced. [drivers/net/tap/tap_flow.c:1800]: (style) The scope of the variable 'remote_flow' can be reduced. [drivers/net/tap/tap_flow.c:92]: (style) struct member 'tc_act_bpf::refcnt' is never used. [drivers/net/tap/tap_flow.c:92]: (style) struct member 'tc_act_bpf::bindcnt' is never used. [drivers/net/tap/tap_netlink.c:236]: (warning) Possible null pointer dereference: data [drivers/net/tap/tap_tcmsgs.c:29]: (style) struct member 'qdisc_custom_arg::exists' is never used. [drivers/net/thunderx/base/nicvf_hw.c:351]: (style) The scope of the variable 'reg_val' can be reduced. [drivers/net/thunderx/base/nicvf_hw.c:370]: (style) The scope of the variable 'status' can be reduced. [drivers/net/thunderx/base/nicvf_hw.c:481]: (style) The scope of the variable 'desc0' can be reduced. [drivers/net/thunderx/base/nicvf_hw.c:484]: (style) The scope of the variable 'phy' can be reduced. [drivers/net/thunderx/base/nicvf_hw.c:740]: (style) The scope of the variable 'val' can be reduced. [drivers/net/thunderx/base/nicvf_hw.c:756]: (style) The scope of the variable 'val' can be reduced. [drivers/net/thunderx/base/nicvf_mbox.c:78]: (style) The scope of the variable 'timeout' can be reduced. [drivers/net/thunderx/base/nicvf_mbox.c:246]: (style) The scope of the variable 'cur_len' can be reduced. [drivers/net/thunderx/nicvf_ethdev.c:144]: (style) The scope of the variable 'i' can be reduced. [drivers/net/thunderx/nicvf_ethdev.c:673]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/thunderx/nicvf_ethdev.c:695]: (style) The scope of the variable 'entry' can be reduced. [drivers/net/thunderx/nicvf_ethdev.c:1061]: (style) The scope of the variable 'nb_pkts' can be reduced. [drivers/net/thunderx/nicvf_ethdev.c:1450]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/thunderx/nicvf_ethdev.c:1690]: (style) The scope of the variable 'rxq' can be reduced. [drivers/net/thunderx/nicvf_ethdev.c:1737]: (style) Clarify calculation precedence for '&' and '?'. [drivers/net/thunderx/nicvf_rxtx.c:351]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses. [drivers/net/thunderx/nicvf_rxtx.c:189]: (style) The scope of the variable 'next_used_desc' can be reduced. [drivers/net/thunderx/nicvf_rxtx.c:195]: (style) The scope of the variable 'nb_segs' can be reduced. [drivers/net/thunderx/nicvf_rxtx.c:432]: (style) The scope of the variable 'rb0_ptr' can be reduced. [drivers/net/thunderx/nicvf_rxtx.c:580]: (style) The scope of the variable 'cq_entry' can be reduced. [drivers/net/thunderx/nicvf_rxtx.c:581]: (style) The scope of the variable 'cqe_rx' can be reduced. [drivers/net/thunderx/nicvf_rxtx.c:588]: (style) The scope of the variable 'nb_segs' can be reduced. [drivers/net/thunderx/nicvf_rxtx.c:666]: (style) The scope of the variable 'rx_free' can be reduced. [drivers/net/thunderx/nicvf_rxtx.c:423]: (style) The scope of the variable 'cqe_rx' can be reduced. [drivers/net/vdev_netvsc/vdev_netvsc.c:559] -> [drivers/net/vdev_netvsc/vdev_netvsc.c:557]: (warning) Either the condition 'if(ctx)' is redundant or there is possible null pointer dereference: ctx. [drivers/net/vhost/rte_eth_vhost.c:363]: (style) Condition 'pkt_len>1522' is always true [drivers/net/vhost/rte_eth_vhost.c:345]: (style) The scope of the variable 'pkt_len' can be reduced. [drivers/net/vhost/rte_eth_vhost.c:506]: (style) The scope of the variable 'internal' can be reduced. [drivers/net/vhost/rte_eth_vhost.c:597]: (style) The scope of the variable 'vq' can be reduced. [drivers/net/vhost/rte_eth_vhost.c:785]: (style) The scope of the variable 'vq' can be reduced. [drivers/net/vhost/rte_eth_vhost.c:878]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/virtio/virtio_ethdev.c:1292] -> [drivers/net/virtio/virtio_ethdev.c:1293]: (style) Variable 'hw->guest_features' is reassigned a value before the old one has been used. [drivers/net/virtio/virtio_ethdev.c:1360] -> [drivers/net/virtio/virtio_ethdev.c:1362]: (style) Variable 'hw->inject_pkts' is reassigned a value before the old one has been used. [drivers/net/virtio/virtio_ethdev.c:650]: (style) The scope of the variable 'vq' can be reduced. [drivers/net/virtio/virtio_ethdev.c:688]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/virtio/virtio_ethdev.c:949]: (style) The scope of the variable 'i' can be reduced. [drivers/net/virtio/virtio_ethdev.c:950]: (style) The scope of the variable 'count' can be reduced. [drivers/net/virtio/virtio_ethdev.c:951]: (style) The scope of the variable 't' can be reduced. [drivers/net/virtio/virtio_ethdev.c:2192]: (style) The scope of the variable 'vq' can be reduced. [drivers/net/virtio/virtio_ethdev.c:2168]: (style) Variable 'rxvq' is assigned a value that is never used. [drivers/net/virtio/virtio_ethdev.c:1142]: (warning) Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [drivers/net/virtio/virtio_ethdev.c:1144]: (warning) Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [drivers/net/virtio/virtio_ethdev.c:1172]: (warning) Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [drivers/net/virtio/virtio_ethdev.c:1174]: (warning) Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [drivers/net/virtio/virtio_pci.c:272]: (style) The scope of the variable 'p' can be reduced. [drivers/net/virtio/virtio_rxtx.c:1039]: (style) Condition 's>=1519' is always true [drivers/net/virtio/virtio_rxtx.c:614] -> [drivers/net/virtio/virtio_rxtx.c:669]: (style) Variable 'prev' is reassigned a value before the old one has been used. [drivers/net/virtio/virtio_rxtx.c:61]: (style) The scope of the variable 'dp_tail' can be reduced. [drivers/net/virtio/virtio_rxtx.c:116]: (style) The scope of the variable 'used_idx' can be reduced. [drivers/net/virtio/virtio_rxtx.c:117]: (style) The scope of the variable 'id' can be reduced. [drivers/net/virtio/virtio_rxtx.c:156]: (style) The scope of the variable 'used_idx' can be reduced. [drivers/net/virtio/virtio_rxtx.c:156]: (style) The scope of the variable 'desc_idx' can be reduced. [drivers/net/virtio/virtio_rxtx.c:230]: (style) The scope of the variable 'id' can be reduced. [drivers/net/virtio/virtio_rxtx.c:233]: (style) The scope of the variable 'dxp' can be reduced. [drivers/net/virtio/virtio_rxtx.c:257]: (style) The scope of the variable 'used_idx' can be reduced. [drivers/net/virtio/virtio_rxtx.c:257]: (style) The scope of the variable 'desc_idx' can be reduced. [drivers/net/virtio/virtio_rxtx.c:281]: (style) The scope of the variable 'used_idx' can be reduced. [drivers/net/virtio/virtio_rxtx.c:317]: (style) The scope of the variable 'dxp' can be reduced. [drivers/net/virtio/virtio_rxtx.c:320]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/virtio/virtio_rxtx.c:359]: (style) The scope of the variable 'dxp' can be reduced. [drivers/net/virtio/virtio_rxtx.c:362]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/virtio/virtio_rxtx.c:406]: (style) The scope of the variable 'idx' can be reduced. [drivers/net/virtio/virtio_rxtx.c:456]: (style) The scope of the variable 'ip_len' can be reduced. [drivers/net/virtio/virtio_rxtx.c:545]: (style) The scope of the variable 'dxp' can be reduced. [drivers/net/virtio/virtio_rxtx.c:548]: (style) The scope of the variable 'hdr' can be reduced. [drivers/net/virtio/virtio_rxtx.c:660]: (style) The scope of the variable 'flags' can be reduced. [drivers/net/virtio/virtio_rxtx.c:1065]: (style) The scope of the variable 'hdrlen' can be reduced. [drivers/net/virtio/virtio_rxtx.c:1144]: (style) The scope of the variable 'error' can be reduced. [drivers/net/virtio/virtio_rxtx.c:1249]: (style) The scope of the variable 'error' can be reduced. [drivers/net/virtio/virtio_rxtx.c:1349]: (style) The scope of the variable 'error' can be reduced. [drivers/net/virtio/virtio_rxtx.c:1540]: (style) The scope of the variable 'error' can be reduced. [drivers/net/virtio/virtio_rxtx.c:1730]: (style) The scope of the variable 'error' can be reduced. [drivers/net/virtio/virtio_user/vhost_kernel.c:184]: (style) The scope of the variable 'i' can be reduced. [drivers/net/virtio/virtio_user/vhost_kernel.c:189]: (style) The scope of the variable 'features' can be reduced. [drivers/net/virtio/virtio_user/vhost_kernel.c:280]: (style) The scope of the variable 'vhostfd' can be reduced. [drivers/net/virtio/virtio_user/virtio_user_dev.c:227]: (style) The scope of the variable 'i' can be reduced. [drivers/net/virtio/virtio_user/virtio_user_dev.c:248]: (style) The scope of the variable 'j' can be reduced. [drivers/net/virtio/virtio_user/virtio_user_dev.c:566]: (style) The scope of the variable 'i' can be reduced. [drivers/net/virtio/virtio_user/virtio_user_dev.c:686]: (style) The scope of the variable 'n_descs' can be reduced. [drivers/net/virtio/virtio_user/virtio_user_dev.c:711]: (style) The scope of the variable 'avail_idx' can be reduced. [drivers/net/virtio/virtio_user/virtio_user_dev.c:711]: (style) The scope of the variable 'desc_idx' can be reduced. [drivers/net/virtio/virtio_user/virtio_user_dev.c:712]: (style) The scope of the variable 'uep' can be reduced. [drivers/net/virtio/virtio_user/virtio_user_dev.c:713]: (style) The scope of the variable 'n_descs' can be reduced. [drivers/net/virtio/virtio_user_ethdev.c:117]: (style) The scope of the variable 'i' can be reduced. [drivers/net/virtio/virtio_user_ethdev.c:128]: (style) The scope of the variable 'buf' can be reduced. [drivers/net/virtio/virtio_user_ethdev.c:178]: (style) The scope of the variable 'i' can be reduced. [drivers/net/virtio/virtqueue.c:61]: (style) The scope of the variable 'dxp' can be reduced. [drivers/net/virtio/virtqueue.c:90]: (style) The scope of the variable 'uep' can be reduced. [drivers/net/virtio/virtqueue.c:92]: (style) The scope of the variable 'used_idx' can be reduced. [drivers/net/vmxnet3/vmxnet3_rxtx.c:187]: (style) The scope of the variable 'i' can be reduced. [drivers/net/vmxnet3/vmxnet3_rxtx.c:350]: (style) The scope of the variable 'ret' can be reduced. [drivers/net/vmxnet3/vmxnet3_rxtx.c:352]: (style) The scope of the variable 'ol_flags' can be reduced. [drivers/net/vmxnet3/vmxnet3_rxtx.c:670]: (style) The scope of the variable 'ipv4_hdr' can be reduced. [drivers/net/vmxnet3/vmxnet3_rxtx.c:994]: (style) The scope of the variable 'avail' can be reduced. [drivers/net/vmxnet3/vmxnet3_rxtx.c:1123]: (style) The scope of the variable 'ring' can be reduced. [drivers/net/vmxnet3/vmxnet3_rxtx.c:88] -> [drivers/net/vmxnet3/vmxnet3_rxtx.c:95]: (style) Variable 'avail' is reassigned a value before the old one has been used. [drivers/net/vmxnet3/vmxnet3_rxtx.c:95]: (style) Variable 'avail' is assigned a value that is never used. [drivers/net/vmxnet3/vmxnet3_rxtx.c:117]: (style) Variable 'avail' is assigned a value that is never used. [drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c:129]: (style) The scope of the variable 'ret' can be reduced. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:119]: (style) The scope of the variable 'lcore_id' can be reduced. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:119]: (style) The scope of the variable 'num_hw_queues' can be reduced. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:119]: (style) The scope of the variable 'i' can be reduced. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:290]: (style) The scope of the variable 'ring_name' can be reduced. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:468]: (style) The scope of the variable 'ret' can be reduced. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:526]: (style) The scope of the variable 'ret' can be reduced. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:620]: (style) The scope of the variable 'temp_qdma_vq' can be reduced. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:621]: (style) The scope of the variable 'dequeue_budget' can be reduced. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:622]: (style) The scope of the variable 'ring_count' can be reduced. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:622]: (style) The scope of the variable 'i' can be reduced. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:748]: (style) The scope of the variable 'queue' can be reduced. [drivers/raw/ifpga_rawdev/base/ifpga_enumerate.c:264] -> [drivers/raw/ifpga_rawdev/base/ifpga_enumerate.c:281]: (warning) Identical condition 'ret', second condition is always false [drivers/raw/ifpga_rawdev/base/ifpga_enumerate.c:177]: (style) The scope of the variable 'i' can be reduced. [drivers/raw/ifpga_rawdev/base/ifpga_enumerate.c:322]: (style) The scope of the variable 'acc' can be reduced. [drivers/raw/ifpga_rawdev/base/ifpga_enumerate.c:644]: (style) The scope of the variable 'ret' can be reduced. [drivers/raw/ifpga_rawdev/base/ifpga_feature_dev.c:182]: (style) The scope of the variable 'feature' can be reduced. [drivers/raw/ifpga_rawdev/base/ifpga_feature_dev.c:221]: (style) The scope of the variable 'feature' can be reduced. [drivers/raw/ifpga_rawdev/base/ifpga_fme_pr.c:226] -> [drivers/raw/ifpga_rawdev/base/ifpga_fme_pr.c:34]: (style) Local variable fme_pr shadows outer function [drivers/raw/ifpga_rawdev/base/ifpga_fme_pr.c:226] -> [drivers/raw/ifpga_rawdev/base/ifpga_fme_pr.c:85]: (style) Local variable fme_pr shadows outer function [drivers/raw/ifpga_rawdev/base/ifpga_fme_pr.c:90] -> [drivers/raw/ifpga_rawdev/base/ifpga_fme_pr.c:141]: (style) Local variable ret shadows outer variable [drivers/raw/ifpga_rawdev/base/ifpga_fme_pr.c:226] -> [drivers/raw/ifpga_rawdev/base/ifpga_fme_pr.c:154]: (style) Local variable fme_pr shadows outer function [drivers/raw/ifpga_rawdev/base/ifpga_fme_pr.c:226] -> [drivers/raw/ifpga_rawdev/base/ifpga_fme_pr.c:320]: (style) Local variable fme_pr shadows outer function [drivers/raw/ifpga_rawdev/base/opae_debug.c:50]: (style) The scope of the variable 'r' can be reduced. [drivers/raw/ifpga_rawdev/base/opae_debug.c:79]: (style) The scope of the variable 'acc' can be reduced. [drivers/raw/skeleton_rawdev/skeleton_rawdev.c:131]: (style) The scope of the variable 'skeldev' can be reduced. [drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c:289] -> [drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c:292]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c:292] -> [drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c:300]: (style) Variable 'ret' is reassigned a value before the old one has been used. [drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c:300]: (style) Variable 'ret' is assigned a value that is never used. [examples/bbdev_app/main.c:538]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/bbdev_app/main.c:540]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/bbdev_app/main.c:542]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/bbdev_app/main.c:544]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/bbdev_app/main.c:547]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/bbdev_app/main.c:1075]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/bbdev_app/main.c:1097] -> [examples/bbdev_app/main.c:1109]: (style) Variable 'ret' is reassigned a value before the old one has been used. [examples/bbdev_app/main.c:371]: (style) The scope of the variable 'start_bit_idx' can be reduced. [examples/bbdev_app/main.c:372]: (style) The scope of the variable 'out_idx' can be reduced. [examples/bbdev_app/main.c:496]: (style) The scope of the variable 'lconf' can be reduced. [examples/bbdev_app/main.c:592]: (error) Memory pointed to by 'xstats' is freed twice. [examples/bbdev_app/main.c:599]: (error) Memory pointed to by 'xstats' is freed twice. [examples/bond/main.c:771]: (style) Assignment of function parameter has no effect outside the function. [examples/bond/main.c:772]: (style) Assignment of function parameter has no effect outside the function. [examples/bond/main.c:526] -> [examples/bond/main.c:543]: (style) Variable 'slave_core_id' is reassigned a value before the old one has been used. [examples/bond/main.c:346]: (style) The scope of the variable 'rx_cnt' can be reduced. [examples/bond/main.c:349]: (style) The scope of the variable 'is_free' can be reduced. [examples/bond/main.c:449]: (style) The scope of the variable 'ip_str' can be reduced. [examples/bond/main.c:113] -> [examples/bond/main.c:699]: (style) Local variable slaves shadows outer variable [examples/distributor/main.c:747]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/distributor/main.c:760]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/distributor/main.c:760]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [examples/distributor/main.c:766]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/distributor/main.c:766]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [examples/distributor/main.c:778]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/distributor/main.c:778]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [examples/ethtool/ethtool-app/ethapp.c:530] -> [examples/ethtool/ethtool-app/ethapp.c:531]: (style) Variable 'new_mtu' is reassigned a value before the old one has been used. [examples/ethtool/ethtool-app/ethapp.c:206]: (style) The scope of the variable 'buf_data' can be reduced. [examples/ethtool/ethtool-app/ethapp.c:207]: (style) The scope of the variable 'fp_regs' can be reduced. [examples/ethtool/ethtool-app/ethapp.c:252]: (style) The scope of the variable 'pos_eeprom' can be reduced. [examples/ethtool/ethtool-app/ethapp.c:253]: (style) The scope of the variable 'stat' can be reduced. [examples/ethtool/ethtool-app/ethapp.c:254]: (style) The scope of the variable 'bytes_eeprom' can be reduced. [examples/ethtool/ethtool-app/ethapp.c:255]: (style) The scope of the variable 'fp_eeprom' can be reduced. [examples/ethtool/ethtool-app/main.c:253]: (warning) %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/ethtool/ethtool-app/main.c:257]: (warning) %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/ethtool/ethtool-app/main.c:92]: (style) The scope of the variable 'size_pktpool' can be reduced. [examples/ethtool/lib/rte_ethtool.c:25]: (style) The scope of the variable 'pci_dev' can be reduced. [examples/eventdev_pipeline/main.c:434]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [examples/eventdev_pipeline/main.c:475]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [examples/eventdev_pipeline/main.c:52]: (style) The scope of the variable 'c' can be reduced. [examples/eventdev_pipeline/main.c:147]: (style) The scope of the variable 'c' can be reduced. [examples/eventdev_pipeline/main.c:366]: (style) The scope of the variable 'ret' can be reduced. [examples/eventdev_pipeline/main.c:399]: (style) The scope of the variable 'portid' can be reduced. [examples/eventdev_pipeline/main.c:386]: (style) Clarify calculation precedence for '&' and '?'. [examples/eventdev_pipeline/pipeline_worker_generic.c:191]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [examples/eventdev_pipeline/pipeline_worker_generic.c:218]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/eventdev_pipeline/pipeline_worker_generic.c:225]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [examples/eventdev_pipeline/pipeline_worker_generic.c:240]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/eventdev_pipeline/pipeline_worker_generic.c:250]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [examples/eventdev_pipeline/pipeline_worker_generic.c:164] -> [examples/eventdev_pipeline/pipeline_worker_generic.c:181]: (style) Variable 'ret' is reassigned a value before the old one has been used. [examples/eventdev_pipeline/pipeline_worker_generic.c:279] -> [examples/eventdev_pipeline/pipeline_worker_generic.c:295]: (style) Variable 'ret' is reassigned a value before the old one has been used. [examples/eventdev_pipeline/pipeline_worker_generic.c:373]: (style) The scope of the variable 'ret' can be reduced. [examples/eventdev_pipeline/pipeline_worker_tx.c:465] -> [examples/eventdev_pipeline/pipeline_worker_tx.c:477]: (style) Variable 'ret' is reassigned a value before the old one has been used. [examples/eventdev_pipeline/pipeline_worker_tx.c:611] -> [examples/eventdev_pipeline/pipeline_worker_tx.c:685]: (style) Variable 'ret' is reassigned a value before the old one has been used. [examples/eventdev_pipeline/pipeline_worker_tx.c:737]: (style) The scope of the variable 'ret' can be reduced. [examples/eventdev_pipeline/pipeline_worker_tx.c:606] -> [examples/eventdev_pipeline/pipeline_worker_tx.c:712]: (style) Local variable ret shadows outer variable [examples/exception_path/main.c:481]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/fips_validation/fips_dev_self_test.c:1363]: (style) The scope of the variable 'ret' can be reduced. [examples/fips_validation/fips_dev_self_test.c:1518]: (style) The scope of the variable 'i' can be reduced. [examples/fips_validation/fips_validation.c:99]: (style) The scope of the variable 'tmp' can be reduced. [examples/fips_validation/fips_validation.c:192]: (style) Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [examples/fips_validation/fips_validation_aes.c:128]: (style) The scope of the variable 'tmp' can be reduced. [examples/fips_validation/fips_validation_cmac.c:79]: (style) The scope of the variable 'tmp' can be reduced. [examples/fips_validation/fips_validation_gcm.c:100]: (style) The scope of the variable 'tmp' can be reduced. [examples/fips_validation/main.c:83] -> [examples/fips_validation/main.c:116]: (style) Variable 'ret' is reassigned a value before the old one has been used. [examples/flow_classify/flow_classify.c:675]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/flow_classify/flow_classify.c:396] -> [examples/flow_classify/flow_classify.c:397]: (style) Variable 's' is reassigned a value before the old one has been used. [examples/flow_filtering/main.c:38] -> [examples/flow_filtering/flow_blocks.c:46]: (style) Local variable flow shadows outer variable [examples/flow_filtering/main.c:236]: (error) Signed integer overflow for expression '(192<<24)+(168<<16)'. [examples/flow_filtering/main.c:236]: (error) Signed integer overflow for expression '(192<<24)+(168<<16)+(1<<8)'. [examples/flow_filtering/main.c:236]: (error) Signed integer overflow for expression '(192<<24)+(168<<16)+(1<<8)+1'. [examples/ip_fragmentation/main.c:381]: (style) The scope of the variable 'diff_tsc' can be reduced. [examples/ip_fragmentation/main.c:381]: (style) The scope of the variable 'cur_tsc' can be reduced. [examples/ip_fragmentation/main.c:585]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/ip_pipeline/cli.c:3614]: (style) Assignment of function parameter has no effect outside the function. [examples/ip_pipeline/cli.c:3615]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [examples/ip_pipeline/cli.c:4292]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [examples/ip_pipeline/cli.c:295]: (style) The scope of the variable 'link_name' can be reduced. [examples/ip_pipeline/cli.c:4787] -> [examples/ip_pipeline/cli.c:4907]: (style) Local variable p shadows outer variable [examples/ip_pipeline/parser.c:423]: (style) The scope of the variable 'xdigits' can be reduced. [examples/ip_pipeline/parser.c:603]: (style) The scope of the variable 'val' can be reduced. [examples/ip_pipeline/parser.c:606]: (style) The scope of the variable 'type' can be reduced. [examples/ip_pipeline/thread.c:1281] -> [examples/ip_pipeline/thread.c:1315]: (style) Variable 'i' is reassigned a value before the old one has been used. [examples/ip_reassembly/main.c:250]: (style) The scope of the variable 'k' can be reduced. [examples/ip_reassembly/main.c:250]: (style) The scope of the variable 'n' can be reduced. [examples/ip_reassembly/main.c:423]: (style) The scope of the variable 'diff_tsc' can be reduced. [examples/ip_reassembly/main.c:423]: (style) The scope of the variable 'cur_tsc' can be reduced. [examples/ip_reassembly/main.c:708]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/ipsec-secgw/esp.c:278]: (style) Redundant condition: sa->type==RTE_SECURITY_ACTION_TYPE_INLINE_CRYPTO. 'A || (!A && B)' is equivalent to 'A || B' [examples/ipsec-secgw/ipip.h:20]: (style) The scope of the variable 'inip6' can be reduced. [examples/ipsec-secgw/ipip.h:127]: (style) The scope of the variable 'inip6' can be reduced. [examples/ipsec-secgw/ipip.h:127]: (style) The scope of the variable 'outip6' can be reduced. [examples/ipsec-secgw/esp.c:143]: (style) The scope of the variable 'ip4' can be reduced. [examples/ipsec-secgw/esp.c:143]: (style) The scope of the variable 'ip' can be reduced. [examples/ipsec-secgw/esp.c:144]: (style) The scope of the variable 'ip6' can be reduced. [examples/ipsec-secgw/esp.c:146]: (style) The scope of the variable 'padding' can be reduced. [examples/ipsec-secgw/esp.c:147]: (style) The scope of the variable 'i' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:1098]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [examples/ipsec-secgw/ipsec-secgw.c:1798]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [examples/ipsec-secgw/ipsec-secgw.c:428]: (style) The scope of the variable 'res' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:470]: (style) The scope of the variable 'ip' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:505]: (style) The scope of the variable 'nb_pkts_in' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:532]: (style) The scope of the variable 'sa_idx' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:562]: (style) The scope of the variable 'idx' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:562]: (style) The scope of the variable 'nb_pkts_out' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:603]: (style) The scope of the variable 'nb_pkts_in' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:603]: (style) The scope of the variable 'idx' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:644]: (style) The scope of the variable 'm' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:645]: (style) The scope of the variable 'nb_pkts_out' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:646]: (style) The scope of the variable 'ip' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:850]: (style) The scope of the variable 'buf' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:887]: (style) The scope of the variable 'n' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:921]: (style) The scope of the variable 'n' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:953]: (style) The scope of the variable 'diff_tsc' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:953]: (style) The scope of the variable 'cur_tsc' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:1038]: (style) The scope of the variable 'lcore' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:1039]: (style) The scope of the variable 'portid' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:1041]: (style) The scope of the variable 'socket_id' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:1091]: (style) The scope of the variable 'nb_rx_queue' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:1092]: (style) The scope of the variable 'lcore' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:1217]: (style) The scope of the variable 'size' can be reduced. [examples/ipsec-secgw/ipsec-secgw.c:1454]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/ipsec-secgw/ipsec.c:224] -> [examples/ipsec-secgw/ipsec.c:230]: (style) Variable 'ret' is reassigned a value before the old one has been used. [examples/ipsec-secgw/ipsec.c:342]: (style) The scope of the variable 'i' can be reduced. [examples/ipsec-secgw/ipsec.c:482]: (style) The scope of the variable 'ret' can be reduced. [examples/ipsec-secgw/ipsec.c:484]: (style) The scope of the variable 'sa' can be reduced. [examples/ipsec-secgw/ipsec.c:47] -> [examples/ipsec-secgw/ipsec.c:117]: (style) Local variable ret shadows outer variable [examples/ipsec-secgw/ipsec_process.c:221] -> [examples/ipsec-secgw/ipsec_process.c:233]: (warning) Either the condition 'sa==NULL' is redundant or there is possible null pointer dereference: sa. [examples/ipsec-secgw/ipsec_process.c:203]: (style) The scope of the variable 'satp' can be reduced. [examples/ipsec-secgw/ipsec_process.c:208]: (style) The scope of the variable 'ips' can be reduced. [examples/ipsec-secgw/ipsec_process.c:317]: (style) The scope of the variable 'satp' can be reduced. [examples/ipsec-secgw/ipsec_process.c:318]: (style) The scope of the variable 'k' can be reduced. [examples/ipsec-secgw/ipsec_process.c:319]: (style) The scope of the variable 'ss' can be reduced. [examples/ipsec-secgw/ipsec_process.c:129]: (style) Variable 'spi' is not assigned a value. [examples/ipsec-secgw/parser.c:114]: (style) The scope of the variable 'xdigits' can be reduced. [examples/ipsec-secgw/rt.c:149]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [examples/ipsec-secgw/rt.c:153]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [examples/ipsec-secgw/rt.c:170]: (warning) %hhu in format string (no. 1) requires 'unsigned char' but the argument type is 'signed char'. [examples/ipsec-secgw/rt.c:170]: (warning) %hhu in format string (no. 2) requires 'unsigned char' but the argument type is 'signed char'. [examples/ipsec-secgw/rt.c:170]: (warning) %hhu in format string (no. 3) requires 'unsigned char' but the argument type is 'signed char'. [examples/ipsec-secgw/rt.c:170]: (warning) %hhu in format string (no. 4) requires 'unsigned char' but the argument type is 'signed char'. [examples/ipsec-secgw/rt.c:175]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [examples/ipsec-secgw/sa.c:716]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [examples/ipsec-secgw/sa.c:719]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [examples/ipsec-secgw/sa.c:768]: (style) The scope of the variable 'idx' can be reduced. [examples/ipsec-secgw/sa.c:1065]: (style) The scope of the variable 'sa' can be reduced. [examples/ipsec-secgw/sa.c:1066]: (style) The scope of the variable 'lsa' can be reduced. [examples/ipsec-secgw/sp4.c:437]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [examples/ipsec-secgw/sp6.c:551]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [examples/ipv4_multicast/main.c:574]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/kni/main.c:209]: (style) The scope of the variable 'nb_rx' can be reduced. [examples/kni/main.c:209]: (style) The scope of the variable 'num' can be reduced. [examples/kni/main.c:247]: (style) The scope of the variable 'nb_tx' can be reduced. [examples/kni/main.c:247]: (style) The scope of the variable 'num' can be reduced. [examples/kni/main.c:644]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/l2fwd-cat/cat.c:442]: (portability) Shifting a negative value is technically undefined behaviour [examples/l2fwd-cat/cat.c:442]: (style) int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [examples/l2fwd-cat/l2fwd-cat.c:172]: (style) Assignment of function parameter has no effect outside the function. [examples/l2fwd-cat/l2fwd-cat.c:173]: (style) Assignment of function parameter has no effect outside the function. [examples/l2fwd-crypto/main.c:2472]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [examples/l2fwd-crypto/main.c:393]: (style) The scope of the variable 'pad_len' can be reduced. [examples/l2fwd-crypto/main.c:394]: (style) The scope of the variable 'padding' can be reduced. [examples/l2fwd-crypto/main.c:690]: (style) The scope of the variable 'diff_tsc' can be reduced. [examples/l2fwd-crypto/main.c:690]: (style) The scope of the variable 'cur_tsc' can be reduced. [examples/l2fwd-crypto/main.c:1197]: (style) The scope of the variable 'retval' can be reduced. [examples/l2fwd-crypto/main.c:1732]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/l2fwd-jobstats/main.c:431]: (style) The scope of the variable 'portid' can be reduced. [examples/l2fwd-jobstats/main.c:469]: (style) The scope of the variable 'portid' can be reduced. [examples/l2fwd-jobstats/main.c:686]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/l2fwd-jobstats/main.c:469] -> [examples/l2fwd-jobstats/main.c:508]: (style) Local variable i shadows outer variable [examples/l2fwd-keepalive/ka-agent/main.c:56]: (style) The scope of the variable 'most_recent_alive_time' can be reduced. [examples/l2fwd-keepalive/main.c:198]: (style) The scope of the variable 'diff_tsc' can be reduced. [examples/l2fwd-keepalive/main.c:198]: (style) The scope of the variable 'cur_tsc' can be reduced. [examples/l2fwd-keepalive/main.c:451]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/l2fwd-keepalive/main.c:524] -> [examples/l2fwd-keepalive/main.c:768]: (style) Local variable qconf shadows outer variable [examples/l2fwd/main.c:193]: (style) The scope of the variable 'diff_tsc' can be reduced. [examples/l2fwd/main.c:193]: (style) The scope of the variable 'cur_tsc' can be reduced. [examples/l2fwd/main.c:450]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/l3fwd-acl/main.c:557]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/l3fwd-acl/main.c:586]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/l3fwd-acl/main.c:816] -> [examples/l3fwd-acl/main.c:818]: (style) Variable 's' is reassigned a value before the old one has been used. [examples/l3fwd-acl/main.c:913] -> [examples/l3fwd-acl/main.c:915]: (style) Variable 's' is reassigned a value before the old one has been used. [examples/l3fwd-acl/main.c:623]: (style) The scope of the variable 'ipv4_hdr' can be reduced. [examples/l3fwd-acl/main.c:1166]: (style) The scope of the variable 'lcore_id' can be reduced. [examples/l3fwd-acl/main.c:1168]: (style) The scope of the variable 'socketid' can be reduced. [examples/l3fwd-acl/main.c:1329]: (style) The scope of the variable 'diff_tsc' can be reduced. [examples/l3fwd-acl/main.c:1329]: (style) The scope of the variable 'cur_tsc' can be reduced. [examples/l3fwd-acl/main.c:1426]: (style) The scope of the variable 'queue' can be reduced. [examples/l3fwd-acl/main.c:1426]: (style) The scope of the variable 'lcore' can be reduced. [examples/l3fwd-acl/main.c:1428]: (style) The scope of the variable 'socketid' can be reduced. [examples/l3fwd-acl/main.c:1455]: (style) The scope of the variable 'portid' can be reduced. [examples/l3fwd-acl/main.c:1490]: (style) The scope of the variable 'nb_rx_queue' can be reduced. [examples/l3fwd-acl/main.c:1491]: (style) The scope of the variable 'lcore' can be reduced. [examples/l3fwd-acl/main.c:1589]: (style) The scope of the variable 'size' can be reduced. [examples/l3fwd-acl/main.c:1811]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/l3fwd-power/main.c:1188]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses. [examples/l3fwd-power/main.c:372]: (style) The scope of the variable 'lcore_id' can be reduced. [examples/l3fwd-power/main.c:373]: (style) The scope of the variable 'portid' can be reduced. [examples/l3fwd-power/main.c:374]: (style) The scope of the variable 'ret' can be reduced. [examples/l3fwd-power/main.c:665]: (style) The scope of the variable 'ipv4_hdr' can be reduced. [examples/l3fwd-power/main.c:666]: (style) The scope of the variable 'd_addr_bytes' can be reduced. [examples/l3fwd-power/main.c:667]: (style) The scope of the variable 'dst_port' can be reduced. [examples/l3fwd-power/main.c:803]: (style) The scope of the variable 'port_id' can be reduced. [examples/l3fwd-power/main.c:804]: (style) The scope of the variable 'queue_id' can be reduced. [examples/l3fwd-power/main.c:805]: (style) The scope of the variable 'data' can be reduced. [examples/l3fwd-power/main.c:831]: (style) The scope of the variable 'queue_id' can be reduced. [examples/l3fwd-power/main.c:832]: (style) The scope of the variable 'port_id' can be reduced. [examples/l3fwd-power/main.c:848]: (style) The scope of the variable 'queueid' can be reduced. [examples/l3fwd-power/main.c:849]: (style) The scope of the variable 'portid' can be reduced. [examples/l3fwd-power/main.c:850]: (style) The scope of the variable 'data' can be reduced. [examples/l3fwd-power/main.c:851]: (style) The scope of the variable 'ret' can be reduced. [examples/l3fwd-power/main.c:876]: (style) The scope of the variable 'diff_tsc' can be reduced. [examples/l3fwd-power/main.c:876]: (style) The scope of the variable 'cur_tsc' can be reduced. [examples/l3fwd-power/main.c:1172]: (style) The scope of the variable 'queue' can be reduced. [examples/l3fwd-power/main.c:1172]: (style) The scope of the variable 'lcore' can be reduced. [examples/l3fwd-power/main.c:1174]: (style) The scope of the variable 'socketid' can be reduced. [examples/l3fwd-power/main.c:1200]: (style) The scope of the variable 'portid' can be reduced. [examples/l3fwd-power/main.c:1236]: (style) The scope of the variable 'nb_rx_queue' can be reduced. [examples/l3fwd-power/main.c:1237]: (style) The scope of the variable 'lcore' can be reduced. [examples/l3fwd-power/main.c:1329]: (style) The scope of the variable 'size' can be reduced. [examples/l3fwd-power/main.c:1380]: (style) The scope of the variable 'training_flag' can be reduced. [examples/l3fwd-power/main.c:1381]: (style) The scope of the variable 'med_edpi' can be reduced. [examples/l3fwd-power/main.c:1382]: (style) The scope of the variable 'hgh_edpi' can be reduced. [examples/l3fwd-power/main.c:1665]: (style) The scope of the variable 'ret' can be reduced. [examples/l3fwd-power/main.c:1761]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/l3fwd-power/main.c:1892]: (style) The scope of the variable 'cur_tsc' can be reduced. [examples/l3fwd-power/main.c:1892]: (style) The scope of the variable 'diff_tsc' can be reduced. [examples/l3fwd-power/perf_core.c:36]: (style) The scope of the variable 'ret' can be reduced. [examples/l3fwd-power/perf_core.c:121]: (style) The scope of the variable 'size' can be reduced. [examples/l3fwd-power/perf_core.c:167]: (style) The scope of the variable 'idx' can be reduced. [examples/l3fwd-vf/main.c:566]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses. [examples/l3fwd-vf/main.c:465]: (style) The scope of the variable 'diff_tsc' can be reduced. [examples/l3fwd-vf/main.c:465]: (style) The scope of the variable 'cur_tsc' can be reduced. [examples/l3fwd-vf/main.c:551]: (style) The scope of the variable 'queue' can be reduced. [examples/l3fwd-vf/main.c:551]: (style) The scope of the variable 'lcore' can be reduced. [examples/l3fwd-vf/main.c:553]: (style) The scope of the variable 'socketid' can be reduced. [examples/l3fwd-vf/main.c:578]: (style) The scope of the variable 'portid' can be reduced. [examples/l3fwd-vf/main.c:611]: (style) The scope of the variable 'nb_rx_queue' can be reduced. [examples/l3fwd-vf/main.c:612]: (style) The scope of the variable 'lcore' can be reduced. [examples/l3fwd-vf/main.c:648]: (style) The scope of the variable 'portid' can be reduced. [examples/l3fwd-vf/main.c:693]: (style) The scope of the variable 'size' can be reduced. [examples/l3fwd-vf/main.c:835]: (style) The scope of the variable 'ret' can be reduced. [examples/l3fwd/l3fwd_sse.h:200] -> [examples/l3fwd/l3fwd_sse.h:210]: (style) Variable 'j' is reassigned a value before the old one has been used. [examples/l3fwd/l3fwd_common.h:33]: (style) The scope of the variable 'ihl' can be reduced. [examples/l3fwd/l3fwd_sse.h:212]: (style) The scope of the variable 'm' can be reduced. [examples/l3fwd/l3fwd_em_sequential.h:28]: (style) The scope of the variable 'ipv4_hdr' can be reduced. [examples/l3fwd/l3fwd_em.c:350]: (style) The scope of the variable 'ret' can be reduced. [examples/l3fwd/l3fwd_em.c:377]: (style) The scope of the variable 'ret' can be reduced. [examples/l3fwd/l3fwd_em.c:568]: (style) The scope of the variable 'hdr_len' can be reduced. [examples/l3fwd/l3fwd_em.c:569]: (style) The scope of the variable 'ipv4_hdr' can be reduced. [examples/l3fwd/l3fwd_em.c:620]: (style) The scope of the variable 'diff_tsc' can be reduced. [examples/l3fwd/l3fwd_em.c:620]: (style) The scope of the variable 'cur_tsc' can be reduced. [examples/l3fwd/l3fwd_neon.h:203] -> [examples/l3fwd/l3fwd_neon.h:213]: (style) Variable 'j' is reassigned a value before the old one has been used. [examples/l3fwd/l3fwd_neon.h:215]: (style) The scope of the variable 'm' can be reduced. [examples/l3fwd/l3fwd_em.h:13]: (style) The scope of the variable 'ipv4_hdr' can be reduced. [examples/l3fwd/l3fwd_lpm.c:106]: (style) The scope of the variable 'ipv4_hdr' can be reduced. [examples/l3fwd/l3fwd_lpm.h:13]: (style) The scope of the variable 'ipv4_hdr' can be reduced. [examples/l3fwd/l3fwd_lpm.c:176]: (style) The scope of the variable 'diff_tsc' can be reduced. [examples/l3fwd/l3fwd_lpm.c:176]: (style) The scope of the variable 'cur_tsc' can be reduced. [examples/l3fwd/l3fwd_lpm_neon.h:91]: (style) The scope of the variable 'i' can be reduced. [examples/l3fwd/l3fwd_altivec.h:228] -> [examples/l3fwd/l3fwd_altivec.h:238]: (style) Variable 'j' is reassigned a value before the old one has been used. [examples/l3fwd/l3fwd_altivec.h:240]: (style) The scope of the variable 'm' can be reduced. [examples/l3fwd/l3fwd_altivec.h:142]: (style) Variable 'eth_hdr' is assigned a value that is never used. [examples/l3fwd/l3fwd_lpm_altivec.h:129]: (style) Variable 'j' is modified but its new value is never used. [examples/l3fwd/l3fwd_lpm_sse.h:114]: (style) Variable 'j' is modified but its new value is never used. [examples/l3fwd/main.c:201]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses. [examples/l3fwd/main.c:186]: (style) The scope of the variable 'queue' can be reduced. [examples/l3fwd/main.c:186]: (style) The scope of the variable 'lcore' can be reduced. [examples/l3fwd/main.c:188]: (style) The scope of the variable 'socketid' can be reduced. [examples/l3fwd/main.c:213]: (style) The scope of the variable 'portid' can be reduced. [examples/l3fwd/main.c:252]: (style) The scope of the variable 'nb_rx_queue' can be reduced. [examples/l3fwd/main.c:253]: (style) The scope of the variable 'lcore' can be reduced. [examples/l3fwd/main.c:371]: (style) The scope of the variable 'size' can be reduced. [examples/l3fwd/main.c:700]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/link_status_interrupt/main.c:195]: (style) The scope of the variable 'diff_tsc' can be reduced. [examples/link_status_interrupt/main.c:195]: (style) The scope of the variable 'cur_tsc' can be reduced. [examples/link_status_interrupt/main.c:465]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/multi_process/client_server_mp/mp_client/client.c:249]: (style) The scope of the variable 'port' can be reduced. [examples/multi_process/client_server_mp/mp_server/init.c:149]: (style) The scope of the variable 'socket_id' can be reduced. [examples/multi_process/client_server_mp/mp_server/init.c:150]: (style) The scope of the variable 'q_name' can be reduced. [examples/multi_process/client_server_mp/mp_server/init.c:178]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/multi_process/client_server_mp/mp_server/main.c:274]: (error) syntax error [examples/multi_process/symmetric_mp/main.c:357]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/netmap_compat/bridge/bridge.c:148]: (style) The scope of the variable 'tmp' can be reduced. [examples/netmap_compat/lib/compat_netmap.c:436]: (style) The scope of the variable 'n_rx' can be reduced. [examples/netmap_compat/lib/compat_netmap.c:437]: (style) The scope of the variable 'burst_size' can be reduced. [examples/netmap_compat/lib/compat_netmap.c:478]: (style) The scope of the variable 'r' can be reduced. [examples/netmap_compat/lib/compat_netmap.c:571]: (style) The scope of the variable 'r' can be reduced. [examples/packet_ordering/main.c:430]: (style) The scope of the variable 'burst_size' can be reduced. [examples/packet_ordering/main.c:480]: (style) The scope of the variable 'nb_dq_mbufs' can be reduced. [examples/packet_ordering/main.c:564]: (style) The scope of the variable 'dqnum' can be reduced. [examples/performance-thread/common/lthread_pool.h:183]: (style) The scope of the variable 'n' can be reduced. [examples/performance-thread/common/lthread_pool.h:206]: (style) The scope of the variable 'i' can be reduced. [examples/performance-thread/common/lthread_objcache.h:91]: (style) The scope of the variable 'i' can be reduced. [examples/performance-thread/common/lthread_cond.c:151]: (style) The scope of the variable 'lt' can be reduced. [examples/performance-thread/common/lthread_mutex.c:183]: (style) The scope of the variable 'unblocked' can be reduced. [examples/performance-thread/common/lthread_sched.c:95] -> [examples/performance-thread/common/lthread_sched.c:102]: (style) Variable 'alloc_status' is reassigned a value before the old one has been used. [examples/performance-thread/common/lthread_sched.c:102] -> [examples/performance-thread/common/lthread_sched.c:108]: (style) Variable 'alloc_status' is reassigned a value before the old one has been used. [examples/performance-thread/common/lthread_sched.c:108] -> [examples/performance-thread/common/lthread_sched.c:114]: (style) Variable 'alloc_status' is reassigned a value before the old one has been used. [examples/performance-thread/common/lthread_sched.c:114] -> [examples/performance-thread/common/lthread_sched.c:123]: (style) Variable 'alloc_status' is reassigned a value before the old one has been used. [examples/performance-thread/common/lthread_sched.c:123] -> [examples/performance-thread/common/lthread_sched.c:132]: (style) Variable 'alloc_status' is reassigned a value before the old one has been used. [examples/performance-thread/common/lthread_sched.c:132] -> [examples/performance-thread/common/lthread_sched.c:141]: (style) Variable 'alloc_status' is reassigned a value before the old one has been used. [examples/performance-thread/common/lthread_sched.c:141] -> [examples/performance-thread/common/lthread_sched.c:150]: (style) Variable 'alloc_status' is reassigned a value before the old one has been used. [examples/performance-thread/common/lthread_sched.c:150] -> [examples/performance-thread/common/lthread_sched.c:159]: (style) Variable 'alloc_status' is reassigned a value before the old one has been used. [examples/performance-thread/common/lthread_sched.c:159] -> [examples/performance-thread/common/lthread_sched.c:167]: (style) Variable 'alloc_status' is reassigned a value before the old one has been used. [examples/performance-thread/common/lthread_tls.c:50]: (style) The scope of the variable 'new_key' can be reduced. [examples/performance-thread/common/lthread_tls.c:51]: (style) The scope of the variable 'name' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:1964]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/performance-thread/l3fwd-thread/main.c:2543]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/performance-thread/l3fwd-thread/main.c:1817] -> [examples/performance-thread/l3fwd-thread/main.c:1827]: (style) Variable 'j' is reassigned a value before the old one has been used. [examples/performance-thread/l3fwd-thread/main.c:2030] -> [examples/performance-thread/l3fwd-thread/main.c:2033]: (style) Variable 'tx_conf->conf.busy[1]' is reassigned a value before the old one has been used. [examples/performance-thread/l3fwd-thread/main.c:2036] -> [examples/performance-thread/l3fwd-thread/main.c:2039]: (style) Variable 'tx_conf->conf.busy[0]' is reassigned a value before the old one has been used. [examples/performance-thread/l3fwd-thread/main.c:2159] -> [examples/performance-thread/l3fwd-thread/main.c:2162]: (style) Variable 'rx_conf->conf.busy[1]' is reassigned a value before the old one has been used. [examples/performance-thread/l3fwd-thread/main.c:2351] -> [examples/performance-thread/l3fwd-thread/main.c:2354]: (style) Variable 'tx_conf->conf.busy[0]' is reassigned a value before the old one has been used. [examples/performance-thread/l3fwd-thread/main.c:2404] -> [examples/performance-thread/l3fwd-thread/main.c:2407]: (style) Variable 'rx_conf->conf.busy[1]' is reassigned a value before the old one has been used. [examples/performance-thread/l3fwd-thread/main.c:1232]: (style) The scope of the variable 'ipv4_hdr' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:1319]: (style) The scope of the variable 'ihl' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:1829]: (style) The scope of the variable 'm' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:1874]: (style) The scope of the variable 'diff_tsc' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:1874]: (style) The scope of the variable 'cur_tsc' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:2296]: (style) The scope of the variable 'diff_tsc' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:2296]: (style) The scope of the variable 'cur_tsc' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:2472]: (style) The scope of the variable 'queue' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:2472]: (style) The scope of the variable 'lcore' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:2474]: (style) The scope of the variable 'socketid' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:2498]: (style) The scope of the variable 'portid' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:2532]: (style) The scope of the variable 'socket_io' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:2535]: (style) The scope of the variable 'rx_thread_id' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:2580]: (style) The scope of the variable 'nb_rx_queue' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:2581]: (style) The scope of the variable 'thread' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:2717]: (style) The scope of the variable 'size' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:2773]: (style) The scope of the variable 'size' can be reduced. [examples/performance-thread/l3fwd-thread/main.c:3421]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/performance-thread/pthread_shim/main.c:132]: (style) The scope of the variable 'ret' can be reduced. [examples/ptpclient/ptpclient.c:366]: (style) The scope of the variable 'client_clkid' can be reduced. [examples/ptpclient/ptpclient.c:371]: (style) The scope of the variable 'pkt_size' can be reduced. [examples/ptpclient/ptpclient.c:372]: (style) The scope of the variable 'wait_us' can be reduced. [examples/ptpclient/ptpclient.c:498]: (style) The scope of the variable 'rx_tstamp' can be reduced. [examples/ptpclient/ptpclient.c:537]: (style) The scope of the variable 'ptp_hdr' can be reduced. [examples/qos_meter/main.c:171]: (style) The scope of the variable 'current_time' can be reduced. [examples/qos_sched/app_thread.c:55]: (style) The scope of the variable 'nb_rx' can be reduced. [examples/qos_sched/app_thread.c:109]: (style) The scope of the variable 'ret' can be reduced. [examples/qos_sched/app_thread.c:151]: (style) The scope of the variable 'retval' can be reduced. [examples/qos_sched/args.c:75]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [examples/qos_sched/args.c:75]: (warning) %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [examples/qos_sched/args.c:75]: (warning) %u in format string (no. 5) requires 'unsigned int' but the argument type is 'signed int'. [examples/qos_sched/args.c:75]: (warning) %u in format string (no. 6) requires 'unsigned int' but the argument type is 'signed int'. [examples/qos_sched/args.c:75]: (warning) %u in format string (no. 7) requires 'unsigned int' but the argument type is 'signed int'. [examples/qos_sched/args.c:75]: (warning) %u in format string (no. 8) requires 'unsigned int' but the argument type is 'signed int'. [examples/qos_sched/args.c:75]: (warning) %u in format string (no. 9) requires 'unsigned int' but the argument type is 'signed int'. [examples/qos_sched/args.c:75]: (warning) %u in format string (no. 10) requires 'unsigned int' but the argument type is 'signed int'. [examples/qos_sched/args.c:75]: (warning) %u in format string (no. 11) requires 'unsigned int' but the argument type is 'signed int'. [examples/qos_sched/args.c:75]: (warning) %u in format string (no. 12) requires 'unsigned int' but the argument type is 'signed int'. [examples/qos_sched/args.c:75]: (warning) %u in format string (no. 13) requires 'unsigned int' but the argument type is 'signed int'. [examples/qos_sched/args.c:75]: (warning) %u in format string (no. 14) requires 'unsigned int' but the argument type is 'signed int'. [examples/qos_sched/args.c:75]: (warning) %u in format string (no. 15) requires 'unsigned int' but the argument type is 'signed int'. [examples/qos_sched/args.c:75]: (warning) %u in format string (no. 16) requires 'unsigned int' but the argument type is 'signed int'. [examples/qos_sched/args.c:75]: (warning) %u in format string (no. 17) requires 'unsigned int' but the argument type is 'signed int'. [examples/qos_sched/args.c:117]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [examples/qos_sched/args.c:112]: (style) The scope of the variable 'len' can be reduced. [examples/qos_sched/cfg_file.c:27]: (style) The scope of the variable 'j' can be reduced. [examples/qos_sched/cfg_file.c:135]: (style) The scope of the variable 'entry' can be reduced. [examples/qos_sched/init.c:243]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/qos_sched/init.c:237]: (style) The scope of the variable 'err' can be reduced. [examples/qos_sched/stats.c:56]: (style) The scope of the variable 'part_average' can be reduced. [examples/qos_sched/stats.c:96]: (style) The scope of the variable 'part_average' can be reduced. [examples/qos_sched/stats.c:135]: (style) The scope of the variable 'part_average' can be reduced. [examples/qos_sched/stats.c:177]: (style) The scope of the variable 'part_average' can be reduced. [examples/rxtx_callbacks/main.c:186]: (style) Assignment of function parameter has no effect outside the function. [examples/rxtx_callbacks/main.c:187]: (style) Assignment of function parameter has no effect outside the function. [examples/server_node_efd/node/node.c:225]: (style) The scope of the variable 'target_node' can be reduced. [examples/server_node_efd/node/node.c:355]: (style) The scope of the variable 'port' can be reduced. [examples/server_node_efd/server/init.c:170]: (style) The scope of the variable 'socket_id' can be reduced. [examples/server_node_efd/server/init.c:171]: (style) The scope of the variable 'q_name' can be reduced. [examples/server_node_efd/server/init.c:215]: (style) The scope of the variable 'ret' can be reduced. [examples/server_node_efd/server/init.c:218]: (style) The scope of the variable 'node_id' can be reduced. [examples/server_node_efd/server/init.c:241]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/server_node_efd/server/main.c:209]: (style) The scope of the variable 'j' can be reduced. [examples/server_node_efd/server/main.c:246]: (style) The scope of the variable 'node' can be reduced. [examples/service_cores/main.c:131]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/service_cores/main.c:135]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/service_cores/main.c:140]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/skeleton/basicfwd.c:170]: (style) Assignment of function parameter has no effect outside the function. [examples/skeleton/basicfwd.c:171]: (style) Assignment of function parameter has no effect outside the function. [examples/tep_termination/main.c:534]: (style) The scope of the variable 'm_table' can be reduced. [examples/tep_termination/main.c:535]: (style) The scope of the variable 'ret' can be reduced. [examples/tep_termination/main.c:591]: (style) The scope of the variable 'diff_tsc' can be reduced. [examples/tep_termination/main.c:591]: (style) The scope of the variable 'cur_tsc' can be reduced. [examples/tep_termination/main.c:157] -> [examples/tep_termination/main.c:1131]: (style) Local variable nb_ports shadows outer variable [examples/tep_termination/vxlan.c:78]: (style) The scope of the variable 'udp_hdr' can be reduced. [examples/tep_termination/vxlan_setup.c:343]: (style) The scope of the variable 'i' can be reduced. [examples/tep_termination/vxlan_setup.c:343]: (style) The scope of the variable 'rx_count' can be reduced. [examples/tep_termination/vxlan_setup.c:344]: (style) The scope of the variable 'ret' can be reduced. [examples/tep_termination/vxlan_setup.c:110] -> [examples/tep_termination/vxlan_setup.c:193]: (style) Local variable dev_info shadows outer variable [examples/timer/main.c:61]: (style) The scope of the variable 'cur_tsc' can be reduced. [examples/timer/main.c:61]: (style) The scope of the variable 'diff_tsc' can be reduced. [examples/vdpa/main.c:403]: (style) The scope of the variable 'i' can be reduced. [examples/vdpa/main.c:405]: (style) The scope of the variable 'cl' can be reduced. [examples/vhost/main.c:734]: (style) The scope of the variable 'i' can be reduced. [examples/vhost/main.c:735]: (style) The scope of the variable 'rx_count' can be reduced. [examples/vhost/main.c:1322]: (style) The scope of the variable 'ret' can be reduced. [examples/vhost/virtio_net.c:61]: (style) The scope of the variable 'cpy_len' can be reduced. [examples/vhost/virtio_net.c:90]: (style) The scope of the variable 'dst' can be reduced. [examples/vhost/virtio_net.c:247]: (style) The scope of the variable 'cpy_len' can be reduced. [examples/vhost_crypto/main.c:150]: (style) The scope of the variable 'size' can be reduced. [examples/vhost_scsi/scsi.c:59]: (style) The scope of the variable 'value' can be reduced. [examples/vm_power_manager/channel_manager.c:664]: (style) The scope of the variable 'n_vcpus' can be reduced. [examples/vm_power_manager/channel_monitor.c:537]: (style) Condition 'diff<(pol->pkt.traffic_policy.avg_max_packet_thresh)' is always true [examples/vm_power_manager/channel_monitor.c:752]: (style) The scope of the variable 'n_bytes' can be reduced. [examples/vm_power_manager/guest_cli/parse.c:22]: (style) The scope of the variable 'idx' can be reduced. [examples/vm_power_manager/guest_cli/vm_power_cli_guest.c:41] -> [examples/vm_power_manager/guest_cli/vm_power_cli_guest.c:52]: (style) Local variable policy shadows outer variable [examples/vm_power_manager/main.c:406]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/vm_power_manager/main.c:426]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/vm_power_manager/main.c:223]: (style) The scope of the variable 'all_ports_up' can be reduced. [examples/vm_power_manager/main.c:313]: (style) The scope of the variable 'mbuf_pool' can be reduced. [examples/vm_power_manager/main.c:314]: (style) The scope of the variable 'portid' can be reduced. [examples/vm_power_manager/main.c:353]: (style) The scope of the variable 'ret' can be reduced. [examples/vm_power_manager/main.c:310] -> [examples/vm_power_manager/main.c:353]: (style) Local variable ret shadows outer variable [examples/vm_power_manager/oob_monitor_x86.c:230] -> [examples/vm_power_manager/oob_monitor_x86.c:232]: (warning) Opposite inner 'if' condition leads to a dead code block. [examples/vm_power_manager/oob_monitor_x86.c:104]: (style) The scope of the variable 'proc_file' can be reduced. [examples/vm_power_manager/oob_monitor_x86.c:105]: (style) The scope of the variable 'ret' can be reduced. [examples/vm_power_manager/oob_monitor_x86.c:164]: (style) The scope of the variable 'proc_file' can be reduced. [examples/vm_power_manager/oob_monitor_x86.c:165]: (style) The scope of the variable 'ret' can be reduced. [examples/vm_power_manager/oob_monitor_x86.c:225]: (style) The scope of the variable 'printed' can be reduced. [examples/vm_power_manager/parse.c:21]: (style) The scope of the variable 'idx' can be reduced. [examples/vm_power_manager/power_manager.c:44] -> [examples/vm_power_manager/power_manager.c:57]: (style) Local variable ci shadows outer variable [examples/vm_power_manager/power_manager.c:44] -> [examples/vm_power_manager/power_manager.c:83]: (style) Local variable ci shadows outer variable [examples/vm_power_manager/power_manager.c:44] -> [examples/vm_power_manager/power_manager.c:159]: (style) Local variable ci shadows outer variable [examples/vm_power_manager/power_manager.c:44] -> [examples/vm_power_manager/power_manager.c:246]: (style) Local variable ci shadows outer variable [examples/vm_power_manager/vm_power_cli.c:226]: (style) The scope of the variable 'channel_num' can be reduced. [examples/vm_power_manager/vm_power_cli.c:229]: (style) The scope of the variable 'token' can be reduced. [examples/vm_power_manager/vm_power_cli.c:307]: (style) The scope of the variable 'channel_num' can be reduced. [examples/vm_power_manager/vm_power_cli.c:310]: (style) The scope of the variable 'token' can be reduced. [examples/vmdq/main.c:179]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/vmdq/main.c:179]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [examples/vmdq/main.c:317]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [examples/vmdq_dcb/main.c:212]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [examples/vmdq_dcb/main.c:196]: (style) The scope of the variable 'queues_per_pool' can be reduced. [kernel/freebsd/contigmem/contigmem.c:141]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/freebsd/nic_uio/nic_uio.c:155]: (style) The scope of the variable 'token' can be reduced. [kernel/freebsd/nic_uio/nic_uio.c:257]: (style) The scope of the variable 'bus' can be reduced. [kernel/freebsd/nic_uio/nic_uio.c:257]: (style) The scope of the variable 'device' can be reduced. [kernel/freebsd/nic_uio/nic_uio.c:257]: (style) The scope of the variable 'function' can be reduced. [kernel/freebsd/nic_uio/nic_uio.c:260]: (style) The scope of the variable 'token' can be reduced. [kernel/freebsd/nic_uio/nic_uio.c:70]: (style) struct member 'device::vend' is never used. [kernel/freebsd/nic_uio/nic_uio.c:71]: (style) struct member 'device::dev' is never used. [kernel/freebsd/nic_uio/nic_uio.c:75]: (style) struct member 'pci_bdf::bus' is never used. [kernel/freebsd/nic_uio/nic_uio.c:76]: (style) struct member 'pci_bdf::devid' is never used. [kernel/freebsd/nic_uio/nic_uio.c:77]: (style) struct member 'pci_bdf::function' is never used. [kernel/linux/kni/ethtool/igb/e1000_82575.c:798] -> [kernel/linux/kni/ethtool/igb/e1000_82575.c:801]: (style) Variable 'ret_val' is reassigned a value before the old one has been used. [kernel/linux/kni/ethtool/igb/e1000_82575.c:1170] -> [kernel/linux/kni/ethtool/igb/e1000_82575.c:1185]: (style) Variable 'ret_val' is reassigned a value before the old one has been used. [kernel/linux/kni/ethtool/igb/e1000_82575.c:3249]: (style) The scope of the variable 'bit' can be reduced. [kernel/linux/kni/ethtool/igb/e1000_82575.c:2270]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [kernel/linux/kni/ethtool/igb/e1000_82575.c:2272]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [kernel/linux/kni/ethtool/igb/e1000_82575.c:2279]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [kernel/linux/kni/ethtool/igb/e1000_82575.c:2281]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [kernel/linux/kni/ethtool/igb/e1000_82575.c:1239]: (style) Variable 'ret_val' is assigned a value that is never used. [kernel/linux/kni/ethtool/igb/e1000_82575.c:333]: (style) Clarify calculation precedence for '&' and '?'. [kernel/linux/kni/ethtool/igb/e1000_82575.c:334]: (style) Clarify calculation precedence for '&' and '?'. [kernel/linux/kni/ethtool/igb/e1000_82575.c:2910]: (style) Clarify calculation precedence for '&' and '?'. [kernel/linux/kni/ethtool/igb/e1000_i210.c:862] -> [kernel/linux/kni/ethtool/igb/e1000_i210.c:865]: (warning) Identical condition 'ret_val', second condition is always false [kernel/linux/kni/ethtool/igb/e1000_mac.c:1228] -> [kernel/linux/kni/ethtool/igb/e1000_mac.c:1233]: (warning) Identical condition 'ret_val', second condition is always false [kernel/linux/kni/ethtool/igb/e1000_phy.c:2721] -> [kernel/linux/kni/ethtool/igb/e1000_phy.c:2726]: (warning) Identical condition 'ret_val', second condition is always false [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2118]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2120]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2122]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2126]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2128]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2130]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2132]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2134]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2136]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2138]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2140]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2142]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2144]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2146]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2148]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2150]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:785] -> [kernel/linux/kni/ethtool/igb/igb_ethtool.c:798]: (style) Variable 'ret_val' is reassigned a value before the old one has been used. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:1553]: (style) The scope of the variable 'rx_buffer_info' can be reduced. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:1554]: (style) The scope of the variable 'tx_buffer_info' can be reduced. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:1713] -> [kernel/linux/kni/ethtool/igb/igb_ethtool.c:1718]: (style) Local variable i shadows outer variable [kernel/linux/kni/ethtool/igb/igb_ethtool.c:780]: (portability) 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2607]: (information) Skipping configuration 'ETHTOOL_GRXRINGS;HAVE_ETHTOOL_GET_RXNFC_VOID_RULE_LOCS;SIOCETHTOOL' since the value of 'ETHTOOL_GRXRINGS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2607]: (information) Skipping configuration 'ETHTOOL_GRXRINGS;SIOCETHTOOL' since the value of 'ETHTOOL_GRXRINGS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:255]: (information) Skipping configuration 'ETH_TP_MDI_AUTO;ETH_TP_MDI_X;SIOCETHTOOL' since the value of 'ETH_TP_MDI_AUTO' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:299]: (information) Skipping configuration 'ETH_TP_MDI_AUTO;ETH_TP_MDI_X;SIOCETHTOOL' since the value of 'ETH_TP_MDI_AUTO' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:353]: (information) Skipping configuration 'ETH_TP_MDI_AUTO;ETH_TP_MDI_X;SIOCETHTOOL' since the value of 'ETH_TP_MDI_AUTO' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:248]: (information) Skipping configuration 'ETH_TP_MDI_AUTO;ETH_TP_MDI_X;SIOCETHTOOL' since the value of 'ETH_TP_MDI_X' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:299]: (information) Skipping configuration 'ETH_TP_MDI_AUTO;SIOCETHTOOL' since the value of 'ETH_TP_MDI_AUTO' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:353]: (information) Skipping configuration 'ETH_TP_MDI_AUTO;SIOCETHTOOL' since the value of 'ETH_TP_MDI_AUTO' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:248]: (information) Skipping configuration 'ETH_TP_MDI_X;SIOCETHTOOL' since the value of 'ETH_TP_MDI_X' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:838]: (warning) Logical disjunction always evaluates to true: EXPR != 4 || EXPR != 5. [kernel/linux/kni/ethtool/igb/igb_main.c:10026]: (style) Condition 'pci_using_dac' is always false [kernel/linux/kni/ethtool/igb/igb_main.c:2611] -> [kernel/linux/kni/ethtool/igb/igb_main.c:2634]: (style) Variable 'err' is reassigned a value before the old one has been used. [kernel/linux/kni/ethtool/igb/igb_main.c:2638] -> [kernel/linux/kni/ethtool/igb/igb_main.c:2678]: (style) Variable 'err' is reassigned a value before the old one has been used. [kernel/linux/kni/ethtool/igb/igb_main.c:4913] -> [kernel/linux/kni/ethtool/igb/igb_main.c:4951]: (warning) Variable 'new_val' is reassigned a value before the old one has been used. 'break;' missing? [kernel/linux/kni/ethtool/igb/igb_main.c:6786] -> [kernel/linux/kni/ethtool/igb/igb_main.c:6795]: (style) Variable 'retval' is reassigned a value before the old one has been used. [kernel/linux/kni/ethtool/igb/igb_main.c:9904] -> [kernel/linux/kni/ethtool/igb/igb_main.c:9944]: (style) Variable 'err' is reassigned a value before the old one has been used. [kernel/linux/kni/ethtool/igb/igb_main.c:986]: (style) The scope of the variable 'err' can be reduced. [kernel/linux/kni/ethtool/igb/igb_main.c:987]: (style) The scope of the variable 'i' can be reduced. [kernel/linux/kni/ethtool/igb/igb_main.c:4075]: (style) The scope of the variable 'buffer_info' can be reduced. [kernel/linux/kni/ethtool/igb/igb_main.c:4433]: (style) The scope of the variable 'count' can be reduced. [kernel/linux/kni/ethtool/igb/igb_main.c:5740]: (style) The scope of the variable 'q_vector' can be reduced. [kernel/linux/kni/ethtool/igb/igb_main.c:6290]: (style) The scope of the variable 'vf_data' can be reduced. [kernel/linux/kni/ethtool/igb/igb_main.c:9583]: (style) The scope of the variable 'i' can be reduced. [kernel/linux/kni/ethtool/igb/igb_main.c:7373]: (portability) 'page_addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [kernel/linux/kni/ethtool/igb/igb_main.c:8122]: (style) union member 'Anonymous47::ipv6' is never used. [kernel/linux/kni/ethtool/igb/igb_main.c:2409]: (style) The scope of the variable 'base_queue' can be reduced. [kernel/linux/kni/ethtool/igb/igb_main.c:2411]: (style) The scope of the variable 'vmdq_adapter' can be reduced. [kernel/linux/kni/ethtool/igb/igb_main.c:2078]: (information) Skipping configuration 'CONFIG_IGB_VMDQ_NETDEV;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2098]: (information) Skipping configuration 'CONFIG_IGB_VMDQ_NETDEV;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2719]: (information) Skipping configuration 'CONFIG_IGB_VMDQ_NETDEV;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:7944]: (information) Skipping configuration 'CONFIG_IGB_VMDQ_NETDEV;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:8675]: (information) Skipping configuration 'CONFIG_IGB_VMDQ_NETDEV;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:8719]: (information) Skipping configuration 'CONFIG_IGB_VMDQ_NETDEV;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:9985]: (information) Skipping configuration 'CONFIG_IGB_VMDQ_NETDEV;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2082]: (information) Skipping configuration 'CONFIG_IGB_VMDQ_NETDEV;NETIF_F_HW_VLAN_CTAG_TX;NETIF_F_HW_VLAN_TX' since the value of 'NETIF_F_HW_VLAN_TX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2723]: (information) Skipping configuration 'CONFIG_IGB_VMDQ_NETDEV;NETIF_F_HW_VLAN_CTAG_TX;NETIF_F_HW_VLAN_TX' since the value of 'NETIF_F_HW_VLAN_TX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:9989]: (information) Skipping configuration 'CONFIG_IGB_VMDQ_NETDEV;NETIF_F_HW_VLAN_CTAG_TX;NETIF_F_HW_VLAN_TX' since the value of 'NETIF_F_HW_VLAN_TX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:9876] -> [kernel/linux/kni/ethtool/igb/igb_main.c:9900]: (style) Variable 'err' is reassigned a value before the old one has been used. [kernel/linux/kni/ethtool/igb/igb_main.c:2078]: (information) Skipping configuration 'HAVE_INT_NDO_VLAN_RX_ADD_VID;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2098]: (information) Skipping configuration 'HAVE_INT_NDO_VLAN_RX_ADD_VID;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2719]: (information) Skipping configuration 'HAVE_INT_NDO_VLAN_RX_ADD_VID;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:7944]: (information) Skipping configuration 'HAVE_INT_NDO_VLAN_RX_ADD_VID;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:8675]: (information) Skipping configuration 'HAVE_INT_NDO_VLAN_RX_ADD_VID;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:9985]: (information) Skipping configuration 'HAVE_INT_NDO_VLAN_RX_ADD_VID;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2078]: (information) Skipping configuration 'HAVE_NDO_SET_FEATURES;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2098]: (information) Skipping configuration 'HAVE_NDO_SET_FEATURES;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2719]: (information) Skipping configuration 'HAVE_NDO_SET_FEATURES;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:7944]: (information) Skipping configuration 'HAVE_NDO_SET_FEATURES;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:8675]: (information) Skipping configuration 'HAVE_NDO_SET_FEATURES;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:9985]: (information) Skipping configuration 'HAVE_NDO_SET_FEATURES;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:9426]: (style) The scope of the variable 'rf_dec' can be reduced. [kernel/linux/kni/ethtool/igb/igb_main.c:9426]: (style) The scope of the variable 'rf_int' can be reduced. [kernel/linux/kni/ethtool/igb/igb_main.c:2078]: (information) Skipping configuration 'HAVE_VLAN_RX_REGISTER;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2098]: (information) Skipping configuration 'HAVE_VLAN_RX_REGISTER;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2719]: (information) Skipping configuration 'HAVE_VLAN_RX_REGISTER;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:7944]: (information) Skipping configuration 'HAVE_VLAN_RX_REGISTER;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:9985]: (information) Skipping configuration 'HAVE_VLAN_RX_REGISTER;NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:3951]: (information) Skipping configuration 'MAX_SKB_FRAGS' since the value of 'MAX_SKB_FRAGS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:5561]: (information) Skipping configuration 'MAX_SKB_FRAGS' since the value of 'MAX_SKB_FRAGS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:7187]: (information) Skipping configuration 'MAX_SKB_FRAGS' since the value of 'MAX_SKB_FRAGS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:7264]: (information) Skipping configuration 'MAX_SKB_FRAGS' since the value of 'MAX_SKB_FRAGS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:7282]: (information) Skipping configuration 'MAX_SKB_FRAGS' since the value of 'MAX_SKB_FRAGS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:7321]: (information) Skipping configuration 'MAX_SKB_FRAGS' since the value of 'MAX_SKB_FRAGS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:7396]: (information) Skipping configuration 'MAX_SKB_FRAGS' since the value of 'MAX_SKB_FRAGS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:7830]: (information) Skipping configuration 'MAX_SKB_FRAGS' since the value of 'MAX_SKB_FRAGS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:7861]: (information) Skipping configuration 'MAX_SKB_FRAGS' since the value of 'MAX_SKB_FRAGS' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2747]: (information) Skipping configuration 'NETIF_F_HW_VLAN_CTAG_FILTER' since the value of 'NETIF_F_HW_VLAN_CTAG_FILTER' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:10013]: (information) Skipping configuration 'NETIF_F_HW_VLAN_CTAG_FILTER' since the value of 'NETIF_F_HW_VLAN_CTAG_FILTER' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2078]: (information) Skipping configuration 'NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2098]: (information) Skipping configuration 'NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2719]: (information) Skipping configuration 'NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:7944]: (information) Skipping configuration 'NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:8675]: (information) Skipping configuration 'NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:9985]: (information) Skipping configuration 'NETIF_F_HW_VLAN_CTAG_RX' since the value of 'NETIF_F_HW_VLAN_CTAG_RX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2082]: (information) Skipping configuration 'NETIF_F_HW_VLAN_CTAG_TX;NETIF_F_HW_VLAN_TX' since the value of 'NETIF_F_HW_VLAN_TX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2723]: (information) Skipping configuration 'NETIF_F_HW_VLAN_CTAG_TX;NETIF_F_HW_VLAN_TX' since the value of 'NETIF_F_HW_VLAN_TX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:9989]: (information) Skipping configuration 'NETIF_F_HW_VLAN_CTAG_TX;NETIF_F_HW_VLAN_TX' since the value of 'NETIF_F_HW_VLAN_TX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2706]: (information) Skipping configuration 'NETIF_F_IPV6_CSUM' since the value of 'NETIF_F_IPV6_CSUM' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2756]: (information) Skipping configuration 'NETIF_F_IPV6_CSUM' since the value of 'NETIF_F_IPV6_CSUM' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:9972]: (information) Skipping configuration 'NETIF_F_IPV6_CSUM' since the value of 'NETIF_F_IPV6_CSUM' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:10022]: (information) Skipping configuration 'NETIF_F_IPV6_CSUM' since the value of 'NETIF_F_IPV6_CSUM' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2715]: (information) Skipping configuration 'NETIF_F_RXHASH' since the value of 'NETIF_F_RXHASH' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:7457]: (information) Skipping configuration 'NETIF_F_RXHASH' since the value of 'NETIF_F_RXHASH' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:9981]: (information) Skipping configuration 'NETIF_F_RXHASH' since the value of 'NETIF_F_RXHASH' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2709]: (information) Skipping configuration 'NETIF_F_TSO' since the value of 'NETIF_F_TSO' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2753]: (information) Skipping configuration 'NETIF_F_TSO' since the value of 'NETIF_F_TSO' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:9975]: (information) Skipping configuration 'NETIF_F_TSO' since the value of 'NETIF_F_TSO' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:10019]: (information) Skipping configuration 'NETIF_F_TSO' since the value of 'NETIF_F_TSO' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2754]: (information) Skipping configuration 'NETIF_F_TSO6' since the value of 'NETIF_F_TSO6' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:10020]: (information) Skipping configuration 'NETIF_F_TSO6' since the value of 'NETIF_F_TSO6' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2709]: (information) Skipping configuration 'NETIF_F_TSO;NETIF_F_TSO6' since the value of 'NETIF_F_TSO' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2753]: (information) Skipping configuration 'NETIF_F_TSO;NETIF_F_TSO6' since the value of 'NETIF_F_TSO' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:9975]: (information) Skipping configuration 'NETIF_F_TSO;NETIF_F_TSO6' since the value of 'NETIF_F_TSO' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:10019]: (information) Skipping configuration 'NETIF_F_TSO;NETIF_F_TSO6' since the value of 'NETIF_F_TSO' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2711]: (information) Skipping configuration 'NETIF_F_TSO;NETIF_F_TSO6' since the value of 'NETIF_F_TSO6' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2754]: (information) Skipping configuration 'NETIF_F_TSO;NETIF_F_TSO6' since the value of 'NETIF_F_TSO6' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:9977]: (information) Skipping configuration 'NETIF_F_TSO;NETIF_F_TSO6' since the value of 'NETIF_F_TSO6' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:10020]: (information) Skipping configuration 'NETIF_F_TSO;NETIF_F_TSO6' since the value of 'NETIF_F_TSO6' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:8580]: (information) Skipping configuration 'SIOCGMIIPHY' since the value of 'SIOCGMIIPHY' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:8608]: (information) Skipping configuration 'SIOCGMIIPHY' since the value of 'SIOCGMIIPHY' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:5347]: (information) Skipping configuration 'dma_mapping_error' since the value of 'dma_mapping_error' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:8476]: (information) Skipping configuration 'dma_mapping_error' since the value of 'dma_mapping_error' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:4555]: (information) Skipping configuration 'from_timer;timer_setup' since the value of 'from_timer' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:4612]: (information) Skipping configuration 'from_timer;timer_setup' since the value of 'from_timer' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:4878]: (information) Skipping configuration 'from_timer;timer_setup' since the value of 'from_timer' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2809]: (information) Skipping configuration 'from_timer;timer_setup' since the value of 'timer_setup' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2811]: (information) Skipping configuration 'from_timer;timer_setup' since the value of 'timer_setup' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:2812]: (information) Skipping configuration 'from_timer;timer_setup' since the value of 'timer_setup' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:7377]: (information) Skipping configuration 'netdev_alloc_skb_ip_align' since the value of 'netdev_alloc_skb_ip_align' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:8307]: (information) Skipping configuration 'skb_pad' since the value of 'skb_pad' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_main.c:5606]: (information) Skipping configuration 'skb_padto' since the value of 'skb_padto' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/igb/igb_param.c:515]: (warning) Logical disjunction always evaluates to true: EXPR != 6 || EXPR != 7. [kernel/linux/kni/ethtool/igb/igb_param.c:272]: (style) The scope of the variable 'ent' can be reduced. [kernel/linux/kni/ethtool/ixgbe/ixgbe_82598.c:97] -> [kernel/linux/kni/ethtool/ixgbe/ixgbe_82598.c:98]: (style) Variable 'ret_val' is reassigned a value before the old one has been used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_82599.c:1337]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [kernel/linux/kni/ethtool/ixgbe/ixgbe_82599.c:1487]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [kernel/linux/kni/ethtool/ixgbe/ixgbe_common.c:2053]: (style) The scope of the variable 'addr' can be reduced. [kernel/linux/kni/ethtool/ixgbe/ixgbe_common.c:3087] -> [kernel/linux/kni/ethtool/ixgbe/ixgbe_common.c:3088]: (warning) Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 3087. [kernel/linux/kni/ethtool/ixgbe/ixgbe_common.c:3119] -> [kernel/linux/kni/ethtool/ixgbe/ixgbe_common.c:3121]: (warning) Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 3119. [kernel/linux/kni/ethtool/ixgbe/ixgbe_common.c:3146] -> [kernel/linux/kni/ethtool/ixgbe/ixgbe_common.c:3148]: (warning) Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 3146. [kernel/linux/kni/ethtool/ixgbe/ixgbe_common.c:3241] -> [kernel/linux/kni/ethtool/ixgbe/ixgbe_common.c:3258]: (warning) Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 3241. [kernel/linux/kni/ethtool/ixgbe/ixgbe_common.c:3324] -> [kernel/linux/kni/ethtool/ixgbe/ixgbe_common.c:3327]: (warning) Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 3324. [kernel/linux/kni/ethtool/ixgbe/ixgbe_common.c:3341] -> [kernel/linux/kni/ethtool/ixgbe/ixgbe_common.c:3344]: (warning) Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 3341. [kernel/linux/kni/ethtool/ixgbe/ixgbe_ethtool.c:1185]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/ixgbe/ixgbe_ethtool.c:1187]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/ixgbe/ixgbe_ethtool.c:1191]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/ixgbe/ixgbe_ethtool.c:1193]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/ixgbe/ixgbe_ethtool.c:1198]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/ixgbe/ixgbe_ethtool.c:1200]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/ixgbe/ixgbe_ethtool.c:1204]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/ixgbe/ixgbe_ethtool.c:1206]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [kernel/linux/kni/ethtool/ixgbe/ixgbe_ethtool.c:1104] -> [kernel/linux/kni/ethtool/ixgbe/ixgbe_ethtool.c:1149]: (style) Variable 'stat_count' is reassigned a value before the old one has been used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_ethtool.c:870]: (portability) 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [kernel/linux/kni/ethtool/ixgbe/ixgbe_ethtool.c:2004]: (style) The scope of the variable 'q_vector' can be reduced. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:576]: (style) The scope of the variable 'count' can be reduced. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:1903]: (style) The scope of the variable 'cpu' can be reduced. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:2499]: (information) Skipping configuration 'MAX_SKB_FRAGS;NETIF_F_HW_VLAN_TX' since the value of 'NETIF_F_HW_VLAN_TX' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:2495]: (information) Skipping configuration 'MAX_SKB_FRAGS;NETIF_F_IPV6_CSUM' since the value of 'NETIF_F_IPV6_CSUM' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:2552]: (information) Skipping configuration 'MAX_SKB_FRAGS;NETIF_F_IPV6_CSUM' since the value of 'NETIF_F_IPV6_CSUM' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:2509]: (information) Skipping configuration 'MAX_SKB_FRAGS;NETIF_F_RXHASH' since the value of 'NETIF_F_RXHASH' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:2575]: (information) Skipping configuration 'MAX_SKB_FRAGS;NETIF_F_RXHASH' since the value of 'NETIF_F_RXHASH' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:2503]: (information) Skipping configuration 'MAX_SKB_FRAGS;NETIF_F_TSO' since the value of 'NETIF_F_TSO' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:2553]: (information) Skipping configuration 'MAX_SKB_FRAGS;NETIF_F_TSO' since the value of 'NETIF_F_TSO' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:2506]: (information) Skipping configuration 'MAX_SKB_FRAGS;NETIF_F_TSO6' since the value of 'NETIF_F_TSO6' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:2554]: (information) Skipping configuration 'MAX_SKB_FRAGS;NETIF_F_TSO6' since the value of 'NETIF_F_TSO6' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/ethtool/ixgbe/ixgbe_phy.c:1554]: (style) The scope of the variable 'bit' can be reduced. [kernel/linux/kni/ethtool/ixgbe/ixgbe_x540.c:38] -> [kernel/linux/kni/ethtool/ixgbe/ixgbe_x540.c:39]: (style) Variable 'ret_val' is reassigned a value before the old one has been used. [kernel/linux/kni/kni_misc.c:491] -> [kernel/linux/kni/kni_misc.c:498]: (style) Variable 'ret' is reassigned a value before the old one has been used. [kernel/linux/kni/kni_misc.c:353]: (information) Skipping configuration 'NET_NAME_USER' since the value of 'NET_NAME_USER' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [kernel/linux/kni/kni_net.c:175]: (style) The scope of the variable 'ret' can be reduced. [kernel/linux/kni/kni_net.c:175]: (style) The scope of the variable 'num_dst' can be reduced. [kernel/linux/kni/kni_net.c:175]: (style) The scope of the variable 'num_rx' can be reduced. [kernel/linux/kni/kni_net.c:314]: (style) The scope of the variable 'len' can be reduced. [kernel/linux/kni/kni_net.c:317]: (style) The scope of the variable 'data_kva' can be reduced. [kernel/linux/kni/kni_net.c:318]: (style) The scope of the variable 'skb' can be reduced. [kernel/linux/kni/kni_net.c:397]: (style) The scope of the variable 'len' can be reduced. [kernel/linux/kni/kni_net.c:398]: (style) The scope of the variable 'i' can be reduced. [kernel/linux/kni/kni_net.c:400]: (style) The scope of the variable 'data_kva' can be reduced. [kernel/linux/kni/kni_net.c:401]: (style) The scope of the variable 'alloc_kva' can be reduced. [kernel/linux/kni/kni_net.c:402]: (style) The scope of the variable 'alloc_data_kva' can be reduced. [kernel/linux/kni/kni_net.c:482]: (style) The scope of the variable 'len' can be reduced. [kernel/linux/kni/kni_net.c:485]: (style) The scope of the variable 'data_kva' can be reduced. [kernel/linux/kni/kni_net.c:486]: (style) The scope of the variable 'skb' can be reduced. [kernel/linux/kni/kni_net.c:273]: (portability) 'data_kva' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [lib/librte_acl/acl_bld.c:252]: (style) The scope of the variable 'num_ptrs' can be reduced. [lib/librte_acl/acl_bld.c:440]: (style) The scope of the variable 'ref_node' can be reduced. [lib/librte_acl/acl_bld.c:593]: (style) The scope of the variable 'n' can be reduced. [lib/librte_acl/acl_bld.c:593]: (style) The scope of the variable 'ptrs_c' can be reduced. [lib/librte_acl/acl_bld.c:593]: (style) The scope of the variable 'ptrs_b' can be reduced. [lib/librte_acl/acl_bld.c:802]: (style) The scope of the variable 'n' can be reduced. [lib/librte_acl/acl_bld.c:882]: (style) The scope of the variable 'node_count' can be reduced. [lib/librte_acl/acl_bld.c:1418]: (style) The scope of the variable 'n' can be reduced. [lib/librte_acl/acl_gen.c:117]: (style) The scope of the variable 'child' can be reduced. [lib/librte_acl/acl_gen.c:280]: (style) The scope of the variable 'x' can be reduced. [lib/librte_acl/acl_gen.c:281]: (style) The scope of the variable 'm' can be reduced. [lib/librte_acl/acl_gen.c:282]: (style) The scope of the variable 'node_a' can be reduced. [lib/librte_acl/acl_gen.c:282]: (style) The scope of the variable 'index' can be reduced. [lib/librte_acl/acl_run_altivec.h:72]: (style) The scope of the variable 'saved_results' can be reduced. [lib/librte_acl/acl_run_altivec.h:72]: (style) The scope of the variable 'saved_priority' can be reduced. [lib/librte_acl/acl_run_altivec.h:228]: (style) Variable 'cmplt' is assigned a value that is never used. [lib/librte_acl/acl_run_altivec.h:299]: (style) Variable 'cmplt' is assigned a value that is never used. [lib/librte_acl/acl_run_sse.h:61]: (style) The scope of the variable 'saved_results' can be reduced. [lib/librte_acl/acl_run_sse.h:61]: (style) The scope of the variable 'saved_priority' can be reduced. [lib/librte_acl/acl_run_sse.h:209]: (style) Variable 'cmplt' is assigned a value that is never used. [lib/librte_acl/acl_run_sse.h:297]: (style) Variable 'cmplt' is assigned a value that is never used. [lib/librte_acl/acl_run_neon.h:41]: (style) The scope of the variable 'saved_results' can be reduced. [lib/librte_acl/acl_run_neon.h:41]: (style) The scope of the variable 'saved_priority' can be reduced. [lib/librte_acl/acl_run_neon.h:174]: (style) Variable 'cmplt' is assigned a value that is never used. [lib/librte_acl/acl_run_neon.h:236]: (style) Variable 'cmplt' is assigned a value that is never used. [lib/librte_acl/acl_run_scalar.c:78]: (style) The scope of the variable 'a' can be reduced. [lib/librte_acl/acl_run_scalar.c:78]: (style) The scope of the variable 'b' can be reduced. [lib/librte_acl/acl_run_scalar.c:78]: (style) The scope of the variable 'c' can be reduced. [lib/librte_acl/acl_run_scalar.c:115]: (style) The scope of the variable 'input0' can be reduced. [lib/librte_acl/acl_run_scalar.c:115]: (style) The scope of the variable 'input1' can be reduced. [lib/librte_acl/acl_run_scalar.c:125]: (style) Variable 'cmplt' is assigned a value that is never used. [lib/librte_acl/rte_acl.c:297]: (style) The scope of the variable 'rc' can be reduced. [lib/librte_acl/rte_acl.c:363]: (style) The scope of the variable 'ctx' can be reduced. [lib/librte_acl/tb_mem.c:53]: (style) The scope of the variable 'new_sz' can be reduced. [lib/librte_bbdev/rte_bbdev.c:1040] -> [lib/librte_bbdev/rte_bbdev.c:1048]: (style) Variable 'cb_lst->active' is reassigned a value before the old one has been used. [lib/librte_bbdev/rte_bbdev.c:406]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_bbdev/rte_bbdev.c:442]: (style) The scope of the variable 'p' can be reduced. [lib/librte_bbdev/rte_bbdev.c:317] -> [lib/librte_bbdev/rte_bbdev.c:347]: (style) Local variable ret shadows outer variable [lib/librte_bpf/bpf_jit_x86.c:130]: (style) The scope of the variable 'i' can be reduced. [lib/librte_bpf/bpf_jit_x86.c:1075]: (style) The scope of the variable 'ofs' can be reduced. [lib/librte_bpf/bpf_jit_x86.c:1118]: (style) The scope of the variable 'dr' can be reduced. [lib/librte_bpf/bpf_jit_x86.c:1118]: (style) The scope of the variable 'op' can be reduced. [lib/librte_bpf/bpf_jit_x86.c:1118]: (style) The scope of the variable 'sr' can be reduced. [lib/librte_bpf/bpf_load_elf.c:128]: (style) The scope of the variable 'sh' can be reduced. [lib/librte_bpf/bpf_load_elf.c:130]: (style) The scope of the variable 'sn' can be reduced. [lib/librte_bpf/bpf_load_elf.c:176]: (style) The scope of the variable 'rc' can be reduced. [lib/librte_bpf/bpf_load_elf.c:178]: (style) The scope of the variable 'ofs' can be reduced. [lib/librte_bpf/bpf_load_elf.c:178]: (style) The scope of the variable 'sym' can be reduced. [lib/librte_bpf/bpf_load_elf.c:179]: (style) The scope of the variable 'sn' can be reduced. [lib/librte_bpf/bpf_load_elf.c:228]: (style) The scope of the variable 'sh' can be reduced. [lib/librte_bpf/bpf_load_elf.c:290]: (style) The scope of the variable 'rc' can be reduced. [lib/librte_bpf/bpf_pkt.c:116]: (style) The scope of the variable 'nuse' can be reduced. [lib/librte_bpf/bpf_pkt.c:225]: (style) The scope of the variable 'dp' can be reduced. [lib/librte_bpf/bpf_validate.c:515]: (warning) Redundant assignment of 'rd->u.max' to itself. [lib/librte_bpf/bpf_validate.c:755]: (style) The scope of the variable 'sv' can be reduced. [lib/librte_bpf/bpf_validate.c:840]: (style) The scope of the variable 'sv' can be reduced. [lib/librte_bpf/bpf_validate.c:885]: (style) The scope of the variable 'i' can be reduced. [lib/librte_bpf/bpf_validate.c:885]: (style) The scope of the variable 'n' can be reduced. [lib/librte_bpf/bpf_validate.c:1835]: (style) The scope of the variable 'node' can be reduced. [lib/librte_bpf/bpf_validate.c:1836]: (style) The scope of the variable 'ins' can be reduced. [lib/librte_bpf/bpf_validate.c:1856]: (style) The scope of the variable 'node' can be reduced. [lib/librte_bpf/bpf_validate.c:1885]: (style) The scope of the variable 'node' can be reduced. [lib/librte_bpf/bpf_validate.c:1886]: (style) The scope of the variable 'ins' can be reduced. [lib/librte_bpf/bpf_validate.c:1887]: (style) The scope of the variable 'err' can be reduced. [lib/librte_cfgfile/rte_cfgfile.c:446]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [lib/librte_cfgfile/rte_cfgfile.c:314]: (style) The scope of the variable 'i' can be reduced. [lib/librte_cfgfile/rte_cfgfile.c:430]: (style) The scope of the variable 'i' can be reduced. [lib/librte_cfgfile/rte_cfgfile.c:70]: (style) Array index 'start' is used before limits check. [lib/librte_cmdline/cmdline.c:141]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_cmdline/cmdline_cirbuf.c:40]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:40]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:44]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:44]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:46]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:46]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:71]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:71]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:75]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:75]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:77]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:77]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:337]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:337]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:343]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:343]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:347]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:347]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:349]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:349]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:375]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:375]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:381]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:381]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:385]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:385]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:387]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_cirbuf.c:387]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_parse.c:209]: (style) The scope of the variable 'tok' can be reduced. [lib/librte_cmdline/cmdline_parse.c:201]: (style) union member 'Anonymous0::align' is never used. [lib/librte_cmdline/cmdline_parse.c:256]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_parse.c:376]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_parse.c:419]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [lib/librte_cmdline/cmdline_parse_ipaddr.c:47]: (style) The scope of the variable 'prefix' can be reduced. [lib/librte_cmdline/cmdline_parse_portlist.c:37]: (style) The scope of the variable 'ps' can be reduced. [lib/librte_cmdline/cmdline_parse_string.c:61]: (style) The scope of the variable 'str' can be reduced. [lib/librte_cmdline/cmdline_rdline.c:173]: (style) The scope of the variable 'i' can be reduced. [lib/librte_cmdline/cmdline_rdline.c:175]: (style) The scope of the variable 'tmp' can be reduced. [lib/librte_cmdline/cmdline_rdline.c:176]: (style) The scope of the variable 'buf' can be reduced. [lib/librte_cmdline/cmdline_rdline.c:498]: (style) The scope of the variable 'tmp' can be reduced. [lib/librte_cmdline/cmdline_rdline.c:511]: (style) The scope of the variable 'tmp' can be reduced. [lib/librte_cmdline/cmdline_vt100.c:59]: (style) The scope of the variable 'cmd' can be reduced. [lib/librte_cmdline/cmdline_vt100.c:60]: (style) The scope of the variable 'cmdlen' can be reduced. [lib/librte_compressdev/rte_compressdev.c:83]: (style) The scope of the variable 'dev' can be reduced. [lib/librte_compressdev/rte_compressdev.c:271]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_compressdev/rte_compressdev.c:303]: (style) The scope of the variable 'i' can be reduced. [lib/librte_compressdev/rte_compressdev.c:340]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_compressdev/rte_compressdev.c:381]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_cryptodev/rte_cryptodev.c:1182] -> [lib/librte_cryptodev/rte_cryptodev.c:1187]: (style) Variable 'cb_lst->active' is reassigned a value before the old one has been used. [lib/librte_cryptodev/rte_crypto.h:308]: (style) The scope of the variable 'priv_size' can be reduced. [lib/librte_cryptodev/rte_cryptodev.c:503]: (style) The scope of the variable 'dev' can be reduced. [lib/librte_cryptodev/rte_cryptodev.c:718]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_cryptodev/rte_cryptodev.c:750]: (style) The scope of the variable 'i' can be reduced. [lib/librte_cryptodev/rte_cryptodev.c:786]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_cryptodev/rte_cryptodev.c:1203]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_cryptodev/rte_cryptodev.c:1242]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_cryptodev/rte_cryptodev.c:1439]: (style) The scope of the variable 'sess_priv' can be reduced. [lib/librte_cryptodev/rte_cryptodev.c:1685]: (style) The scope of the variable 'driver_name' can be reduced. [lib/librte_cryptodev/rte_cryptodev.c:1367]: (warning) Size of pointer 'sess' used instead of size of its data. [lib/librte_distributor/rte_distributor.c:221]: (style) The scope of the variable 'bl' can be reduced. [lib/librte_distributor/rte_distributor.c:269]: (style) The scope of the variable 'oldbuf' can be reduced. [lib/librte_distributor/rte_distributor.c:273]: (style) The scope of the variable 'i' can be reduced. [lib/librte_distributor/rte_distributor.c:632] -> [lib/librte_distributor/rte_distributor.c:634]: (style) Variable 'd->dist_match_fn' is reassigned a value before the old one has been used. [lib/librte_distributor/rte_distributor_match_sse.c:25]: (style) The scope of the variable 'bl' can be reduced. [lib/librte_distributor/rte_distributor_v20.c:110]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses. [lib/librte_distributor/rte_distributor_v20.c:111]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses. [lib/librte_eal/bsdapp/eal/eal.c:842]: (style) Condition 'eal_clean_runtime_dir()<0' is always false [lib/librte_eal/bsdapp/eal/eal_alarm.c:97]: (information) Skipping configuration 'CLOCK_MONOTONIC_RAW' since the value of 'CLOCK_MONOTONIC_RAW' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [lib/librte_eal/bsdapp/eal/eal_alarm.c:153]: (information) Skipping configuration 'CLOCK_MONOTONIC_RAW' since the value of 'CLOCK_MONOTONIC_RAW' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [lib/librte_eal/bsdapp/eal/eal_alarm.c:195]: (information) Skipping configuration 'CLOCK_MONOTONIC_RAW' since the value of 'CLOCK_MONOTONIC_RAW' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [lib/librte_eal/bsdapp/eal/eal_interrupts.c:219] -> [lib/librte_eal/bsdapp/eal/eal_interrupts.c:215]: (warning) Either the condition 'src==NULL' is redundant or there is possible null pointer dereference: src. [lib/librte_eal/bsdapp/eal/eal_interrupts.c:347] -> [lib/librte_eal/bsdapp/eal/eal_interrupts.c:345]: (warning) Either the condition 'src==NULL' is redundant or there is possible null pointer dereference: src. [lib/librte_eal/bsdapp/eal/eal_interrupts.c:426]: (style) The scope of the variable 'nfds' can be reduced. [lib/librte_eal/bsdapp/eal/eal_interrupts.c:26]: (style) union member 'rte_intr_read_buffer::charbuf' is never used. [lib/librte_eal/bsdapp/eal/eal_lcore.c:28]: (style) The scope of the variable 'mib' can be reduced. [lib/librte_eal/bsdapp/eal/eal_memory.c:136]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [lib/librte_eal/bsdapp/eal/eal_memory.c:55]: (style) The scope of the variable 'arr' can be reduced. [lib/librte_eal/bsdapp/eal/eal_memory.c:56]: (style) The scope of the variable 'ms' can be reduced. [lib/librte_eal/common/arch/x86/rte_cycles.c:16]: (style) The scope of the variable 'ext_model' can be reduced. [lib/librte_eal/common/eal_common_bus.c:74]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_eal/common/eal_common_bus.c:135]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_eal/common/eal_common_cpuflags.c:29]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_eal/common/eal_common_devargs.c:191] -> [lib/librte_eal/common/eal_common_devargs.c:195]: (style) Variable 'devname' is reassigned a value before the old one has been used. [lib/librte_eal/common/eal_common_devargs.c:59] -> [lib/librte_eal/common/eal_common_devargs.c:153]: (style) Local variable s shadows outer variable [lib/librte_eal/common/eal_common_fbarray.c:69]: (style) The scope of the variable 'path' can be reduced. [lib/librte_eal/common/eal_common_fbarray.c:117]: (style) The scope of the variable 'lookahead_msk' can be reduced. [lib/librte_eal/common/eal_common_fbarray.c:380]: (style) The scope of the variable 'lookbehind_msk' can be reduced. [lib/librte_eal/common/eal_common_fbarray.c:381]: (style) The scope of the variable 'run_start' can be reduced. [lib/librte_eal/common/eal_common_hexdump.c:29]: (style) The scope of the variable 'out' can be reduced. [lib/librte_eal/common/eal_common_launch.c:24] -> [lib/librte_eal/common/eal_common_launch.c:27]: (style) Condition 'lcore_config[slave_id].state!=WAIT' is always true [lib/librte_eal/common/eal_common_memory.c:560]: (style) The scope of the variable 'ms' can be reduced. [lib/librte_eal/common/eal_common_memory.c:613]: (style) The scope of the variable 'ms' can be reduced. [lib/librte_eal/common/eal_common_memzone.c:33]: (style) The scope of the variable 'mz' can be reduced. [lib/librte_eal/common/eal_common_options.c:333]: (style) The scope of the variable 'c' can be reduced. [lib/librte_eal/common/eal_common_options.c:426]: (style) The scope of the variable 'c' can be reduced. [lib/librte_eal/common/eal_common_options.c:493]: (style) The scope of the variable 'idx' can be reduced. [lib/librte_eal/common/malloc_elem.c:562]: (style) The scope of the variable 'len_before' can be reduced. [lib/librte_eal/common/malloc_elem.c:562]: (style) The scope of the variable 'len_after' can be reduced. [lib/librte_eal/common/malloc_heap.c:756]: (style) The scope of the variable 'cur_socket' can be reduced. [lib/librte_eal/common/malloc_heap.c:1321]: (style) The scope of the variable 'i' can be reduced. [lib/librte_eal/common/malloc_mp.c:504]: (warning) Suspicious usage of 'sizeof' with a numeric constant as parameter. [lib/librte_eal/common/rte_option.c:89]: (style) Condition 'opt_count==0' is always false [lib/librte_eal/common/rte_reciprocal.c:90]: (portability) Shifting a negative value is technically undefined behaviour [lib/librte_eal/common/rte_reciprocal.c:90]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [lib/librte_eal/common/rte_reciprocal.c:141]: (style) Clarify calculation precedence for '-' and '?'. [lib/librte_eal/common/rte_service.c:785]: (style) Assignment of function parameter has no effect outside the function. [lib/librte_eal/common/rte_service.c:76]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [lib/librte_eal/common/rte_service.c:840]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [lib/librte_eal/common/rte_service.c:511]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_eal/linuxapp/eal/eal_alarm.c:120]: (style) The scope of the variable 'ap' can be reduced. [lib/librte_eal/linuxapp/eal/eal_alarm.c:83]: (information) Skipping configuration 'CLOCK_MONOTONIC_RAW' since the value of 'CLOCK_MONOTONIC_RAW' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [lib/librte_eal/linuxapp/eal/eal_alarm.c:131]: (information) Skipping configuration 'CLOCK_MONOTONIC_RAW' since the value of 'CLOCK_MONOTONIC_RAW' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:323]: (style) The scope of the variable 'i' can be reduced. [lib/librte_eal/linuxapp/eal/eal_interrupts.c:544] -> [lib/librte_eal/linuxapp/eal/eal_interrupts.c:540]: (warning) Either the condition 'src==NULL' is redundant or there is possible null pointer dereference: src. [lib/librte_eal/linuxapp/eal/eal_interrupts.c:724] -> [lib/librte_eal/linuxapp/eal/eal_interrupts.c:721]: (warning) Either the condition 'src==NULL' is redundant or there is possible null pointer dereference: src. [lib/librte_eal/linuxapp/eal/eal_interrupts.c:850]: (style) The scope of the variable 'nfds' can be reduced. [lib/librte_eal/linuxapp/eal/eal_interrupts.c:981]: (style) The scope of the variable 'nbytes' can be reduced. [lib/librte_eal/linuxapp/eal/eal_interrupts.c:1235]: (style) The scope of the variable 'rev' can be reduced. [lib/librte_eal/linuxapp/eal/eal_interrupts.c:1252]: (style) The scope of the variable 'i' can be reduced. [lib/librte_eal/linuxapp/eal/eal_interrupts.c:1253]: (style) The scope of the variable 'fd' can be reduced. [lib/librte_eal/linuxapp/eal/eal_interrupts.c:1290]: (style) The scope of the variable 'i' can be reduced. [lib/librte_eal/linuxapp/eal/eal_memalloc.c:614]: (style) Condition '!memfd_create_supported' is always true [lib/librte_eal/linuxapp/eal/eal_memalloc.c:623]: (style) Condition '!memfd_create_supported' is always true [lib/librte_eal/linuxapp/eal/eal_memalloc.c:797]: (style) Condition '!memfd_create_supported' is always true [lib/librte_eal/linuxapp/eal/eal_memalloc.c:1566]: (style) Condition '!memfd_create_supported' is always true [lib/librte_eal/linuxapp/eal/eal_memalloc.c:1623]: (style) Condition '!memfd_create_supported' is always true [lib/librte_eal/linuxapp/eal/eal_memalloc.c:1656]: (style) Condition 'mfd_res<0' is always false [lib/librte_eal/linuxapp/eal/eal_memalloc.c:1660]: (style) Condition 'mfd_res==1' is always false [lib/librte_eal/linuxapp/eal/eal_memalloc.c:710]: (warning) Redundant assignment of '*(volatile int*)addr' to itself. [lib/librte_eal/linuxapp/eal/eal_memalloc.c:779]: (style) The scope of the variable 'map_offset' can be reduced. [lib/librte_eal/linuxapp/eal/eal_memalloc.c:223]: (information) Skipping configuration 'MAP_HUGE_SHIFT' since the value of 'MAP_HUGE_SHIFT' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [lib/librte_eal/linuxapp/eal/eal_memalloc.c:614]: (style) Condition '!memfd_create_supported' is always false [lib/librte_eal/linuxapp/eal/eal_memalloc.c:623]: (style) Condition '!memfd_create_supported' is always false [lib/librte_eal/linuxapp/eal/eal_memalloc.c:797]: (style) Condition '!memfd_create_supported' is always false [lib/librte_eal/linuxapp/eal/eal_memalloc.c:1566]: (style) Condition '!memfd_create_supported' is always false [lib/librte_eal/linuxapp/eal/eal_memalloc.c:1623]: (style) Condition '!memfd_create_supported' is always false [lib/librte_eal/linuxapp/eal/eal_memory.c:671]: (style) The scope of the variable 'memseg_len' can be reduced. [lib/librte_eal/linuxapp/eal/eal_memory.c:1035]: (style) The scope of the variable 'new_memseg' can be reduced. [lib/librte_eal/linuxapp/eal/eal_timer.c:241]: (information) Skipping configuration 'CLOCK_MONOTONIC_RAW' since the value of 'CLOCK_MONOTONIC_RAW' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [lib/librte_eal/linuxapp/eal/eal_timer.c:244]: (information) Skipping configuration 'CLOCK_MONOTONIC_RAW' since the value of 'CLOCK_MONOTONIC_RAW' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. [lib/librte_eal/linuxapp/eal/eal_timer.c:93]: (style) The scope of the variable 't' can be reduced. [lib/librte_eal/linuxapp/eal/eal_timer.c:63]: (style) struct member 'Anonymous0::config' is never used. [lib/librte_eal/linuxapp/eal/eal_timer.c:64]: (style) struct member 'Anonymous0::comp' is never used. [lib/librte_eal/linuxapp/eal/eal_timer.c:65]: (style) struct member 'Anonymous0::fsb' is never used. [lib/librte_eal/linuxapp/eal/eal_timer.c:66]: (style) struct member 'Anonymous0::reserved4' is never used. [lib/librte_eal/linuxapp/eal/eal_vfio.c:278] -> [lib/librte_eal/linuxapp/eal/eal_vfio.c:290]: (style) Condition 'errno!=ENOENT' is always false [lib/librte_eal/linuxapp/eal/eal_vfio.c:218]: (style) The scope of the variable 'cur_idx' can be reduced. [lib/librte_eal/linuxapp/eal/eal_vfio.c:264]: (style) The scope of the variable 'filename' can be reduced. [lib/librte_eal/linuxapp/eal/eal_vfio.c:333]: (style) The scope of the variable 'vfio_cfg' can be reduced. [lib/librte_eal/linuxapp/eal/eal_vfio.c:396]: (style) The scope of the variable 'vfio_cfg' can be reduced. [lib/librte_eal/linuxapp/eal/eal_vfio.c:437]: (style) The scope of the variable 'vfio_cfg' can be reduced. [lib/librte_eal/linuxapp/eal/eal_vfio.c:555]: (style) The scope of the variable 'mp_rep' can be reduced. [lib/librte_eal/linuxapp/eal/eal_vfio.c:648]: (style) The scope of the variable 'i' can be reduced. [lib/librte_eal/linuxapp/eal/eal_vfio.c:1024]: (style) The scope of the variable 'mp_rep' can be reduced. [lib/librte_eal/linuxapp/eal/eal_vfio.c:1095]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_eal/linuxapp/eal/eal_vfio.c:1129]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_efd/rte_efd.c:373]: (style) The scope of the variable 'hash_idx' can be reduced. [lib/librte_ethdev/ethdev_private.c:21]: (style) The scope of the variable 'edev' can be reduced. [lib/librte_ethdev/rte_class_eth.c:149]: (style) The scope of the variable 'valid_keys' can be reduced. [lib/librte_ethdev/rte_ethdev.c:3485] -> [lib/librte_ethdev/rte_ethdev.c:3493]: (style) Variable 'cb_lst->active' is reassigned a value before the old one has been used. [lib/librte_ethdev/rte_ethdev.c:665]: (style) The scope of the variable 'port_id' can be reduced. [lib/librte_ethdev/rte_ethdev.c:1325]: (style) The scope of the variable 'i' can be reduced. [lib/librte_ethdev/rte_ethdev.c:1327]: (style) The scope of the variable 'pool_mask' can be reduced. [lib/librte_ethdev/rte_ethdev.c:2102]: (style) The scope of the variable 'no_basic_stat_requested' can be reduced. [lib/librte_ethdev/rte_ethdev.c:2212]: (style) The scope of the variable 'cnt_driver_entries' can be reduced. [lib/librte_ethdev/rte_ethdev.c:2298]: (style) The scope of the variable 'no_basic_stat_requested' can be reduced. [lib/librte_ethdev/rte_ethdev.c:2857]: (style) The scope of the variable 'idx' can be reduced. [lib/librte_ethdev/rte_ethdev.c:2857]: (style) The scope of the variable 'shift' can be reduced. [lib/librte_ethdev/rte_ethdev.c:3065]: (style) The scope of the variable 'pool_mask' can be reduced. [lib/librte_ethdev/rte_ethdev.c:3358]: (style) The scope of the variable 'dev' can be reduced. [lib/librte_ethdev/rte_ethdev.c:3513]: (style) The scope of the variable 'vec' can be reduced. [lib/librte_ethdev/rte_ethdev.c:3517]: (style) The scope of the variable 'rc' can be reduced. [lib/librte_ethdev/rte_ethdev.c:2301] -> [lib/librte_ethdev/rte_ethdev.c:2328]: (style) Local variable basic_count shadows outer variable [lib/librte_ethdev/rte_flow.c:214]: (style) The scope of the variable 'flow' can be reduced. [lib/librte_ethdev/rte_flow.c:452]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_eventdev/rte_eventdev_pmd.h:105]: (style) The scope of the variable 'dev' can be reduced. [lib/librte_eventdev/rte_event_crypto_adapter.c:701]: (style) The scope of the variable 'enabled' can be reduced. [lib/librte_eventdev/rte_event_crypto_adapter.c:702]: (style) The scope of the variable 'i' can be reduced. [lib/librte_eventdev/rte_event_crypto_adapter.c:730]: (style) The scope of the variable 'qpairs' can be reduced. [lib/librte_eventdev/rte_event_crypto_adapter.c:731]: (style) The scope of the variable 'i' can be reduced. [lib/librte_eventdev/rte_event_crypto_adapter.c:887]: (style) The scope of the variable 'i' can be reduced. [lib/librte_eventdev/rte_event_crypto_adapter.c:1032]: (style) The scope of the variable 'dev_info' can be reduced. [lib/librte_eventdev/rte_event_crypto_adapter.c:1073]: (style) The scope of the variable 'dev_info' can be reduced. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:1362] -> [lib/librte_eventdev/rte_event_eth_rx_adapter.c:1368]: (warning) Identical condition 'ret', second condition is always false [lib/librte_eventdev/rte_event_eth_rx_adapter.c:248]: (style) The scope of the variable 'w' can be reduced. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:312]: (style) The scope of the variable 'i' can be reduced. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:775]: (style) The scope of the variable 'flow_id' can be reduced. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:779]: (style) The scope of the variable 'rss' can be reduced. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:781]: (style) The scope of the variable 'ts' can be reduced. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:850]: (style) The scope of the variable 'n' can be reduced. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:887]: (style) The scope of the variable 'err' can be reduced. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:976]: (style) The scope of the variable 'n' can be reduced. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:1027]: (style) The scope of the variable 'queue_info' can be reduced. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:1408]: (style) The scope of the variable 's' can be reduced. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:1652]: (style) The scope of the variable 'enabled' can be reduced. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:1653]: (style) The scope of the variable 'i' can be reduced. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:1863]: (style) The scope of the variable 'i' can be reduced. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:1906]: (style) The scope of the variable 'dev_info' can be reduced. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:1952]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:2307]: (style) The scope of the variable 'dev_info' can be reduced. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:2346]: (style) The scope of the variable 'dev_info' can be reduced. [lib/librte_eventdev/rte_event_eth_tx_adapter.c:491]: (style) The scope of the variable 'n' can be reduced. [lib/librte_eventdev/rte_event_eth_tx_adapter.c:577]: (style) The scope of the variable 'dev' can be reduced. [lib/librte_eventdev/rte_event_eth_tx_adapter.c:1003] -> [lib/librte_eventdev/rte_event_eth_tx_adapter.c:1005]: (style) Local variable ret shadows outer variable [lib/librte_eventdev/rte_event_eth_tx_adapter.c:1024] -> [lib/librte_eventdev/rte_event_eth_tx_adapter.c:1028]: (style) Local variable ret shadows outer variable [lib/librte_eventdev/rte_event_eth_tx_adapter.c:1055] -> [lib/librte_eventdev/rte_event_eth_tx_adapter.c:1059]: (style) Local variable ret shadows outer variable [lib/librte_eventdev/rte_event_eth_tx_adapter.c:1090] -> [lib/librte_eventdev/rte_event_eth_tx_adapter.c:1092]: (style) Local variable ret shadows outer variable [lib/librte_eventdev/rte_event_eth_tx_adapter.c:1104] -> [lib/librte_eventdev/rte_event_eth_tx_adapter.c:1106]: (style) Local variable ret shadows outer variable [lib/librte_eventdev/rte_event_eth_tx_adapter.c:1136] -> [lib/librte_eventdev/rte_event_eth_tx_adapter.c:1138]: (style) Local variable ret shadows outer variable [lib/librte_eventdev/rte_event_eth_tx_adapter.c:1150] -> [lib/librte_eventdev/rte_event_eth_tx_adapter.c:1152]: (style) Local variable ret shadows outer variable [lib/librte_eventdev/rte_event_timer_adapter.c:698]: (style) The scope of the variable 'num_msgs' can be reduced. [lib/librte_eventdev/rte_event_timer_adapter.c:814]: (style) The scope of the variable 'size' can be reduced. [lib/librte_eventdev/rte_event_timer_adapter.c:880]: (style) Clarify calculation precedence for '&' and '?'. [lib/librte_eventdev/rte_event_timer_adapter.c:899]: (style) Clarify calculation precedence for '&' and '?'. [lib/librte_eventdev/rte_eventdev.c:58]: (style) The scope of the variable 'cmp' can be reduced. [lib/librte_eventdev/rte_eventdev.c:1383]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_eventdev/rte_eventdev.c:1384]: (style) The scope of the variable 'mz_name' can be reduced. [lib/librte_eventdev/rte_eventdev.c:1385]: (style) The scope of the variable 'mz' can be reduced. [lib/librte_flow_classify/rte_flow_classify.c:602] -> [lib/librte_flow_classify/rte_flow_classify.c:607]: (style) Variable 'ret' is reassigned a value before the old one has been used. [lib/librte_flow_classify/rte_flow_classify.c:624]: (style) The scope of the variable 'ntuple_stats' can be reduced. [lib/librte_flow_classify/rte_flow_classify.c:626]: (style) The scope of the variable 'count' can be reduced. [lib/librte_flow_classify/rte_flow_classify.c:628]: (style) The scope of the variable 'i' can be reduced. [lib/librte_flow_classify/rte_flow_classify_parse.c:83]: (style) The scope of the variable 'cpy_count' can be reduced. [lib/librte_gro/gro_tcp4.h:213]: (style) The scope of the variable 'lastseg' can be reduced. [lib/librte_gro/gro_tcp4.c:206]: (style) The scope of the variable 'item_idx' can be reduced. [lib/librte_gro/gro_tcp4.c:208]: (style) The scope of the variable 'cmp' can be reduced. [lib/librte_gro/gro_tcp4.c:334]: (style) The scope of the variable 'j' can be reduced. [lib/librte_gro/gro_vxlan_tcp4.c:303]: (style) The scope of the variable 'item_idx' can be reduced. [lib/librte_gro/gro_vxlan_tcp4.c:305]: (style) The scope of the variable 'cmp' can be reduced. [lib/librte_gro/gro_vxlan_tcp4.c:457]: (style) The scope of the variable 'j' can be reduced. [lib/librte_gso/gso_common.c:51]: (style) The scope of the variable 'prev_segment' can be reduced. [lib/librte_gso/gso_common.c:52]: (style) The scope of the variable 'segment_bytes_remaining' can be reduced. [lib/librte_gso/gso_common.c:54]: (style) The scope of the variable 'more_out_segs' can be reduced. [lib/librte_gso/gso_udp4.c:14]: (style) The scope of the variable 'ipv4_hdr' can be reduced. [lib/librte_gso/gso_udp4.c:15]: (style) The scope of the variable 'is_mf' can be reduced. [lib/librte_gso/gso_udp4.c:17]: (style) The scope of the variable 'length' can be reduced. [lib/librte_hash/rte_cuckoo_hash.c:1720]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses. [lib/librte_hash/rte_cuckoo_hash.c:1749]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses. [lib/librte_hash/rte_cuckoo_hash.c:1924]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses. [lib/librte_hash/rte_cuckoo_hash.c:1959]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses. [lib/librte_hash/rte_cuckoo_hash.c:501]: (style) The scope of the variable 'cached_cnt' can be reduced. [lib/librte_hash/rte_cuckoo_hash.c:502]: (style) The scope of the variable 'i' can be reduced. [lib/librte_hash/rte_cuckoo_hash.c:739]: (style) The scope of the variable 'prev_alt_bkt_idx' can be reduced. [lib/librte_hash/rte_cuckoo_hash.c:743]: (style) The scope of the variable 'prev_slot' can be reduced. [lib/librte_hash/rte_cuckoo_hash.c:867]: (style) The scope of the variable 'curr_bkt' can be reduced. [lib/librte_hash/rte_cuckoo_hash.c:868]: (style) The scope of the variable 'cur_idx' can be reduced. [lib/librte_hash/rte_cuckoo_hash.c:1166]: (style) The scope of the variable 'key_idx' can be reduced. [lib/librte_hash/rte_cuckoo_hash.c:1241]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_hash/rte_cuckoo_hash.c:1338]: (style) The scope of the variable 'lcore_id' can be reduced. [lib/librte_hash/rte_cuckoo_hash.c:1338]: (style) The scope of the variable 'n_slots' can be reduced. [lib/librte_hash/rte_cuckoo_hash.c:1339]: (style) The scope of the variable 'cached_free_slots' can be reduced. [lib/librte_hash/rte_cuckoo_hash.c:1399]: (style) The scope of the variable 'key_idx' can be reduced. [lib/librte_hash/rte_cuckoo_hash.c:1541]: (style) The scope of the variable 'lcore_id' can be reduced. [lib/librte_hash/rte_cuckoo_hash.c:1541]: (style) The scope of the variable 'n_slots' can be reduced. [lib/librte_hash/rte_cuckoo_hash.c:1542]: (style) The scope of the variable 'cached_free_slots' can be reduced. [lib/librte_ip_frag/ip_frag_internal.c:226]: (style) The scope of the variable 'lru' can be reduced. [lib/librte_ip_frag/rte_ipv4_fragmentation.c:77]: (style) The scope of the variable 'frag_bytes_remaining' can be reduced. [lib/librte_ip_frag/rte_ipv4_reassembly.c:18]: (style) The scope of the variable 'prev' can be reduced. [lib/librte_ip_frag/rte_ipv6_fragmentation.c:80]: (style) The scope of the variable 'frag_bytes_remaining' can be reduced. [lib/librte_ip_frag/rte_ipv6_reassembly.c:37]: (style) The scope of the variable 'prev' can be reduced. [lib/librte_ipsec/rte_ipsec_group.h:48]: (style) The scope of the variable 'ss' can be reduced. [lib/librte_ipsec/ipsec_sqn.h:142]: (style) The scope of the variable 's' can be reduced. [lib/librte_ipsec/ipsec_sqn.h:168]: (style) The scope of the variable 'last_bucket' can be reduced. [lib/librte_ipsec/ipsec_sqn.h:168]: (style) The scope of the variable 'new_bucket' can be reduced. [lib/librte_ipsec/ipsec_sqn.h:168]: (style) The scope of the variable 'diff' can be reduced. [lib/librte_ipsec/ipsec_sqn.h:168]: (style) The scope of the variable 'i' can be reduced. [lib/librte_ipsec/iph.h:70]: (style) The scope of the variable 'v4h' can be reduced. [lib/librte_ipsec/iph.h:71]: (style) The scope of the variable 'v6h' can be reduced. [lib/librte_ipsec/sa.c:419]: (style) The scope of the variable 'sop' can be reduced. [lib/librte_ipsec/sa.c:440]: (style) The scope of the variable 'gcm' can be reduced. [lib/librte_ipsec/sa.c:562]: (style) The scope of the variable 'psqh' can be reduced. [lib/librte_ipsec/sa.c:563]: (style) The scope of the variable 'aad' can be reduced. [lib/librte_ipsec/sa.c:588]: (style) The scope of the variable 'rc' can be reduced. [lib/librte_ipsec/sa.c:724]: (style) The scope of the variable 'rc' can be reduced. [lib/librte_ipsec/sa.c:725]: (style) The scope of the variable 'l2' can be reduced. [lib/librte_ipsec/sa.c:725]: (style) The scope of the variable 'l3' can be reduced. [lib/librte_ipsec/sa.c:785]: (style) The scope of the variable 'gcm' can be reduced. [lib/librte_ipsec/sa.c:786]: (style) The scope of the variable 'ivc' can be reduced. [lib/librte_ipsec/sa.c:837]: (style) The scope of the variable 'aad' can be reduced. [lib/librte_ipsec/sa.c:913]: (style) The scope of the variable 'rc' can be reduced. [lib/librte_ipsec/sa.c:914]: (style) The scope of the variable 'hl' can be reduced. [lib/librte_ipsec/sa.c:960]: (style) The scope of the variable 'sop' can be reduced. [lib/librte_ipsec/sa.c:1301]: (style) The scope of the variable 'rc' can be reduced. [lib/librte_ipsec/sa.c:1353]: (style) The scope of the variable 'rc' can be reduced. [lib/librte_ipsec/sa.c:1354]: (style) The scope of the variable 'l2' can be reduced. [lib/librte_ipsec/sa.c:1354]: (style) The scope of the variable 'l3' can be reduced. [lib/librte_kni/rte_kni.c:578]: (style) The scope of the variable 'i' can be reduced. [lib/librte_kvargs/rte_kvargs.c:21]: (style) The scope of the variable 'i' can be reduced. [lib/librte_kvargs/rte_kvargs.c:92]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_kvargs/rte_kvargs.c:93]: (style) The scope of the variable 'pair' can be reduced. [lib/librte_kvargs/rte_kvargs.c:112]: (style) The scope of the variable 'pair' can be reduced. [lib/librte_kvargs/rte_kvargs.c:134]: (style) The scope of the variable 'pair' can be reduced. [lib/librte_latencystats/rte_latencystats.c:118]: (style) The scope of the variable 'diff_tsc' can be reduced. [lib/librte_lpm/rte_lpm.h:402]: (style) The scope of the variable 'ptbl' can be reduced. [lib/librte_lpm/rte_lpm.c:406]: (style) The scope of the variable 'rule_gindex' can be reduced. [lib/librte_lpm/rte_lpm.c:406]: (style) The scope of the variable 'last_rule' can be reduced. [lib/librte_lpm/rte_lpm.c:478]: (style) The scope of the variable 'rule_gindex' can be reduced. [lib/librte_lpm/rte_lpm.c:478]: (style) The scope of the variable 'last_rule' can be reduced. [lib/librte_lpm/rte_lpm.c:649]: (style) The scope of the variable 'tbl8_entry' can be reduced. [lib/librte_lpm/rte_lpm.c:676]: (style) The scope of the variable 'tbl8_entry' can be reduced. [lib/librte_lpm/rte_lpm.c:1251]: (style) The scope of the variable 'rule_index' can be reduced. [lib/librte_lpm/rte_lpm.c:1252]: (style) The scope of the variable 'ip_masked' can be reduced. [lib/librte_lpm/rte_lpm.c:1273]: (style) The scope of the variable 'rule_index' can be reduced. [lib/librte_lpm/rte_lpm.c:1274]: (style) The scope of the variable 'ip_masked' can be reduced. [lib/librte_lpm/rte_lpm.c:67]: (portability) Shifting a negative value is technically undefined behaviour [lib/librte_lpm/rte_lpm.c:1112] -> [lib/librte_lpm/rte_lpm.c:67]: (warning) Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 1112. [lib/librte_lpm/rte_lpm6.c:578]: (style) The scope of the variable 'bitshift' can be reduced. [lib/librte_lpm/rte_lpm6.c:658]: (style) The scope of the variable 'tbl_range' can be reduced. [lib/librte_lpm/rte_lpm6.c:658]: (style) The scope of the variable 'tbl8_group_start' can be reduced. [lib/librte_lpm/rte_lpm6.c:658]: (style) The scope of the variable 'tbl8_group_end' can be reduced. [lib/librte_lpm/rte_lpm6.c:661]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_lpm/rte_lpm6.c:832]: (style) The scope of the variable 'tbl' can be reduced. [lib/librte_lpm/rte_lpm6.c:930]: (style) The scope of the variable 'tbl8_index' can be reduced. [lib/librte_lpm/rte_lpm6.c:1015]: (style) The scope of the variable 'tbl' can be reduced. [lib/librte_lpm/rte_lpm6.c:1017]: (style) The scope of the variable 'tbl24_index' can be reduced. [lib/librte_lpm/rte_lpm6.c:1018]: (style) The scope of the variable 'first_byte' can be reduced. [lib/librte_lpm/rte_lpm6.c:1056]: (style) The scope of the variable 'tbl' can be reduced. [lib/librte_lpm/rte_lpm6.c:1058]: (style) The scope of the variable 'tbl24_index' can be reduced. [lib/librte_lpm/rte_lpm6.c:1059]: (style) The scope of the variable 'first_byte' can be reduced. [lib/librte_lpm/rte_lpm6.c:1252]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_lpm/rte_lpm6.c:1254]: (style) The scope of the variable 'mask' can be reduced. [lib/librte_lpm/rte_lpm6.c:1242]: (portability) Shifting a negative value is technically undefined behaviour [lib/librte_mbuf/rte_mbuf.h:2316]: (style) The scope of the variable 'seg_len' can be reduced. [lib/librte_mbuf/rte_mbuf.c:45]: (style) The scope of the variable 'roomsz' can be reduced. [lib/librte_mbuf/rte_mbuf.c:253]: (style) The scope of the variable 'len' can be reduced. [lib/librte_mbuf/rte_mbuf.c:286]: (style) The scope of the variable 'copy_len' can be reduced. [lib/librte_mbuf/rte_mbuf_ptype.c:204]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [lib/librte_mbuf/rte_mbuf_ptype.c:205]: (style) Assignment of function parameter has no effect outside the function. [lib/librte_member/rte_member_vbf.c:170]: (style) The scope of the variable 'bit_loc' can be reduced. [lib/librte_member/rte_member_vbf.c:230]: (style) The scope of the variable 'bit_loc' can be reduced. [lib/librte_member/rte_member_vbf.c:255]: (style) The scope of the variable 'match_cnt_t' can be reduced. [lib/librte_member/rte_member_vbf.c:295]: (style) The scope of the variable 'bit_loc' can be reduced. [lib/librte_mempool/rte_mempool.c:531]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [lib/librte_mempool/rte_mempool.c:441] -> [lib/librte_mempool/rte_mempool.c:498]: (style) Variable 'external' is reassigned a value before the old one has been used. [lib/librte_mempool/rte_mempool.c:170]: (style) The scope of the variable 'obj' can be reduced. [lib/librte_mempool/rte_mempool.c:260]: (style) The scope of the variable 'memhdr' can be reduced. [lib/librte_mempool/rte_mempool.c:283]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_mempool/rte_mempool.c:1002]: (style) The scope of the variable 'cache_count' can be reduced. [lib/librte_mempool/rte_mempool.c:1031]: (style) The scope of the variable 'cookie' can be reduced. [lib/librte_mempool/rte_mempool.c:1033]: (style) The scope of the variable 'obj' can be reduced. [lib/librte_metrics/rte_metrics.c:145]: (style) The scope of the variable 'entry' can be reduced. [lib/librte_metrics/rte_metrics.c:207]: (style) The scope of the variable 'idx_name' can be reduced. [lib/librte_metrics/rte_metrics.c:240]: (style) The scope of the variable 'idx_name' can be reduced. [lib/librte_net/rte_ip.h:190]: (style) The scope of the variable 'tmp' can be reduced. [lib/librte_net/rte_net.h:118]: (style) The scope of the variable 'udp_hdr' can be reduced. [lib/librte_pdump/rte_pdump.c:494]: (style) The scope of the variable 'mp_rep' can be reduced. [lib/librte_pipeline/rte_pipeline.c:1508]: (style) The scope of the variable 'retval' can be reduced. [lib/librte_pipeline/rte_pipeline.c:1545]: (style) The scope of the variable 'retval' can be reduced. [lib/librte_pipeline/rte_pipeline.c:1579]: (style) The scope of the variable 'retval' can be reduced. [lib/librte_pipeline/rte_table_action.c:1680]: (style) The scope of the variable 'cap' can be reduced. [lib/librte_port/rte_port_source_sink.c:222] -> [lib/librte_port/rte_port_source_sink.c:223]: (warning) Identical inner 'if' condition is always true. [lib/librte_port/rte_port_source_sink.c:477] -> [lib/librte_port/rte_port_source_sink.c:478]: (warning) Identical inner 'if' condition is always true. [lib/librte_port/rte_port_source_sink.c:261]: (style) The scope of the variable 'i' can be reduced. [lib/librte_port/rte_port_source_sink.c:531]: (style) The scope of the variable 'pkt_index' can be reduced. [lib/librte_power/guest_channel.c:94]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_power/rte_power_empty_poll.c:162]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [lib/librte_power/rte_power_empty_poll.c:160]: (style) The scope of the variable 'p0_empty_deq' can be reduced. [lib/librte_power/rte_power_empty_poll.c:373]: (style) The scope of the variable 'poll_stats' can be reduced. [lib/librte_rawdev/rte_rawdev.c:94] -> [lib/librte_rawdev/rte_rawdev.c:92]: (warning) Either the condition 'if(dev_info)' is redundant or there is possible null pointer dereference: dev_info. [lib/librte_rawdev/rte_rawdev_pmd.h:91]: (style) The scope of the variable 'dev' can be reduced. [lib/librte_rawdev/rte_rawdev.c:277]: (style) Checking if unsigned variable 'size' is less than zero. [lib/librte_ring/rte_ring_c11_mem.h:60]: (style) The scope of the variable 'cons_tail' can be reduced. [lib/librte_ring/rte_ring_c11_mem.h:136]: (style) The scope of the variable 'prod_tail' can be reduced. [lib/librte_sched/rte_sched.c:889] -> [lib/librte_sched/rte_sched.c:919]: (style) Variable 'params' is reassigned a value before the old one has been used. [lib/librte_sched/rte_sched.c:1348]: (style) The scope of the variable 'pkt30' can be reduced. [lib/librte_sched/rte_sched.c:1348]: (style) The scope of the variable 'pkt31' can be reduced. [lib/librte_sched/rte_sched.c:1350]: (style) The scope of the variable 'q30_base' can be reduced. [lib/librte_sched/rte_sched.c:1350]: (style) The scope of the variable 'q31_base' can be reduced. [lib/librte_sched/rte_sched.c:1351]: (style) The scope of the variable 'q30' can be reduced. [lib/librte_sched/rte_sched.c:1351]: (style) The scope of the variable 'q31' can be reduced. [lib/librte_sched/rte_sched.c:1352]: (style) The scope of the variable 'r30' can be reduced. [lib/librte_sched/rte_sched.c:1352]: (style) The scope of the variable 'r31' can be reduced. [lib/librte_sched/rte_sched.c:1352]: (style) The scope of the variable 'r_last' can be reduced. [lib/librte_table/rte_table_hash_key16.c:242] -> [lib/librte_table/rte_table_hash_key16.c:261]: (style) Local variable pos shadows outer variable [lib/librte_table/rte_table_hash_key16.c:242] -> [lib/librte_table/rte_table_hash_key16.c:279]: (style) Local variable pos shadows outer variable [lib/librte_table/rte_table_hash_key16.c:242] -> [lib/librte_table/rte_table_hash_key16.c:292]: (style) Local variable pos shadows outer variable [lib/librte_table/rte_table_hash_key16.c:883] -> [lib/librte_table/rte_table_hash_key16.c:883]: (style) Local variable pos shadows outer variable [lib/librte_table/rte_table_hash_key16.c:1116] -> [lib/librte_table/rte_table_hash_key16.c:1123]: (style) Local variable pkt_mask shadows outer variable [lib/librte_table/rte_table_hash_key32.c:250] -> [lib/librte_table/rte_table_hash_key32.c:269]: (style) Local variable pos shadows outer variable [lib/librte_table/rte_table_hash_key32.c:250] -> [lib/librte_table/rte_table_hash_key32.c:287]: (style) Local variable pos shadows outer variable [lib/librte_table/rte_table_hash_key32.c:250] -> [lib/librte_table/rte_table_hash_key32.c:300]: (style) Local variable pos shadows outer variable [lib/librte_table/rte_table_hash_key32.c:919] -> [lib/librte_table/rte_table_hash_key32.c:919]: (style) Local variable pos shadows outer variable [lib/librte_table/rte_table_hash_key32.c:1150] -> [lib/librte_table/rte_table_hash_key32.c:1157]: (style) Local variable pkt_mask shadows outer variable [lib/librte_table/rte_table_hash_key8.c:233] -> [lib/librte_table/rte_table_hash_key8.c:251]: (style) Local variable pos shadows outer variable [lib/librte_table/rte_table_hash_key8.c:233] -> [lib/librte_table/rte_table_hash_key8.c:251]: (style) Local variable mask shadows outer variable [lib/librte_table/rte_table_hash_key8.c:233] -> [lib/librte_table/rte_table_hash_key8.c:268]: (style) Local variable pos shadows outer variable [lib/librte_table/rte_table_hash_key8.c:233] -> [lib/librte_table/rte_table_hash_key8.c:268]: (style) Local variable mask shadows outer variable [lib/librte_table/rte_table_hash_key8.c:233] -> [lib/librte_table/rte_table_hash_key8.c:280]: (style) Local variable pos shadows outer variable [lib/librte_table/rte_table_hash_key8.c:233] -> [lib/librte_table/rte_table_hash_key8.c:280]: (style) Local variable mask shadows outer variable [lib/librte_table/rte_table_hash_key8.c:855] -> [lib/librte_table/rte_table_hash_key8.c:855]: (style) Local variable pos shadows outer variable [lib/librte_table/rte_table_hash_key8.c:1085] -> [lib/librte_table/rte_table_hash_key8.c:1092]: (style) Local variable pkt_mask shadows outer variable [lib/librte_table/rte_table_hash_lru.c:342] -> [lib/librte_table/rte_table_hash_lru.c:351]: (style) Local variable pos shadows outer variable [lib/librte_telemetry/rte_telemetry.c:698]: (style) Condition 'selftest' is always false [lib/librte_telemetry/rte_telemetry.c:1340] -> [lib/librte_telemetry/rte_telemetry.c:1342]: (style) Variable 'ret' is reassigned a value before the old one has been used. [lib/librte_telemetry/rte_telemetry.c:786]: (style) The scope of the variable 'bytes' can be reduced. [lib/librte_telemetry/rte_telemetry.c:835]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_telemetry/rte_telemetry.c:1435]: (style) The scope of the variable 'dataArrayObj' can be reduced. [lib/librte_telemetry/rte_telemetry.c:1436]: (style) The scope of the variable 'statsArrayObj' can be reduced. [lib/librte_telemetry/rte_telemetry.c:1782]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_telemetry/rte_telemetry.c:459]: (style) Checking if unsigned variable 'num_port_ids' is less than zero. [lib/librte_telemetry/rte_telemetry.c:459]: (style) Checking if unsigned variable 'num_metric_ids' is less than zero. [lib/librte_telemetry/rte_telemetry_parser.c:331] -> [lib/librte_telemetry/rte_telemetry_parser.c:335]: (style) Variable 'ret' is reassigned a value before the old one has been used. [lib/librte_telemetry/rte_telemetry_parser.c:188]: (style) Checking if unsigned variable 'num_stat_names' is less than zero. [lib/librte_telemetry/rte_telemetry_parser.c:22] -> [lib/librte_telemetry/rte_telemetry_parser.c:518]: (style) Local variable command shadows outer variable [lib/librte_telemetry/rte_telemetry_parser_test.c:93] -> [lib/librte_telemetry/rte_telemetry_parser_test.c:139]: (style) Local variable i shadows outer variable [lib/librte_timer/rte_timer.c:488]: (style) The scope of the variable 'ret' can be reduced. [lib/librte_timer/rte_timer.c:176]: (style) The scope of the variable 'i' can be reduced. [lib/librte_vhost/fd_man.c:281] -> [lib/librte_vhost/fd_man.c:289]: (style) Variable 'pfdentry->busy' is reassigned a value before the old one has been used. [lib/librte_vhost/fd_man.c:229]: (style) The scope of the variable 'numfds' can be reduced. [lib/librte_vhost/fd_man.c:233]: (style) The scope of the variable 'val' can be reduced. [lib/librte_vhost/iotlb.c:292]: (style) Assignment of function parameter has no effect outside the function. [lib/librte_vhost/rte_vhost.h:156]: (style) The scope of the variable 'reg' can be reduced. [lib/librte_vhost/vhost.h:590]: (style) The scope of the variable 'page' can be reduced. [lib/librte_vhost/vhost.h:760]: (style) The scope of the variable 'src' can be reduced. [lib/librte_vhost/socket.c:803]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [lib/librte_vhost/socket.c:163]: (style) The scope of the variable 'cmsg' can be reduced. [lib/librte_vhost/vdpa.c:130]: (style) The scope of the variable 'desc_addr' can be reduced. [lib/librte_vhost/vdpa.c:222]: (style) Clarify calculation precedence for '&' and '?'. [lib/librte_vhost/vhost.c:666]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses. [lib/librte_vhost/vhost.c:356]: (style) The scope of the variable 'vdpa_dev' can be reduced. [lib/librte_vhost/vhost.c:357]: (style) The scope of the variable 'did' can be reduced. [lib/librte_vhost/vhost_crypto.c:666]: (style) The scope of the variable 'wb_last' can be reduced. [lib/librte_vhost/vhost_crypto.c:1647]: (style) The scope of the variable 'count' can be reduced. [lib/librte_vhost/vhost_user.c:100]: (style) The scope of the variable 'reg' can be reduced. [lib/librte_vhost/vhost_user.c:735]: (style) The scope of the variable 'last_page' can be reduced. [lib/librte_vhost/vhost_user.c:736]: (style) The scope of the variable 'old_pages' can be reduced. [lib/librte_vhost/vhost_user.c:1118]: (style) The scope of the variable 'vq' can be reduced. [lib/librte_vhost/vhost_user.c:1238]: (style) The scope of the variable 'val' can be reduced. [lib/librte_vhost/vhost_user.c:811]: (style) The scope of the variable 'page' can be reduced. [lib/librte_vhost/virtio_net.c:100] -> [lib/librte_vhost/virtio_net.c:99]: (style) Same expression used in consecutive assignments of 'used_idx' and 'head_idx'. [lib/librte_vhost/virtio_net.c:706]: (style) The scope of the variable 'len' can be reduced. [lib/librte_vhost/virtio_net.c:708]: (style) The scope of the variable 'dst' can be reduced. [lib/librte_vhost/virtio_net.c:1103]: (style) The scope of the variable 'len' can be reduced. [lib/librte_vhost/virtio_net.c:1105]: (style) The scope of the variable 'src' can be reduced. [lib/librte_vhost/virtio_net.c:1324]: (style) The scope of the variable 'mbuf_size' can be reduced. [lib/librte_vhost/virtio_net.c:1324]: (style) The scope of the variable 'priv_size' can be reduced. [lib/librte_vhost/virtio_net.c:182]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [lib/librte_vhost/virtio_net.c:182]: (warning) %hhx in format string (no. 1) requires 'unsigned char' but the argument type is 'signed char'. [lib/librte_vhost/virtio_net.c:720]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [lib/librte_vhost/virtio_net.c:720]: (warning) %hhx in format string (no. 1) requires 'unsigned char' but the argument type is 'signed char'. [lib/librte_vhost/virtio_net.c:731]: (warning) %hhx in format string (no. 1) requires 'unsigned char' but the argument type is 'signed char'. [lib/librte_vhost/virtio_net.c:750]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [lib/librte_vhost/virtio_net.c:750]: (warning) %hhx in format string (no. 1) requires 'unsigned char' but the argument type is 'signed char'. [lib/librte_vhost/virtio_net.c:1161]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [lib/librte_vhost/virtio_net.c:1161]: (warning) %hhx in format string (no. 1) requires 'unsigned char' but the argument type is 'signed char'. [lib/librte_vhost/virtio_net.c:1237]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [lib/librte_vhost/virtio_net.c:1237]: (warning) %hhx in format string (no. 1) requires 'unsigned char' but the argument type is 'signed char'. [test/bpf/t1.c:50]: (portability) '(void*)iphdr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [test/test-acl/main.c:476]: (style) Same value in both branches of ternary operator. [test/test-acl/main.c:720]: (style) The scope of the variable 'rc' can be reduced. [test/test-acl/main.c:819]: (style) The scope of the variable 'ret' can be reduced. [test/test-acl/main.c:917]: (style) The scope of the variable 'rc' can be reduced. [test/test-pipeline/pipeline_hash.c:431]: (style) The scope of the variable 'ip_dst' can be reduced. [test/test-pipeline/pipeline_hash.c:433]: (style) The scope of the variable 'k32' can be reduced. [test/test/resource.c:82]: (style) The scope of the variable 'ret' can be reduced. [test/test/sample_packet_forward.c:25]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [test/test/sample_packet_forward.c:78]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [test/test/sample_packet_forward.c:103]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [test/test/sample_packet_forward.c:109]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test.c:259]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test.c:274]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test.c:275]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test.c:276]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test.c:277]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test.c:278]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test.c:279]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_acl.c:779]: (style) The scope of the variable 'rc' can be reduced. [test/test/test_acl.c:977]: (style) The scope of the variable 'rc' can be reduced. [test/test/test_atomic.c:133]: (style) The scope of the variable 'tmp16' can be reduced. [test/test/test_atomic.c:134]: (style) The scope of the variable 'tmp32' can be reduced. [test/test/test_atomic.c:135]: (style) The scope of the variable 'tmp64' can be reduced. [test/test/test_barrier.c:202]: (warning) %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_barrier.c:264]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_bitmap.c:104]: (style) The scope of the variable 'val' can be reduced. [test/test/test_bpf.c:1620]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary. [test/test/test_bpf.c:2021]: (style) The scope of the variable 'rv' can be reduced. [test/test/test_bpf.c:286]: (portability) Shifting a negative value is technically undefined behaviour [test/test/test_bpf.c:286]: (error) Shifting 32-bit value by 32 bits is undefined behaviour [test/test/test_cmdline_cirbuf.c:755]: (style) Clarify calculation precedence for '%' and '?'. [test/test/test_cmdline_cirbuf.c:758]: (style) Clarify calculation precedence for '%' and '?'. [test/test/test_cmdline_cirbuf.c:762]: (style) Clarify calculation precedence for '%' and '?'. [test/test/test_cmdline_cirbuf.c:768]: (style) Clarify calculation precedence for '%' and '?'. [test/test/test_cmdline_etheraddr.c:150]: (style) The scope of the variable 'ret' can be reduced. [test/test/test_cmdline_portlist.c:153]: (style) The scope of the variable 'ret' can be reduced. [test/test/test_common.c:211]: (style) The scope of the variable 'base' can be reduced. [test/test/test_common.c:211]: (style) The scope of the variable 'compare' can be reduced. [test/test/test_common.c:252]: (style) The scope of the variable 'expected' can be reduced. [test/test/test_common.c:252]: (style) The scope of the variable 'rc' can be reduced. [test/test/test_common.c:253]: (style) The scope of the variable 'arg' can be reduced. [test/test/test_compressdev.c:948]: (warning) Logical disjunction always evaluates to true: zlib_dir != 1 || zlib_dir != 3. [test/test/test_compressdev.c:1182]: (warning) Logical disjunction always evaluates to true: zlib_dir != 2 || zlib_dir != 3. [test/test/test_compressdev.c:926] -> [test/test/test_compressdev.c:930]: (style) Variable 'deqd_retries' is reassigned a value before the old one has been used. [test/test/test_compressdev.c:1173] -> [test/test/test_compressdev.c:1176]: (style) Variable 'deqd_retries' is reassigned a value before the old one has been used. [test/test/test_compressdev.c:605]: (style) The scope of the variable 'next_seg' can be reduced. [test/test/test_compressdev.c:610]: (style) The scope of the variable 'ret' can be reduced. [test/test/test_cryptodev.c:100] -> [test/test/test_cryptodev.c:99]: (warning) Either the condition 'if(m)' is redundant or there is possible null pointer dereference: m. [test/test/test_cryptodev.c:6510] -> [test/test/test_cryptodev.c:6514]: (style) Variable 'dev->dev_ops->stats_get' is reassigned a value before the old one has been used. [test/test/test_cryptodev.c:3907]: (style) The scope of the variable 'curr_byte' can be reduced. [test/test/test_cryptodev.c:5663]: (style) The scope of the variable 'i' can be reduced. [test/test/test_cryptodev.c:5883]: (style) The scope of the variable 'i' can be reduced. [test/test/test_cryptodev.c:6828]: (style) The scope of the variable 'j' can be reduced. [test/test/test_cryptodev.c:375]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [test/test/test_cryptodev.c:360]: (style) The scope of the variable 'vdev_args' can be reduced. [test/test/test_cryptodev.c:361]: (style) The scope of the variable 'temp_str' can be reduced. [test/test/test_cryptodev.c:363]: (style) The scope of the variable 'slave_core_count' can be reduced. [test/test/test_cryptodev.c:364]: (style) The scope of the variable 'socket_id' can be reduced. [test/test/test_cryptodev.c:8746]: (style) The scope of the variable 'vdev_name' can be reduced. [test/test/test_cryptodev.c:8855]: (style) The scope of the variable 'ret' can be reduced. [test/test/test_cryptodev_asym.c:313]: (style) The scope of the variable 'ret' can be reduced. [test/test/test_cryptodev_asym.c:39]: (style) struct member 'crypto_unittest_params::sess' is never used. [test/test/test_cryptodev_blockcipher.c:130]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:145]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:172]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:182]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:194]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:228]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:242]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:288]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:353]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:377]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:390]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:407]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:411]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:433]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:446]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:493]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:519]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:580]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_cryptodev_blockcipher.c:479] -> [test/test/test_cryptodev_blockcipher.c:503]: (style) Variable 'head_unchanged_len' is reassigned a value before the old one has been used. [test/test/test_cycles.c:54]: (style) The scope of the variable 'cycles' can be reduced. [test/test/test_distributor.c:125]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_distributor.c:150]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_distributor.c:176]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_distributor.c:231]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [test/test/test_distributor.c:324]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_distributor.c:324]: (warning) %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_distributor.c:382]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_distributor.c:445]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_distributor.c:498]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_distributor.c:78]: (style) Variable 'count' is assigned a value that is never used. [test/test/test_distributor.c:287]: (style) Variable 'count' is assigned a value that is never used. [test/test/test_distributor_perf.c:127]: (style) Variable 'count' is assigned a value that is never used. [test/test/test_eal_flags.c:1201]: (style) Condition 'num_sockets<=0' is always false [test/test/test_efd_perf.c:207]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_efd_perf.c:249]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_efd_perf.c:316]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [test/test/test_efd_perf.c:88]: (style) The scope of the variable 'swap_idx' can be reduced. [test/test/test_efd_perf.c:173]: (style) The scope of the variable 'ret' can be reduced. [test/test/test_efd_perf.c:278]: (style) The scope of the variable 'ret' can be reduced. [test/test/test_efd_perf.c:121] -> [test/test/test_efd_perf.c:146]: (style) Local variable num_duplicates shadows outer variable [test/test/test_efd_perf.c:150]: (style) Variable 'num_duplicates' is modified but its new value is never used. [test/test/test_event_crypto_adapter.c:139]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_event_crypto_adapter.c:580] -> [test/test/test_event_crypto_adapter.c:582]: (style) Variable 'dev_conf->nb_event_port_enqueue_depth' is reassigned a value before the old one has been used. [test/test/test_event_crypto_adapter.c:166]: (style) The scope of the variable 'sess' can be reduced. [test/test/test_event_crypto_adapter.c:262]: (style) The scope of the variable 'ret' can be reduced. [test/test/test_event_crypto_adapter.c:357]: (style) The scope of the variable 'sess' can be reduced. [test/test/test_event_crypto_adapter.c:483]: (style) The scope of the variable 'ret' can be reduced. [test/test/test_event_crypto_adapter.c:771]: (style) The scope of the variable 'ret' can be reduced. [test/test/test_event_crypto_adapter.c:65]: (style) struct member 'event_crypto_adapter_test_params::config' is never used. [test/test/test_event_eth_rx_adapter.c:46] -> [test/test/test_event_eth_rx_adapter.c:55]: (style) Variable 'retval' is reassigned a value before the old one has been used. [test/test/test_event_eth_rx_adapter.c:207] -> [test/test/test_event_eth_rx_adapter.c:215]: (style) Variable 'err' is reassigned a value before the old one has been used. [test/test/test_event_eth_rx_adapter.c:254] -> [test/test/test_event_eth_rx_adapter.c:263]: (style) Variable 'err' is reassigned a value before the old one has been used. [test/test/test_event_eth_rx_adapter.c:126]: (style) The scope of the variable 'retval' can be reduced. [test/test/test_event_eth_rx_adapter.c:162]: (style) The scope of the variable 'retval' can be reduced. [test/test/test_event_eth_tx_adapter.c:241] -> [test/test/test_event_eth_tx_adapter.c:250]: (style) Variable 'err' is reassigned a value before the old one has been used. [test/test/test_event_eth_tx_adapter.c:397] -> [test/test/test_event_eth_tx_adapter.c:399]: (style) Variable 'err' is reassigned a value before the old one has been used. [test/test/test_event_eth_tx_adapter.c:117]: (style) The scope of the variable 'c1' can be reduced. [test/test/test_event_eth_tx_adapter.c:118]: (style) The scope of the variable 'c2' can be reduced. [test/test/test_event_eth_tx_adapter.c:119]: (style) The scope of the variable 'err' can be reduced. [test/test/test_event_eth_tx_adapter.c:191]: (style) The scope of the variable 'vdev_name' can be reduced. [test/test/test_event_ring.c:23] -> [test/test/test_event_ring.c:54]: (style) Local variable r shadows outer variable [test/test/test_event_timer_adapter.c:155]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_event_timer_adapter.c:65] -> [test/test/test_event_timer_adapter.c:67]: (style) Variable 'dev_conf->nb_event_port_enqueue_depth' is reassigned a value before the old one has been used. [test/test/test_event_timer_adapter.c:464]: (style) The scope of the variable 'valid_event' can be reduced. [test/test/test_event_timer_adapter.c:683]: (style) The scope of the variable 'ret' can be reduced. [test/test/test_event_timer_adapter.c:772]: (style) The scope of the variable 'n' can be reduced. [test/test/test_event_timer_adapter.c:761]: (style) Variable 'cancel_count' is modified but its new value is never used. [test/test/test_eventdev.c:95] -> [test/test/test_eventdev.c:97]: (style) Variable 'dev_conf->nb_event_port_enqueue_depth' is reassigned a value before the old one has been used. [test/test/test_eventdev.c:338]: (style) The scope of the variable 'priority' can be reduced. [test/test/test_flow_classify.c:190] -> [test/test/test_flow_classify.c:642]: (style) Local variable error shadows outer variable [test/test/test_func_reentrancy.c:93]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_func_reentrancy.c:120]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_func_reentrancy.c:153]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_func_reentrancy.c:184]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_func_reentrancy.c:459]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [test/test/test_func_reentrancy.c:436] -> [test/test/test_func_reentrancy.c:445]: (style) Variable 'cores' is reassigned a value before the old one has been used. [test/test/test_func_reentrancy.c:88]: (style) The scope of the variable 'rp' can be reduced. [test/test/test_func_reentrancy.c:147]: (style) The scope of the variable 'mp' can be reduced. [test/test/test_func_reentrancy.c:212]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_func_reentrancy.c:247]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_func_reentrancy.c:276]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_func_reentrancy.c:311]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_func_reentrancy.c:208]: (style) The scope of the variable 'handle' can be reduced. [test/test/test_func_reentrancy.c:272]: (style) The scope of the variable 'handle' can be reduced. [test/test/test_func_reentrancy.c:342]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_func_reentrancy.c:373]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_func_reentrancy.c:338]: (style) The scope of the variable 'lpm' can be reduced. [test/test/test_hash.c:151]: (style) The scope of the variable 'hash_val' can be reduced. [test/test/test_hash.c:152]: (style) The scope of the variable 'init_val' can be reduced. [test/test/test_hash.c:1343]: (style) The scope of the variable 'ret' can be reduced. [test/test/test_hash.c:1344]: (style) The scope of the variable 'cnt' can be reduced. [test/test/test_hash.c:1494] -> [test/test/test_hash.c:213]: (style) Local variable key shadows outer variable [test/test/test_hash.c:1494] -> [test/test/test_hash.c:503]: (style) Local variable key shadows outer variable [test/test/test_hash.c:102] -> [test/test/test_hash.c:1018]: (style) Local variable keys shadows outer variable [test/test/test_hash.c:102] -> [test/test/test_hash.c:1425]: (style) Local variable keys shadows outer variable [test/test/test_hash.c:891]: (style) Variable 'expected_pos' is assigned a value that is never used. [test/test/test_hash_multiwriter.c:202]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [test/test/test_hash_multiwriter.c:222]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_hash_multiwriter.c:229]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_hash_multiwriter.c:234]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_hash_multiwriter.c:44] -> [test/test/test_hash_multiwriter.c:101]: (style) Local variable rounded_nb_total_tsx_insertion shadows outer variable [test/test/test_hash_perf.c:425]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_hash_perf.c:203]: (warning) Redundant assignment of 'keys[i][j]' to itself. [test/test/test_hash_perf.c:127]: (style) The scope of the variable 'swap_idx' can be reduced. [test/test/test_hash_perf.c:130]: (style) The scope of the variable 'temp_position' can be reduced. [test/test/test_hash_perf.c:164]: (style) The scope of the variable 'bucket_idx' can be reduced. [test/test/test_hash_perf.c:164]: (style) The scope of the variable 'incr' can be reduced. [test/test/test_hash_perf.c:259]: (style) The scope of the variable 'data' can be reduced. [test/test/test_hash_perf.c:607]: (style) The scope of the variable 'key' can be reduced. [test/test/test_hash_perf.c:608]: (style) The scope of the variable 'val' can be reduced. [test/test/test_hash_perf.c:62] -> [test/test/test_hash_perf.c:602]: (style) Local variable keys shadows outer variable [test/test/test_hash_readwrite.c:254]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_hash_readwrite.c:261]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_hash_readwrite.c:266]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_hash_readwrite.c:563]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_hash_readwrite.c:568]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_hash_readwrite.c:629] -> [test/test/test_hash_readwrite.c:689]: (style) Variable 'i' is reassigned a value before the old one has been used. [test/test/test_hash_readwrite.c:325]: (style) The scope of the variable 'ret' can be reduced. [test/test/test_hash_readwrite_lf.c:371]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_hash_readwrite_lf.c:373]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_hash_readwrite_lf.c:375]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_hash_readwrite_lf.c:377]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_hash_readwrite_lf.c:379]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_hash_readwrite_lf.c:1145]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_hash_readwrite_lf.c:110]: (style) The scope of the variable 'diff' can be reduced. [test/test/test_hash_readwrite_lf.c:545]: (style) The scope of the variable 'ret' can be reduced. [test/test/test_interrupts.c:365]: (style) Condition 'test_interrupt_trigger_interrupt()<0' is always false [test/test/test_interrupts.c:397]: (style) Condition 'test_interrupt_init()<0' is always false [test/test/test_ipsec.c:287]: (style) The scope of the variable 'rc' can be reduced. [test/test/test_ipsec.c:684]: (style) The scope of the variable 'auth_algo' can be reduced. [test/test/test_ipsec.c:685]: (style) The scope of the variable 'cipher_algo' can be reduced. [test/test/test_ipsec.c:872]: (style) The scope of the variable 'r' can be reduced. [test/test/test_ipsec.c:1009]: (style) The scope of the variable 'j' can be reduced. [test/test/test_ipsec.c:1010]: (style) The scope of the variable 'rc' can be reduced. [test/test/test_ipsec.c:1260]: (style) The scope of the variable 'obuf_data' can be reduced. [test/test/test_ipsec.c:1261]: (style) The scope of the variable 'testbuf_data' can be reduced. [test/test/test_ipsec.c:1366]: (style) The scope of the variable 'ibuf_data' can be reduced. [test/test/test_ipsec.c:1367]: (style) The scope of the variable 'obuf_data' can be reduced. [test/test/test_ipsec.c:1401]: (style) The scope of the variable 'n' can be reduced. [test/test/test_ipsec.c:1480]: (style) The scope of the variable 'n' can be reduced. [test/test/test_ipsec.c:1554]: (style) The scope of the variable 'obuf_data' can be reduced. [test/test/test_ipsec.c:1555]: (style) The scope of the variable 'ibuf_data' can be reduced. [test/test/test_ipsec.c:1589]: (style) The scope of the variable 'n' can be reduced. [test/test/test_ipsec.c:1668]: (style) The scope of the variable 'n' can be reduced. [test/test/test_ipsec.c:2155]: (style) The scope of the variable 'j' can be reduced. [test/test/test_ipsec.c:2285]: (style) The scope of the variable 'r' can be reduced. [test/test/test_ipsec.c:2373]: (style) The scope of the variable 'k' can be reduced. [test/test/test_ipsec.c:53]: (style) struct member 'user_params::aead_algo' is never used. [test/test/test_kni.c:183]: (style) The scope of the variable 'p_ret' can be reduced. [test/test/test_kvargs.c:30]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_kvargs.c:72]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_kvargs.c:85]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_kvargs.c:93]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_kvargs.c:101]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_kvargs.c:109]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_kvargs.c:133]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_kvargs.c:154]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_latencystats.c:84]: (error) Array 'lat_stats_strings[4]' accessed at index 4, which is out of bounds. [test/test/test_latencystats.c:84]: (error) Array 'names[4]' accessed at index 4, which is out of bounds. [test/test/test_link_bonding.c:212]: (style) The scope of the variable 'i' can be reduced. [test/test/test_link_bonding.c:649]: (style) The scope of the variable 'bonding_mode' can be reduced. [test/test/test_link_bonding.c:701]: (style) The scope of the variable 'retval' can be reduced. [test/test/test_link_bonding.c:703]: (style) The scope of the variable 'expected_mac_addr' can be reduced. [test/test/test_link_bonding.c:1381]: (style) The scope of the variable 'refcnt' can be reduced. [test/test/test_link_bonding.c:3949]: (style) The scope of the variable 'to_free_cnt' can be reduced. [test/test/test_link_bonding.c:3971]: (style) The scope of the variable 'pktlen' can be reduced. [test/test/test_link_bonding.c:4071]: (style) The scope of the variable 'nb_rx' can be reduced. [test/test/test_link_bonding_mode4.c:746]: (style) Condition 'ip4_type' is always true [test/test/test_link_bonding_mode4.c:1253] -> [test/test/test_link_bonding_mode4.c:1275]: (style) Variable 'retval' is reassigned a value before the old one has been used. [test/test/test_link_bonding_mode4.c:376]: (style) The scope of the variable 'nb_mbuf_per_pool' can be reduced. [test/test/test_link_bonding_mode4.c:1533]: (style) The scope of the variable 'port' can be reduced. [test/test/test_link_bonding_mode4.c:1535]: (style) The scope of the variable 'i' can be reduced. [test/test/test_link_bonding_mode4.c:1520]: (style) Clarify calculation precedence for '&' and '?'. [test/test/test_link_bonding_mode4.c:1521]: (style) Clarify calculation precedence for '&' and '?'. [test/test/test_link_bonding_mode4.c:1522]: (style) Clarify calculation precedence for '&' and '?'. [test/test/test_link_bonding_mode4.c:1523]: (style) Clarify calculation precedence for '&' and '?'. [test/test/test_link_bonding_mode4.c:1524]: (style) Clarify calculation precedence for '&' and '?'. [test/test/test_link_bonding_rssconf.c:329]: (style) The scope of the variable 'rss_hf' can be reduced. [test/test/test_link_bonding_rssconf.c:495]: (style) The scope of the variable 'port_id' can be reduced. [test/test/test_lpm.c:887]: (style) The scope of the variable 'status' can be reduced. [test/test/test_lpm.c:1277]: (style) The scope of the variable 'status' can be reduced. [test/test/test_lpm6.c:1784]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_lpm6.c:1202] -> [test/test/test_lpm6.c:1216]: (style) Variable 'next_hop_add' is reassigned a value before the old one has been used. [test/test/test_lpm6.c:1487]: (style) The scope of the variable 'status' can be reduced. [test/test/test_lpm6.c:1570]: (style) The scope of the variable 'depth' can be reduced. [test/test/test_lpm6.c:1571]: (style) The scope of the variable 'next_hop_add' can be reduced. [test/test/test_lpm6.c:1571]: (style) The scope of the variable 'next_hop_expected' can be reduced. [test/test/test_lpm6.c:1781]: (style) The scope of the variable 'status' can be reduced. [test/test/test_lpm6.c:1216]: (style) Variable 'next_hop_add' is assigned a value that is never used. [test/test/test_lpm_perf.c:449] -> [test/test/test_lpm_perf.c:450]: (style) Variable 'ipx4' is reassigned a value before the old one has been used. [test/test/test_malloc.c:141]: (style) The scope of the variable 'p1' can be reduced. [test/test/test_malloc.c:141]: (style) The scope of the variable 'p2' can be reduced. [test/test/test_malloc.c:141]: (style) The scope of the variable 'p3' can be reduced. [test/test/test_mbuf.c:1115]: (style) Condition 'test_refcnt_mbuf()<0' is always false [test/test/test_mbuf.c:625]: (style) The scope of the variable 'mt' can be reduced. [test/test/test_mbuf.c:677]: (style) The scope of the variable 'ref' can be reduced. [test/test/test_member.c:262]: (style) The scope of the variable 'ret_ht' can be reduced. [test/test/test_member.c:262]: (style) The scope of the variable 'ret_cache' can be reduced. [test/test/test_member.c:262]: (style) The scope of the variable 'ret_vbf' can be reduced. [test/test/test_member.c:529] -> [test/test/test_member.c:548]: (style) Local variable num_duplicates shadows outer variable [test/test/test_member.c:402]: (style) Variable 'ret_vbf' is assigned a value that is never used. [test/test/test_member.c:486]: (style) Variable 'ret_ht' is assigned a value that is never used. [test/test/test_member.c:482]: (style) Variable 'ret_vbf' is assigned a value that is never used. [test/test/test_member.c:490]: (style) Variable 'ret_cache' is assigned a value that is never used. [test/test/test_member.c:553]: (style) Variable 'num_duplicates' is modified but its new value is never used. [test/test/test_member_perf.c:501]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [test/test/test_member_perf.c:501]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [test/test/test_member_perf.c:583]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_member_perf.c:599]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_member_perf.c:87]: (style) The scope of the variable 'swap_idx' can be reduced. [test/test/test_member_perf.c:213]: (style) The scope of the variable 'ret' can be reduced. [test/test/test_member_perf.c:417]: (style) The scope of the variable 'ret' can be reduced. [test/test/test_member_perf.c:127] -> [test/test/test_member_perf.c:153]: (style) Local variable num_duplicates shadows outer variable [test/test/test_member_perf.c:158]: (style) Variable 'num_duplicates' is modified but its new value is never used. [test/test/test_mempool.c:165]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_mempool.c:221]: (style) The scope of the variable 'end_cycles' can be reduced. [test/test/test_mempool.c:261]: (style) The scope of the variable 'end_cycles' can be reduced. [test/test/test_mempool_perf.c:220] -> [test/test/test_mempool_perf.c:230]: (style) Variable 'cores' is reassigned a value before the old one has been used. [test/test/test_memzone.c:902]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_pmd_perf.c:472]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [test/test/test_pmd_perf.c:481]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_pmd_perf.c:668]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_pmd_perf.c:696]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [test/test/test_pmd_perf.c:126]: (style) The scope of the variable 'all_ports_up' can be reduced. [test/test/test_pmd_perf.c:598]: (style) The scope of the variable 'nb_tx' can be reduced. [test/test/test_pmd_perf.c:283] -> [test/test/test_pmd_perf.c:126]: (style) Local variable count shadows outer variable [test/test/test_reciprocal_division.c:24]: (style) The scope of the variable 'dividend_u32' can be reduced. [test/test/test_reciprocal_division_perf.c:24]: (style) The scope of the variable 'dividend_u32' can be reduced. [test/test/test_reciprocal_division_perf.c:27]: (style) The scope of the variable 'nresult_u32' can be reduced. [test/test/test_reciprocal_division_perf.c:28]: (style) The scope of the variable 'rresult_u32' can be reduced. [test/test/test_reorder.c:266]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [test/test/test_reorder.c:300]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [test/test/test_reorder.c:316]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [test/test/test_ring.c:254] -> [test/test/test_ring.c:260]: (style) Variable 'cur_src' is reassigned a value before the old one has been used. [test/test/test_ring.c:255] -> [test/test/test_ring.c:261]: (style) Variable 'cur_dst' is reassigned a value before the old one has been used. [test/test/test_ring.c:76]: (style) The scope of the variable 'rand' can be reduced. [test/test/test_rwlock.c:437]: (style) The scope of the variable 'rc' can be reduced. [test/test/test_table.c:154]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_table.c:165]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_table.c:176]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_table_acl.c:687]: (style) The scope of the variable 'mbuf' can be reduced. [test/test/test_table_combined.c:183]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_table_combined.c:183]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [test/test/test_table_combined.c:194]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [test/test/test_table_combined.c:206]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_table_combined.c:206]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [test/test/test_table_combined.c:214]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [test/test/test_table_combined.c:219]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [test/test/test_table_combined.c:246]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [test/test/test_table_combined.c:247]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [test/test/test_table_combined.c:247]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [test/test/test_table.h:123] -> [test/test/test_table_combined.c:54]: (style) Local variable table_id shadows outer variable [test/test/test_table_combined.c:55] -> [test/test/test_table_combined.c:183]: (style) Local variable i shadows outer variable [test/test/test_table_combined.c:55] -> [test/test/test_table_combined.c:194]: (style) Local variable i shadows outer variable [test/test/test_table_combined.c:55] -> [test/test/test_table_combined.c:206]: (style) Local variable i shadows outer variable [test/test/test_table_combined.c:55] -> [test/test/test_table_combined.c:214]: (style) Local variable i shadows outer variable [test/test/test_table_combined.c:55] -> [test/test/test_table_combined.c:219]: (style) Local variable i shadows outer variable [test/test/test_table_combined.c:55] -> [test/test/test_table_combined.c:246]: (style) Local variable i shadows outer variable [test/test/test_table_combined.c:55] -> [test/test/test_table_combined.c:247]: (style) Local variable i shadows outer variable [test/test/test_table_pipeline.c:466]: (style) The scope of the variable 'mbuf' can be reduced. [test/test/test_table_pipeline.c:333] -> [test/test/test_table_pipeline.c:361]: (style) Local variable default_entry shadows outer variable [test/test/test_table_tables.c:682] -> [test/test/test_table_tables.c:714]: (style) Local variable k32 shadows outer variable [test/test/test_table_tables.c:681] -> [test/test/test_table_tables.c:714]: (style) Local variable key shadows outer variable [test/test/test_table_tables.c:682] -> [test/test/test_table_tables.c:716]: (style) Local variable k32 shadows outer variable [test/test/test_table_tables.c:681] -> [test/test/test_table_tables.c:716]: (style) Local variable key shadows outer variable [test/test/test_table_tables.c:792] -> [test/test/test_table_tables.c:824]: (style) Local variable k32 shadows outer variable [test/test/test_table_tables.c:791] -> [test/test/test_table_tables.c:824]: (style) Local variable key shadows outer variable [test/test/test_table_tables.c:792] -> [test/test/test_table_tables.c:826]: (style) Local variable k32 shadows outer variable [test/test/test_table_tables.c:791] -> [test/test/test_table_tables.c:826]: (style) Local variable key shadows outer variable [test/test/test_table_tables.c:279]: (style) Variable 'status' is assigned a value that is never used. [test/test/test_table_tables.c:445]: (style) Variable 'status' is assigned a value that is never used. [test/test/test_table_tables.c:623]: (style) Variable 'status' is assigned a value that is never used. [test/test/test_table_tables.c:726]: (style) Variable 'status' is assigned a value that is never used. [test/test/test_table_tables.c:836]: (style) Variable 'status' is assigned a value that is never used. [test/test/test_table_tables.c:1050]: (style) Variable 'status' is assigned a value that is never used. [test/test/test_timer.c:542]: (style) Condition 'timer_sanity_check()<0' is always false [test/test/test_timer.c:170]: (style) The scope of the variable 'cur_time' can be reduced. [test/test/test_timer.c:172]: (style) The scope of the variable 'r' can be reduced. [test/test/test_timer.c:464]: (style) The scope of the variable 'cur_time' can be reduced. [test/test/test_timer_perf.c:42]: (style) The scope of the variable 'delay_start' can be reduced. [test/test/test_timer_racecond.c:177]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [test/test/virtual_pmd.c:385]: (style) The scope of the variable 'i' can be reduced. [drivers/net/i40e/base/i40e_nvm.c:564]: (style) The function '__i40e_write_nvm_buffer' is never used. [drivers/net/i40e/base/i40e_nvm.c:540]: (style) The function '__i40e_write_nvm_word' is never used. [drivers/net/nfp/nfpcore/nfp_nsp_eth.c:566]: (style) The function '__nfp_eth_set_aneg' is never used. [drivers/net/nfp/nfpcore/nfp_nsp_eth.c:634]: (style) The function '__nfp_eth_set_speed' is never used. [drivers/net/nfp/nfpcore/nfp_nsp_eth.c:661]: (style) The function '__nfp_eth_set_split' is never used. [drivers/net/nfp/nfpcore/nfp_nsp_cmds.c:26]: (style) The function '__nfp_nsp_identify' is never used. [lib/librte_eal/bsdapp/eal/eal_debug.c:52]: (style) The function '__rte_panic' is never used. [examples/performance-thread/common/lthread.c:221]: (style) The function '_lthread_desched_sleep' is never used. [examples/performance-thread/common/lthread_diag.c:90]: (style) The function '_sched_stats_consistency_check' is never used. [lib/librte_pipeline/rte_table_action.c:3356]: (style) The function 'ah_default' is never used. [lib/librte_pipeline/rte_port_in_action.c:455]: (style) The function 'ah_lb' is never used. [drivers/net/ark/ark_ddm.c:96]: (style) The function 'ark_ddm_dump_stats' is never used. [drivers/net/ark/ark_pktchkr.c:210]: (style) The function 'ark_pktchkr_get_pkts_sent' is never used. [drivers/net/ark/ark_pktchkr.c:139]: (style) The function 'ark_pktchkr_is_running' is never used. [drivers/net/ark/ark_pktchkr.c:186]: (style) The function 'ark_pktchkr_wait_done' is never used. [drivers/net/ark/ark_pktdir.c:52]: (style) The function 'ark_pktdir_stall_cnt' is never used. [drivers/net/ark/ark_pktdir.c:45]: (style) The function 'ark_pktdir_status' is never used. [drivers/net/ark/ark_pktdir.c:30]: (style) The function 'ark_pktdir_uninit' is never used. [drivers/net/ark/ark_pktgen.c:209]: (style) The function 'ark_pktgen_get_pkts_sent' is never used. [drivers/net/ark/ark_pktgen.c:189]: (style) The function 'ark_pktgen_wait_done' is never used. [drivers/net/ark/ark_udm.c:139]: (style) The function 'ark_udm_dump_queue_stats' is never used. [drivers/net/avf/base/avf_common.c:1818]: (style) The function 'avf_add_pinfo_to_list' is never used. [drivers/net/avf/base/avf_common.c:1413]: (style) The function 'avf_aq_clear_all_wol_filters' is never used. [drivers/net/avf/base/avf_common.c:1482]: (style) The function 'avf_aq_get_ddp_list' is never used. [drivers/net/avf/base/avf_common.c:1117]: (style) The function 'avf_aq_get_phy_register' is never used. [drivers/net/avf/base/avf_common.c:534]: (style) The function 'avf_aq_get_rss_key' is never used. [drivers/net/avf/base/avf_common.c:462]: (style) The function 'avf_aq_get_rss_lut' is never used. [drivers/net/avf/base/avf_common.c:1387]: (style) The function 'avf_aq_get_wake_event_reason' is never used. [drivers/net/avf/base/avf_common.c:1247]: (style) The function 'avf_aq_set_arp_proxy_config' is never used. [drivers/net/avf/base/avf_common.c:1325]: (style) The function 'avf_aq_set_clear_wol_filter' is never used. [drivers/net/avf/base/avf_common.c:1283]: (style) The function 'avf_aq_set_ns_proxy_table_entry' is never used. [drivers/net/avf/base/avf_common.c:1083]: (style) The function 'avf_aq_set_phy_register' is never used. [drivers/net/avf/base/avf_common.c:549]: (style) The function 'avf_aq_set_rss_key' is never used. [drivers/net/avf/base/avf_common.c:479]: (style) The function 'avf_aq_set_rss_lut' is never used. [drivers/net/avf/base/avf_common.c:79]: (style) The function 'avf_aq_str' is never used. [drivers/net/avf/avf_vchnl.c:385]: (style) The function 'avf_enable_queues' is never used. [drivers/net/avf/base/avf_common.c:1560]: (style) The function 'avf_find_section_in_profile' is never used. [drivers/net/avf/base/avf_common.c:1516]: (style) The function 'avf_find_segment_in_package' is never used. [drivers/net/avf/base/avf_common.c:985]: (style) The function 'avf_read_rx_ctl' is never used. [drivers/net/avf/base/avf_common.c:1232]: (style) The function 'avf_reset' is never used. [drivers/net/avf/base/avf_common.c:1766]: (style) The function 'avf_rollback_profile' is never used. [drivers/net/avf/base/avf_common.c:139]: (style) The function 'avf_stat_str' is never used. [drivers/net/avf/base/avf_common.c:928]: (style) The function 'avf_validate_mac_addr' is never used. [drivers/net/avf/base/avf_common.c:1703]: (style) The function 'avf_write_profile' is never used. [drivers/net/avf/base/avf_common.c:1047]: (style) The function 'avf_write_rx_ctl' is never used. [drivers/bus/dpaa/base/qbman/dpaa_alloc.c:13]: (style) The function 'bman_alloc_bpid_range' is never used. [drivers/bus/dpaa/base/qbman/process.c:270]: (style) The function 'bman_allocate_raw_portal' is never used. [drivers/bus/dpaa/base/qbman/process.c:288]: (style) The function 'bman_free_raw_portal' is never used. [drivers/bus/dpaa/base/qbman/bman_driver.c:177]: (style) The function 'bman_global_init' is never used. [drivers/bus/dpaa/base/qbman/bman.c:324]: (style) The function 'bman_query_pools' is never used. [drivers/bus/dpaa/base/qbman/dpaa_alloc.c:18]: (style) The function 'bman_release_bpid_range' is never used. [drivers/bus/dpaa/base/qbman/dpaa_alloc.c:23]: (style) The function 'bman_reserve_bpid_range' is never used. [drivers/bus/dpaa/base/qbman/bman.c:357]: (style) The function 'bman_shutdown_pool' is never used. [drivers/bus/dpaa/base/qbman/bman_driver.c:112]: (style) The function 'bman_thread_fd' is never used. [drivers/bus/dpaa/base/qbman/bman_driver.c:130]: (style) The function 'bman_thread_irq' is never used. [drivers/bus/dpaa/base/qbman/bman.c:348]: (style) The function 'bman_update_pool_thresholds' is never used. [drivers/net/bnxt/bnxt_vnic.c:62]: (style) The function 'bnxt_alloc_vnic' is never used. [drivers/net/bnxt/bnxt_hwrm.c:222]: (style) The function 'bnxt_hwrm_cfa_l2_clear_rx_mask' is never used. [lib/librte_bpf/bpf_pkt.c:293]: (style) The function 'bpf_rx_callback_jit' is never used. [lib/librte_bpf/bpf_pkt.c:363]: (style) The function 'bpf_rx_callback_mb_jit' is never used. [lib/librte_bpf/bpf_pkt.c:346]: (style) The function 'bpf_rx_callback_mb_vm' is never used. [lib/librte_bpf/bpf_pkt.c:275]: (style) The function 'bpf_rx_callback_vm' is never used. [lib/librte_bpf/bpf_pkt.c:326]: (style) The function 'bpf_tx_callback_jit' is never used. [lib/librte_bpf/bpf_pkt.c:396]: (style) The function 'bpf_tx_callback_mb_jit' is never used. [lib/librte_bpf/bpf_pkt.c:380]: (style) The function 'bpf_tx_callback_mb_vm' is never used. [lib/librte_bpf/bpf_pkt.c:310]: (style) The function 'bpf_tx_callback_vm' is never used. [drivers/crypto/ccp/ccp_dev.c:316]: (style) The function 'ccp_lsb_free' is never used. [drivers/crypto/ccp/ccp_dev.c:66]: (style) The function 'ccp_read_hwrng' is never used. [examples/vhost_crypto/main.c:358]: (style) The function 'clrscr' is never used. [lib/librte_cmdline/cmdline.c:182]: (style) The function 'cmdline_poll' is never used. [examples/ip_pipeline/cryptodev.c:42]: (style) The function 'cryptodev_next' is never used. [drivers/net/cxgbe/l2t.c:15]: (style) The function 'cxgbe_l2t_release' is never used. [drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c:118]: (style) The function 'dpaa2_dpbp_supported' is never used. [drivers/common/dpaax/dpaax_iova_table.c:351]: (style) The function 'dpaax_iova_table_dump' is never used. [drivers/bus/fslmc/mc/dpbp.c:98]: (style) The function 'dpbp_create' is never used. [drivers/bus/fslmc/mc/dpbp.c:133]: (style) The function 'dpbp_destroy' is never used. [drivers/bus/fslmc/mc/dpbp.c:296]: (style) The function 'dpbp_get_api_version' is never used. [drivers/bus/fslmc/mc/dpbp.c:205]: (style) The function 'dpbp_is_enabled' is never used. [drivers/bus/fslmc/mc/dpci.c:66]: (style) The function 'dpci_close' is never used. [drivers/bus/fslmc/mc/dpci.c:103]: (style) The function 'dpci_create' is never used. [drivers/bus/fslmc/mc/dpci.c:146]: (style) The function 'dpci_destroy' is never used. [drivers/bus/fslmc/mc/dpci.c:196]: (style) The function 'dpci_disable' is never used. [drivers/bus/fslmc/mc/dpci.c:518]: (style) The function 'dpci_get_api_version' is never used. [drivers/bus/fslmc/mc/dpci.c:353]: (style) The function 'dpci_get_link_state' is never used. [drivers/bus/fslmc/mc/dpci.c:592]: (style) The function 'dpci_get_opr' is never used. [drivers/bus/fslmc/mc/dpci.c:313]: (style) The function 'dpci_get_peer_attributes' is never used. [drivers/bus/fslmc/mc/dpci.c:220]: (style) The function 'dpci_is_enabled' is never used. [drivers/bus/fslmc/mc/dpci.c:253]: (style) The function 'dpci_reset' is never used. [drivers/bus/fslmc/mc/dpci.c:554]: (style) The function 'dpci_set_opr' is never used. [drivers/bus/fslmc/mc/dpcon.c:66]: (style) The function 'dpcon_close' is never used. [drivers/bus/fslmc/mc/dpcon.c:102]: (style) The function 'dpcon_create' is never used. [drivers/bus/fslmc/mc/dpcon.c:139]: (style) The function 'dpcon_destroy' is never used. [drivers/bus/fslmc/mc/dpcon.c:189]: (style) The function 'dpcon_disable' is never used. [drivers/bus/fslmc/mc/dpcon.c:166]: (style) The function 'dpcon_enable' is never used. [drivers/bus/fslmc/mc/dpcon.c:337]: (style) The function 'dpcon_get_api_version' is never used. [drivers/bus/fslmc/mc/dpcon.c:213]: (style) The function 'dpcon_is_enabled' is never used. [drivers/bus/fslmc/mc/dpcon.c:247]: (style) The function 'dpcon_reset' is never used. [drivers/bus/fslmc/mc/dpcon.c:307]: (style) The function 'dpcon_set_notification' is never used. [drivers/bus/fslmc/mc/dpdmai.c:101]: (style) The function 'dpdmai_create' is never used. [drivers/bus/fslmc/mc/dpdmai.c:146]: (style) The function 'dpdmai_destroy' is never used. [drivers/bus/fslmc/mc/dpdmai.c:220]: (style) The function 'dpdmai_is_enabled' is never used. [drivers/bus/fslmc/mc/dpdmai.c:254]: (style) The function 'dpdmai_reset' is never used. [drivers/net/dpaa2/mc/dpdmux.c:71]: (style) The function 'dpdmux_close' is never used. [drivers/net/dpaa2/mc/dpdmux.c:108]: (style) The function 'dpdmux_create' is never used. [drivers/net/dpaa2/mc/dpdmux.c:158]: (style) The function 'dpdmux_destroy' is never used. [drivers/net/dpaa2/mc/dpdmux.c:208]: (style) The function 'dpdmux_disable' is never used. [drivers/net/dpaa2/mc/dpdmux.c:185]: (style) The function 'dpdmux_enable' is never used. [drivers/net/dpaa2/mc/dpdmux.c:907]: (style) The function 'dpdmux_get_api_version' is never used. [drivers/net/dpaa2/mc/dpdmux.c:574]: (style) The function 'dpdmux_if_add_l2_rule' is never used. [drivers/net/dpaa2/mc/dpdmux.c:358]: (style) The function 'dpdmux_if_disable' is never used. [drivers/net/dpaa2/mc/dpdmux.c:330]: (style) The function 'dpdmux_if_enable' is never used. [drivers/net/dpaa2/mc/dpdmux.c:486]: (style) The function 'dpdmux_if_get_attributes' is never used. [drivers/net/dpaa2/mc/dpdmux.c:612]: (style) The function 'dpdmux_if_get_counter' is never used. [drivers/net/dpaa2/mc/dpdmux.c:759]: (style) The function 'dpdmux_if_get_default' is never used. [drivers/net/dpaa2/mc/dpdmux.c:687]: (style) The function 'dpdmux_if_get_link_state' is never used. [drivers/net/dpaa2/mc/dpdmux.c:534]: (style) The function 'dpdmux_if_remove_l2_rule' is never used. [drivers/net/dpaa2/mc/dpdmux.c:450]: (style) The function 'dpdmux_if_set_accepted_frames' is never used. [drivers/net/dpaa2/mc/dpdmux.c:654]: (style) The function 'dpdmux_if_set_link_cfg' is never used. [drivers/net/dpaa2/mc/dpdmux.c:232]: (style) The function 'dpdmux_is_enabled' is never used. [drivers/net/dpaa2/mc/dpdmux.c:877]: (style) The function 'dpdmux_remove_custom_cls_entry' is never used. [drivers/net/dpaa2/mc/dpdmux.c:266]: (style) The function 'dpdmux_reset' is never used. [drivers/net/dpaa2/mc/dpdmux.c:391]: (style) The function 'dpdmux_set_max_frame_length' is never used. [drivers/net/dpaa2/mc/dpdmux.c:418]: (style) The function 'dpdmux_ul_reset_counters' is never used. [drivers/bus/fslmc/mc/dpio.c:64]: (style) The function 'dpio_close' is never used. [drivers/bus/fslmc/mc/dpio.c:101]: (style) The function 'dpio_create' is never used. [drivers/bus/fslmc/mc/dpio.c:147]: (style) The function 'dpio_destroy' is never used. [drivers/bus/fslmc/mc/dpio.c:199]: (style) The function 'dpio_disable' is never used. [drivers/bus/fslmc/mc/dpio.c:176]: (style) The function 'dpio_enable' is never used. [drivers/bus/fslmc/mc/dpio.c:457]: (style) The function 'dpio_get_api_version' is never used. [drivers/bus/fslmc/mc/dpio.c:280]: (style) The function 'dpio_get_attributes' is never used. [drivers/bus/fslmc/mc/dpio.c:353]: (style) The function 'dpio_get_stashing_destination' is never used. [drivers/bus/fslmc/mc/dpio.c:223]: (style) The function 'dpio_is_enabled' is never used. [drivers/bus/fslmc/mc/dpio.c:29]: (style) The function 'dpio_open' is never used. [drivers/bus/fslmc/mc/dpio.c:256]: (style) The function 'dpio_reset' is never used. [drivers/bus/fslmc/mc/dpio.c:325]: (style) The function 'dpio_set_stashing_destination' is never used. [drivers/net/dpaa2/mc/dpni.c:1278]: (style) The function 'dpni_clear_mac_filters' is never used. [drivers/net/dpaa2/mc/dpni.c:1430]: (style) The function 'dpni_clear_vlan_filters' is never used. [drivers/net/dpaa2/mc/dpni.c:105]: (style) The function 'dpni_create' is never used. [drivers/net/dpaa2/mc/dpni.c:155]: (style) The function 'dpni_destroy' is never used. [drivers/net/dpaa2/mc/dpni.c:1641]: (style) The function 'dpni_get_api_version' is never used. [drivers/net/dpaa2/mc/dpni.c:643]: (style) The function 'dpni_get_buffer_layout' is never used. [drivers/net/dpaa2/mc/dpni.c:1591]: (style) The function 'dpni_get_congestion_notification' is never used. [drivers/net/dpaa2/mc/dpni.c:367]: (style) The function 'dpni_get_irq_enable' is never used. [drivers/net/dpaa2/mc/dpni.c:448]: (style) The function 'dpni_get_irq_mask' is never used. [drivers/net/dpaa2/mc/dpni.c:988]: (style) The function 'dpni_get_max_frame_length' is never used. [drivers/net/dpaa2/mc/dpni.c:1051]: (style) The function 'dpni_get_multicast_promisc' is never used. [drivers/net/dpaa2/mc/dpni.c:772]: (style) The function 'dpni_get_offload' is never used. [drivers/net/dpaa2/mc/dpni.c:2018]: (style) The function 'dpni_get_opr' is never used. [drivers/net/dpaa2/mc/dpni.c:1913]: (style) The function 'dpni_get_taildrop' is never used. [drivers/net/dpaa2/mc/dpni.c:853]: (style) The function 'dpni_get_tx_data_offset' is never used. [drivers/net/dpaa2/mc/dpni.c:1114]: (style) The function 'dpni_get_unicast_promisc' is never used. [drivers/net/dpaa2/mc/dpni.c:1974]: (style) The function 'dpni_set_opr' is never used. [drivers/crypto/dpaa2_sec/mc/dpseci.c:105]: (style) The function 'dpseci_create' is never used. [drivers/crypto/dpaa2_sec/mc/dpseci.c:154]: (style) The function 'dpseci_destroy' is never used. [drivers/crypto/dpaa2_sec/mc/dpseci.c:553]: (style) The function 'dpseci_get_api_version' is never used. [drivers/crypto/dpaa2_sec/mc/dpseci.c:729]: (style) The function 'dpseci_get_congestion_notification' is never used. [drivers/crypto/dpaa2_sec/mc/dpseci.c:627]: (style) The function 'dpseci_get_opr' is never used. [drivers/crypto/dpaa2_sec/mc/dpseci.c:458]: (style) The function 'dpseci_get_sec_attr' is never used. [drivers/crypto/dpaa2_sec/mc/dpseci.c:228]: (style) The function 'dpseci_is_enabled' is never used. [drivers/crypto/dpaa2_sec/mc/dpseci.c:684]: (style) The function 'dpseci_set_congestion_notification' is never used. [drivers/crypto/dpaa2_sec/mc/dpseci.c:589]: (style) The function 'dpseci_set_opr' is never used. [drivers/net/e1000/base/e1000_api.c:1018]: (style) The function 'e1000_acquire_phy' is never used. [drivers/net/e1000/base/e1000_api.c:1030]: (style) The function 'e1000_cfg_on_link_up' is never used. [drivers/net/e1000/base/e1000_api.c:618]: (style) The function 'e1000_check_mng_mode' is never used. [drivers/net/e1000/base/e1000_82571.c:1505]: (style) The function 'e1000_check_phy_82574' is never used. [drivers/net/e1000/base/e1000_api.c:544]: (style) The function 'e1000_clear_vfta' is never used. [drivers/net/e1000/base/e1000_api.c:898]: (style) The function 'e1000_enable_tx_pkt_filtering' is never used. [drivers/net/e1000/base/e1000_api.c:1076]: (style) The function 'e1000_get_cable_length' is never used. [kernel/linux/kni/ethtool/igb/e1000_api.c:1124]: (style) The function 'e1000_get_thermal_sensor_data' is never used. [drivers/net/e1000/base/e1000_api.c:884]: (style) The function 'e1000_hash_mc_addr' is never used. [drivers/net/e1000/base/e1000_api.c:757]: (style) The function 'e1000_id_led_init' is never used. [drivers/net/e1000/base/e1000_ich8lan.c:5508]: (style) The function 'e1000_igp3_phy_powerdown_workaround_ich8lan' is never used. [drivers/net/e1000/base/e1000_manage.c:467]: (style) The function 'e1000_load_firmware' is never used. [drivers/net/e1000/base/e1000_api.c:944]: (style) The function 'e1000_mng_enable_host_if' is never used. [drivers/net/e1000/base/e1000_api.c:915]: (style) The function 'e1000_mng_host_if_write' is never used. [drivers/net/e1000/base/e1000_api.c:928]: (style) The function 'e1000_mng_write_cmd_header' is never used. [drivers/net/e1000/base/e1000_api.c:634]: (style) The function 'e1000_mng_write_dhcp_info' is never used. [drivers/net/e1000/base/e1000_mac.c:155]: (style) The function 'e1000_null_rar_set' is never used. [drivers/net/e1000/base/e1000_api.c:1048]: (style) The function 'e1000_read_kmrn_reg' is never used. [drivers/net/e1000/base/e1000_api.c:1216]: (style) The function 'e1000_read_pba_length' is never used. [drivers/net/e1000/base/e1000_api.c:1231]: (style) The function 'e1000_read_pba_num' is never used. [drivers/net/e1000/base/e1000_nvm.c:984]: (style) The function 'e1000_read_pba_raw' is never used. [drivers/net/e1000/base/e1000_phy.c:4114]: (style) The function 'e1000_read_phy_reg_mphy' is never used. [drivers/net/e1000/base/e1000_api.c:1005]: (style) The function 'e1000_release_phy' is never used. [drivers/net/e1000/base/e1000_api.c:1273]: (style) The function 'e1000_reload_nvm' is never used. [drivers/net/e1000/base/e1000_api.c:802]: (style) The function 'e1000_reset_adaptive' is never used. [drivers/net/e1000/base/e1000_ich8lan.c:5736]: (style) The function 'e1000_resume_workarounds_pchlan' is never used. [drivers/net/e1000/base/e1000_api.c:1144]: (style) The function 'e1000_set_d0_lplu_state' is never used. [drivers/net/e1000/base/e1000_api.c:1166]: (style) The function 'e1000_set_d3_lplu_state' is never used. [drivers/net/e1000/base/e1000_api.c:711]: (style) The function 'e1000_setup_led' is never used. [drivers/net/e1000/base/e1000_ich8lan.c:5602]: (style) The function 'e1000_suspend_workarounds_ich8lan' is never used. [drivers/net/e1000/base/e1000_82543.c:406]: (style) The function 'e1000_tbi_adjust_stats_82543' is never used. [drivers/net/e1000/base/e1000_82542.c:447]: (style) The function 'e1000_translate_register_82542' is never used. [drivers/net/e1000/base/e1000_api.c:814]: (style) The function 'e1000_update_adaptive' is never used. [drivers/net/e1000/base/e1000_vf.c:449]: (style) The function 'e1000_vfta_set_vf' is never used. [drivers/net/e1000/base/e1000_api.c:1325]: (style) The function 'e1000_write_8bit_ctrl_reg' is never used. [drivers/net/e1000/base/e1000_api.c:1063]: (style) The function 'e1000_write_kmrn_reg' is never used. [drivers/net/e1000/base/e1000_nvm.c:1053]: (style) The function 'e1000_write_pba_raw' is never used. [drivers/net/e1000/base/e1000_phy.c:4176]: (style) The function 'e1000_write_phy_reg_mphy' is never used. [drivers/net/e1000/base/e1000_phy.c:584]: (style) The function 'e1000_write_sfp_data_byte' is never used. [lib/librte_eal/bsdapp/eal/eal_memalloc.c:23]: (style) The function 'eal_memalloc_alloc_seg' is never used. [lib/librte_pci/rte_pci.c:91]: (style) The function 'eal_parse_pci_BDF' is never used. [lib/librte_pci/rte_pci.c:97]: (style) The function 'eal_parse_pci_DomBDF' is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:1919]: (style) The function 'ecore_calc_session_ctx_validation' is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:1937]: (style) The function 'ecore_calc_task_ctx_validation' is never used. [drivers/net/qede/base/ecore_dev.c:6623]: (style) The function 'ecore_clean_wfq_db' is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:1783]: (style) The function 'ecore_config_vf_zone_size_mode' is never used. [drivers/net/qede/base/ecore_cxt.c:2029]: (style) The function 'ecore_cxt_dynamic_ilt_alloc' is never used. [drivers/net/qede/base/ecore_cxt.c:2146]: (style) The function 'ecore_cxt_free_ilt_range' is never used. [drivers/net/qede/base/ecore_cxt.c:426]: (style) The function 'ecore_cxt_get_proto_tid_count' is never used. [drivers/net/qede/base/ecore_cxt.c:1943]: (style) The function 'ecore_cxt_release_cid' is never used. [drivers/net/qede/base/ecore_cxt.c:439]: (style) The function 'ecore_cxt_set_proto_tid_count' is never used. [drivers/net/qede/base/ecore_cxt.c:385]: (style) The function 'ecore_cxt_set_srq_count' is never used. [drivers/net/qede/base/ecore_dev.c:263]: (style) The function 'ecore_db_recovery_dp' is never used. [drivers/net/qede/base/ecore_dcbx.c:1553]: (style) The function 'ecore_dcbx_get_dscp_priority' is never used. [drivers/net/qede/base/ecore_dcbx.c:73]: (style) The function 'ecore_dcbx_iwarp_tlv' is never used. [drivers/net/qede/base/ecore_dcbx.c:1584]: (style) The function 'ecore_dcbx_set_dscp_priority' is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:1989]: (style) The function 'ecore_enable_context_validation' is never used. [drivers/net/qede/base/ecore_l2.c:2316]: (style) The function 'ecore_eth_tx_queue_maxrate' is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:1833]: (style) The function 'ecore_get_mstorm_eth_vf_prods_offset' is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:1813]: (style) The function 'ecore_get_mstorm_queue_stat_offset' is never used. [drivers/net/qede/base/ecore_l2.c:2279]: (style) The function 'ecore_get_queue_coalesce' is never used. [drivers/net/qede/base/ecore_dev.c:3922]: (style) The function 'ecore_hw_timers_stop_all' is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:1329]: (style) The function 'ecore_init_brb_ram' is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:1061]: (style) The function 'ecore_init_nig_ets' is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:1139]: (style) The function 'ecore_init_nig_lb_rl' is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:1224]: (style) The function 'ecore_init_nig_pri_tc_map' is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:1260]: (style) The function 'ecore_init_prs_ets' is never used. [drivers/net/qede/base/ecore_int.c:1538]: (style) The function 'ecore_int_cau_conf_pi' is never used. [drivers/net/qede/base/ecore_int.c:2625]: (style) The function 'ecore_int_disable_post_isr_release' is never used. [drivers/net/qede/base/ecore_int.c:2394]: (style) The function 'ecore_int_igu_relocate_sb' is never used. [drivers/net/qede/base/ecore_int.c:1758]: (style) The function 'ecore_int_sb_release' is never used. [drivers/net/qede/base/ecore_int.c:1871]: (style) The function 'ecore_int_unregister_cb' is never used. [drivers/net/qede/base/ecore_sriov.c:4754]: (style) The function 'ecore_iov_bulletin_get_forced_mac' is never used. [drivers/net/qede/base/ecore_sriov.c:4768]: (style) The function 'ecore_iov_bulletin_get_forced_vlan' is never used. [drivers/net/qede/base/ecore_sriov.c:4738]: (style) The function 'ecore_iov_bulletin_get_mac' is never used. [drivers/net/qede/base/ecore_sriov.c:4416]: (style) The function 'ecore_iov_bulletin_set_forced_mac' is never used. [drivers/net/qede/base/ecore_sriov.c:4495]: (style) The function 'ecore_iov_bulletin_set_forced_untagged_default' is never used. [drivers/net/qede/base/ecore_sriov.c:4552]: (style) The function 'ecore_iov_bulletin_set_forced_vlan' is never used. [drivers/net/qede/base/ecore_sriov.c:4456]: (style) The function 'ecore_iov_bulletin_set_mac' is never used. [drivers/net/qede/base/ecore_sriov.c:4807]: (style) The function 'ecore_iov_configure_min_tx_rate' is never used. [drivers/net/qede/base/ecore_sriov.c:4783]: (style) The function 'ecore_iov_configure_tx_rate' is never used. [drivers/net/qede/base/ecore_sriov.c:4389]: (style) The function 'ecore_iov_copy_vf_msg' is never used. [drivers/net/qede/base/ecore_sriov.c:4085]: (style) The function 'ecore_iov_get_link' is never used. [drivers/net/qede/base/ecore_sriov.c:1504]: (style) The function 'ecore_iov_get_public_vf_info' is never used. [drivers/net/qede/base/ecore_sriov.c:4875]: (style) The function 'ecore_iov_get_vf_ctx' is never used. [drivers/net/qede/base/ecore_sriov.c:4944]: (style) The function 'ecore_iov_get_vf_min_rate' is never used. [drivers/net/qede/base/ecore_sriov.c:4864]: (style) The function 'ecore_iov_get_vf_num_active_rxqs' is never used. [drivers/net/qede/base/ecore_sriov.c:4853]: (style) The function 'ecore_iov_get_vf_num_rxqs' is never used. [drivers/net/qede/base/ecore_sriov.c:4886]: (style) The function 'ecore_iov_get_vf_num_sbs' is never used. [drivers/net/qede/base/ecore_sriov.c:4695]: (style) The function 'ecore_iov_get_vf_reply_virt_mbx_params' is never used. [drivers/net/qede/base/ecore_sriov.c:4677]: (style) The function 'ecore_iov_get_vf_req_virt_mbx_params' is never used. [drivers/net/qede/base/ecore_sriov.c:4833]: (style) The function 'ecore_iov_get_vf_stats' is never used. [drivers/net/qede/base/ecore_sriov.c:4714]: (style) The function 'ecore_iov_get_vf_sw_mbx' is never used. [drivers/net/qede/base/ecore_sriov.c:4539]: (style) The function 'ecore_iov_get_vfs_opaque_fid' is never used. [drivers/net/qede/base/ecore_sriov.c:1068]: (style) The function 'ecore_iov_init_hw_for_vf' is never used. [drivers/net/qede/base/ecore_sriov.c:4727]: (style) The function 'ecore_iov_is_valid_vfpf_msg_length' is never used. [drivers/net/qede/base/ecore_sriov.c:4908]: (style) The function 'ecore_iov_is_vf_acquired_not_initialized' is never used. [drivers/net/qede/base/ecore_sriov.c:4920]: (style) The function 'ecore_iov_is_vf_initialized' is never used. [drivers/net/qede/base/ecore_sriov.c:4367]: (style) The function 'ecore_iov_is_vf_pending_flr' is never used. [drivers/net/qede/base/ecore_sriov.c:4931]: (style) The function 'ecore_iov_is_vf_started' is never used. [drivers/net/qede/base/ecore_sriov.c:4616]: (style) The function 'ecore_iov_is_vf_stopped' is never used. [drivers/net/qede/base/ecore_sriov.c:4897]: (style) The function 'ecore_iov_is_vf_wait_for_acquire' is never used. [drivers/net/qede/base/ecore_sriov.c:3745]: (style) The function 'ecore_iov_pf_configure_vf_queue_coalesce' is never used. [drivers/net/qede/base/ecore_sriov.c:4266]: (style) The function 'ecore_iov_pf_get_pending_events' is never used. [drivers/net/qede/base/ecore_sriov.c:4733]: (style) The function 'ecore_iov_pfvf_msg_length' is never used. [drivers/net/qede/base/ecore_sriov.c:4107]: (style) The function 'ecore_iov_process_mbx_req' is never used. [drivers/net/qede/base/ecore_sriov.c:1204]: (style) The function 'ecore_iov_release_hw_for_vf' is never used. [drivers/net/qede/base/ecore_sriov.c:754]: (style) The function 'ecore_iov_set_vf_ctx' is never used. [drivers/net/qede/base/ecore_sriov.c:4962]: (style) The function 'ecore_iov_set_vf_hw_channel' is never used. [drivers/net/qede/base/ecore_sriov.c:740]: (style) The function 'ecore_iov_set_vfs_to_disable' is never used. [drivers/net/qede/base/ecore_sriov.c:4019]: (style) The function 'ecore_iov_single_vf_flr_cleanup' is never used. [drivers/net/qede/base/ecore_sriov.c:4627]: (style) The function 'ecore_iov_spoofchk_get' is never used. [drivers/net/qede/base/ecore_sriov.c:4638]: (style) The function 'ecore_iov_spoofchk_set' is never used. [drivers/net/qede/base/ecore_sriov.c:4667]: (style) The function 'ecore_iov_vf_chains_per_pf' is never used. [drivers/net/qede/base/ecore_sriov.c:3996]: (style) The function 'ecore_iov_vf_flr_cleanup' is never used. [drivers/net/qede/base/ecore_dev.c:6660]: (style) The function 'ecore_is_mf_fip_special' is never used. [drivers/net/qede/base/ecore_dcbx.c:1394]: (style) The function 'ecore_lldp_get_params' is never used. [drivers/net/qede/base/ecore_dcbx.c:1325]: (style) The function 'ecore_lldp_register_tlv' is never used. [drivers/net/qede/base/ecore_dcbx.c:1448]: (style) The function 'ecore_lldp_set_params' is never used. [drivers/net/qede/base/ecore_dcbx.c:1510]: (style) The function 'ecore_lldp_set_system_tlvs' is never used. [drivers/net/qede/base/ecore_dev.c:1222]: (style) The function 'ecore_llh_add_protocol_filter' is never used. [drivers/net/qede/base/ecore_dev.c:1436]: (style) The function 'ecore_llh_clear_all_filters' is never used. [drivers/net/qede/base/ecore_dev.c:1522]: (style) The function 'ecore_llh_dump_all' is never used. [drivers/net/qede/base/ecore_dev.c:827]: (style) The function 'ecore_llh_get_l2_affinity_hint' is never used. [drivers/net/qede/base/ecore_dev.c:822]: (style) The function 'ecore_llh_get_num_ppfid' is never used. [drivers/net/qede/base/ecore_dev.c:1343]: (style) The function 'ecore_llh_remove_protocol_filter' is never used. [drivers/net/qede/base/ecore_dev.c:6082]: (style) The function 'ecore_llh_set_function_as_default' is never used. [drivers/net/qede/base/ecore_mcp.c:3459]: (style) The function 'ecore_mcp_bist_clock_test' is never used. [drivers/net/qede/base/ecore_mcp.c:3502]: (style) The function 'ecore_mcp_bist_nvm_test_get_image_att' is never used. [drivers/net/qede/base/ecore_mcp.c:3481]: (style) The function 'ecore_mcp_bist_nvm_test_get_num_images' is never used. [drivers/net/qede/base/ecore_mcp.c:3437]: (style) The function 'ecore_mcp_bist_register_test' is never used. [drivers/net/qede/base/ecore_mcp.c:4075]: (style) The function 'ecore_mcp_drv_attribute' is never used. [drivers/net/qede/base/ecore_mcp.c:2393]: (style) The function 'ecore_mcp_get_board_config' is never used. [drivers/net/qede/base/ecore_mcp.c:2587]: (style) The function 'ecore_mcp_get_function_info' is never used. [drivers/net/qede/base/ecore_mcp.c:3565]: (style) The function 'ecore_mcp_get_mba_versions' is never used. [drivers/net/qede/base/ecore_mcp.c:2201]: (style) The function 'ecore_mcp_get_media_type' is never used. [drivers/net/qede/base/ecore_mcp.c:2594]: (style) The function 'ecore_mcp_get_personality_cnt' is never used. [drivers/net/qede/base/ecore_mcp.c:3527]: (style) The function 'ecore_mcp_get_temperature_info' is never used. [drivers/net/qede/base/ecore_mcp.c:3411]: (style) The function 'ecore_mcp_gpio_info' is never used. [drivers/net/qede/base/ecore_mcp.c:3368]: (style) The function 'ecore_mcp_gpio_read' is never used. [drivers/net/qede/base/ecore_mcp.c:3389]: (style) The function 'ecore_mcp_gpio_write' is never used. [drivers/net/qede/base/ecore_mcp.c:2774]: (style) The function 'ecore_mcp_halt' is never used. [drivers/net/qede/base/ecore_mcp.c:3004]: (style) The function 'ecore_mcp_mask_parities' is never used. [drivers/net/qede/base/ecore_mcp.c:1890]: (style) The function 'ecore_mcp_mdump_clear_logs' is never used. [drivers/net/qede/base/ecore_mcp.c:1933]: (style) The function 'ecore_mcp_mdump_clr_retain' is never used. [drivers/net/qede/base/ecore_mcp.c:1810]: (style) The function 'ecore_mcp_mdump_trigger' is never used. [drivers/net/qede/base/ecore_mcp.c:3589]: (style) The function 'ecore_mcp_mem_ecc_events' is never used. [drivers/net/qede/base/ecore_mcp.c:3123]: (style) The function 'ecore_mcp_nvm_del_file' is never used. [drivers/net/qede/base/ecore_mcp.c:3141]: (style) The function 'ecore_mcp_nvm_put_file_begin' is never used. [drivers/net/qede/base/ecore_mcp.c:3026]: (style) The function 'ecore_mcp_nvm_read' is never used. [drivers/net/qede/base/ecore_mcp.c:3108]: (style) The function 'ecore_mcp_nvm_resp' is never used. [drivers/net/qede/base/ecore_mcp.c:3260]: (style) The function 'ecore_mcp_nvm_set_secure_mode' is never used. [drivers/net/qede/base/ecore_mcp.c:3163]: (style) The function 'ecore_mcp_nvm_write' is never used. [drivers/net/qede/base/ecore_mcp.c:2899]: (style) The function 'ecore_mcp_ov_get_fc_npiv' is never used. [drivers/net/qede/base/ecore_mcp.c:2835]: (style) The function 'ecore_mcp_ov_update_current_config' is never used. [drivers/net/qede/base/ecore_mcp.c:2922]: (style) The function 'ecore_mcp_ov_update_mac' is never used. [drivers/net/qede/base/ecore_mcp.c:3082]: (style) The function 'ecore_mcp_phy_read' is never used. [drivers/net/qede/base/ecore_mcp.c:3280]: (style) The function 'ecore_mcp_phy_sfp_read' is never used. [drivers/net/qede/base/ecore_mcp.c:3326]: (style) The function 'ecore_mcp_phy_sfp_write' is never used. [drivers/net/qede/base/ecore_mcp.c:3236]: (style) The function 'ecore_mcp_phy_write' is never used. [drivers/net/qede/base/ecore_mcp.c:333]: (style) The function 'ecore_mcp_reset' is never used. [drivers/net/qede/base/ecore_mcp.c:2808]: (style) The function 'ecore_mcp_resume' is never used. [drivers/net/qede/base/ecore_mcp.c:2974]: (style) The function 'ecore_mcp_set_led' is never used. [drivers/net/qede/base/ecore_mcp.c:2277]: (style) The function 'ecore_mcp_trans_speed_mask' is never used. [drivers/net/qede/base/ecore_mcp.c:4216]: (style) The function 'ecore_mcp_wol_wr' is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:1951]: (style) The function 'ecore_memset_session_ctx' is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:1973]: (style) The function 'ecore_memset_task_ctx' is never used. [drivers/net/qede/base/ecore_hw.c:410]: (style) The function 'ecore_port_fid_pretend' is never used. [drivers/net/qede/base/ecore_hw.c:378]: (style) The function 'ecore_port_pretend' is never used. [drivers/net/qede/base/ecore_hw.c:394]: (style) The function 'ecore_port_unpretend' is never used. [drivers/net/qede/base/ecore_dev.c:5467]: (style) The function 'ecore_prepare_hibernate' is never used. [drivers/net/qede/base/ecore_mcp.c:3678]: (style) The function 'ecore_recovery_prolog' is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:1645]: (style) The function 'ecore_set_gft_event_id_cm_hdr' is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:1432]: (style) The function 'ecore_set_port_mf_ovlan_eth_type' is never used. [drivers/net/qede/base/ecore_dev.c:6121]: (style) The function 'ecore_set_queue_coalesce' is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:2042]: (style) The function 'ecore_set_rdma_error_level' is never used. [drivers/net/qede/base/ecore_init_fw_funcs.c:1589]: (style) The function 'ecore_set_vxlan_no_l2_enable' is never used. [drivers/net/qede/base/ecore_sp_commands.c:622]: (style) The function 'ecore_sp_heartbeat_ramrod' is never used. [drivers/net/qede/base/ecore_sp_commands.c:488]: (style) The function 'ecore_sp_rl_update' is never used. [drivers/net/qede/base/ecore_mcp.c:2647]: (style) The function 'ecore_start_recovery_process' is never used. [drivers/net/qede/base/ecore_l2.c:2338]: (style) The function 'ecore_update_eth_rss_ind_table_entry' is never used. [drivers/net/qede/base/ecore_vf.c:1898]: (style) The function 'ecore_vf_bulletin_get_forced_vlan' is never used. [drivers/net/qede/base/ecore_vf.c:1886]: (style) The function 'ecore_vf_bulletin_get_udp_ports' is never used. [drivers/net/qede/base/ecore_vf.c:1918]: (style) The function 'ecore_vf_get_fw_version' is never used. [drivers/net/qede/base/ecore_vf.c:1933]: (style) The function 'ecore_vf_set_hw_channel' is never used. [drivers/net/bnx2x/ecore_sp.c:464]: (style) The function 'ecore_vlan_mac_h_write_unlock' is never used. [drivers/net/sfc/base/efx_bootcfg.c:731]: (style) The function 'efx_bootcfg_copy_sector' is never used. [drivers/net/sfc/base/efx_bootcfg.c:831]: (style) The function 'efx_bootcfg_read' is never used. [drivers/net/sfc/base/efx_bootcfg.c:989]: (style) The function 'efx_bootcfg_write' is never used. [drivers/net/sfc/base/efx_bootcfg.c:481]: (style) The function 'efx_dhcp_add_tag' is never used. [drivers/net/sfc/base/efx_bootcfg.c:380]: (style) The function 'efx_dhcp_delete_tag' is never used. [drivers/net/sfc/base/efx_bootcfg.c:350]: (style) The function 'efx_dhcp_find_end' is never used. [drivers/net/sfc/base/efx_bootcfg.c:313]: (style) The function 'efx_dhcp_find_tag' is never used. [drivers/net/sfc/base/efx_bootcfg.c:620]: (style) The function 'efx_dhcp_update_tag' is never used. [drivers/net/sfc/base/efx_ev.c:544]: (style) The function 'efx_ev_qmoderate' is never used. [drivers/net/sfc/base/efx_ev.c:324]: (style) The function 'efx_ev_qpending' is never used. [drivers/net/sfc/base/efx_ev.c:507]: (style) The function 'efx_ev_qpost' is never used. [drivers/net/sfc/base/efx_filter.c:257]: (style) The function 'efx_filter_reconfigure' is never used. [drivers/net/sfc/base/efx_filter.c:121]: (style) The function 'efx_filter_restore' is never used. [drivers/net/sfc/base/efx_filter.c:290]: (style) The function 'efx_filter_spec_init_rx' is never used. [drivers/net/sfc/base/efx_filter.c:309]: (style) The function 'efx_filter_spec_init_tx' is never used. [drivers/net/sfc/base/efx_filter.c:437]: (style) The function 'efx_filter_spec_set_encap_type' is never used. [drivers/net/sfc/base/efx_filter.c:376]: (style) The function 'efx_filter_spec_set_eth_local' is never used. [drivers/net/sfc/base/efx_filter.c:399]: (style) The function 'efx_filter_spec_set_ether_type' is never used. [drivers/net/sfc/base/efx_filter.c:572]: (style) The function 'efx_filter_spec_set_geneve' is never used. [drivers/net/sfc/base/efx_filter.c:349]: (style) The function 'efx_filter_spec_set_ipv4_full' is never used. [drivers/net/sfc/base/efx_filter.c:327]: (style) The function 'efx_filter_spec_set_ipv4_local' is never used. [drivers/net/sfc/base/efx_filter.c:426]: (style) The function 'efx_filter_spec_set_mc_def' is never used. [drivers/net/sfc/base/efx_filter.c:587]: (style) The function 'efx_filter_spec_set_nvgre' is never used. [drivers/net/sfc/base/efx_filter.c:413]: (style) The function 'efx_filter_spec_set_uc_def' is never used. [drivers/net/sfc/base/efx_filter.c:557]: (style) The function 'efx_filter_spec_set_vxlan' is never used. [drivers/net/sfc/base/efx_hash.c:138]: (style) The function 'efx_hash_bytes' is never used. [drivers/net/sfc/base/efx_hash.c:89]: (style) The function 'efx_hash_dwords' is never used. [drivers/net/sfc/base/efx_intr.c:207]: (style) The function 'efx_intr_disable_unlocked' is never used. [drivers/net/sfc/base/efx_intr.c:221]: (style) The function 'efx_intr_trigger' is never used. [drivers/net/sfc/base/efx_lic.c:1380]: (style) The function 'efx_lic_app_state' is never used. [drivers/net/sfc/base/efx_lic.c:1313]: (style) The function 'efx_lic_check_support' is never used. [drivers/net/sfc/base/efx_lic.c:1632]: (style) The function 'efx_lic_create_partition' is never used. [drivers/net/sfc/base/efx_lic.c:1603]: (style) The function 'efx_lic_delete_key' is never used. [drivers/net/sfc/base/efx_lic.c:1465]: (style) The function 'efx_lic_find_end' is never used. [drivers/net/sfc/base/efx_lic.c:1492]: (style) The function 'efx_lic_find_key' is never used. [drivers/net/sfc/base/efx_lic.c:1440]: (style) The function 'efx_lic_find_start' is never used. [drivers/net/sfc/base/efx_lic.c:1324]: (style) The function 'efx_lic_fini' is never used. [drivers/net/sfc/base/efx_lic.c:1657]: (style) The function 'efx_lic_finish_partition' is never used. [drivers/net/sfc/base/efx_lic.c:1406]: (style) The function 'efx_lic_get_id' is never used. [drivers/net/sfc/base/efx_lic.c:1251]: (style) The function 'efx_lic_init' is never used. [drivers/net/sfc/base/efx_lic.c:1543]: (style) The function 'efx_lic_read_key' is never used. [drivers/net/sfc/base/efx_lic.c:1337]: (style) The function 'efx_lic_update_licenses' is never used. [drivers/net/sfc/base/efx_lic.c:1520]: (style) The function 'efx_lic_validate_key' is never used. [drivers/net/sfc/base/efx_lic.c:1574]: (style) The function 'efx_lic_write_key' is never used. [drivers/net/sfc/base/efx_mac.c:112]: (style) The function 'efx_mac_pdu_get' is never used. [drivers/net/sfc/base/efx_mac.c:251]: (style) The function 'efx_mac_up' is never used. [drivers/net/sfc/base/efx_mcdi.c:827]: (style) The function 'efx_mcdi_ev_proxy_response' is never used. [drivers/net/sfc/base/efx_mcdi.c:1544]: (style) The function 'efx_mcdi_firmware_update_supported' is never used. [drivers/net/sfc/base/efx_mcdi.c:597]: (style) The function 'efx_mcdi_get_timeout' is never used. [drivers/net/sfc/base/efx_mcdi.c:2108]: (style) The function 'efx_mcdi_get_workarounds' is never used. [drivers/net/sfc/base/efx_mcdi.c:1594]: (style) The function 'efx_mcdi_link_control_supported' is never used. [drivers/net/sfc/base/efx_mcdi.c:1619]: (style) The function 'efx_mcdi_mac_spoofing_supported' is never used. [drivers/net/sfc/base/efx_mcdi.c:1569]: (style) The function 'efx_mcdi_macaddr_change_supported' is never used. [drivers/net/sfc/base/efx_nvram.c:570]: (style) The function 'efx_mcdi_nvram_metadata' is never used. [drivers/net/sfc/base/efx_nvram.c:510]: (style) The function 'efx_mcdi_nvram_partitions' is never used. [drivers/net/sfc/base/efx_mcdi.c:1139]: (style) The function 'efx_mcdi_reboot' is never used. [drivers/net/sfc/base/efx_mcdi.c:2064]: (style) The function 'efx_mcdi_set_workaround' is never used. [drivers/net/sfc/base/efx_mon.c:836]: (style) The function 'efx_mon_fini' is never used. [drivers/net/sfc/base/efx_mon.c:49]: (style) The function 'efx_mon_init' is never used. [drivers/net/sfc/base/efx_nic.c:1069]: (style) The function 'efx_nic_check_pcie_link_speed' is never used. [drivers/net/sfc/base/efx_nic.c:380]: (style) The function 'efx_nic_get_bar_region' is never used. [drivers/net/sfc/base/efx_nic.c:685]: (style) The function 'efx_nic_set_hw_unavailable' is never used. [drivers/net/sfc/base/efx_nvram.c:488]: (style) The function 'efx_nvram_fini' is never used. [drivers/net/sfc/base/efx_nvram.c:165]: (style) The function 'efx_nvram_get_version' is never used. [drivers/net/sfc/base/efx_nvram.c:55]: (style) The function 'efx_nvram_init' is never used. [drivers/net/sfc/base/efx_nvram.c:268]: (style) The function 'efx_nvram_read_backup' is never used. [drivers/net/sfc/base/efx_nvram.c:415]: (style) The function 'efx_nvram_set_version' is never used. [drivers/net/sfc/base/efx_nvram.c:453]: (style) The function 'efx_nvram_validate' is never used. [drivers/net/sfc/base/efx_phy.c:321]: (style) The function 'efx_phy_fec_type_get' is never used. [drivers/net/sfc/base/efx_phy.c:245]: (style) The function 'efx_phy_lp_cap_get' is never used. [drivers/net/sfc/base/efx_phy.c:272]: (style) The function 'efx_phy_media_type_get' is never used. [drivers/net/sfc/base/efx_phy.c:288]: (style) The function 'efx_phy_module_get_info' is never used. [drivers/net/sfc/base/efx_phy.c:258]: (style) The function 'efx_phy_oui_get' is never used. [drivers/net/sfc/base/efx_phy.c:110]: (style) The function 'efx_phy_verify' is never used. [drivers/net/sfc/base/efx_sram.c:139]: (style) The function 'efx_sram_buf_tbl_clear' is never used. [drivers/net/sfc/base/efx_sram.c:11]: (style) The function 'efx_sram_buf_tbl_set' is never used. [drivers/net/sfc/base/efx_tx.c:651]: (style) The function 'efx_tx_qdesc_checksum_create' is never used. [drivers/net/sfc/base/efx_tx.c:599]: (style) The function 'efx_tx_qdesc_tso_create' is never used. [drivers/net/sfc/base/efx_tx.c:499]: (style) The function 'efx_tx_qpio_disable' is never used. [drivers/net/sfc/base/efx_tx.c:467]: (style) The function 'efx_tx_qpio_enable' is never used. [drivers/net/sfc/base/efx_tx.c:539]: (style) The function 'efx_tx_qpio_post' is never used. [drivers/net/sfc/base/efx_tx.c:512]: (style) The function 'efx_tx_qpio_write' is never used. [drivers/net/sfc/base/efx_tx.c:376]: (style) The function 'efx_tx_qpost' is never used. [drivers/net/bnx2x/elink.c:2008]: (style) The function 'elink_ets_bw_limit' is never used. [drivers/net/bnx2x/elink.c:1489]: (style) The function 'elink_ets_disabled' is never used. [drivers/net/bnx2x/elink.c:1861]: (style) The function 'elink_ets_e3b0_config' is never used. [drivers/net/bnx2x/elink.c:2041]: (style) The function 'elink_ets_strict' is never used. [drivers/net/bnx2x/elink.c:7111]: (style) The function 'elink_get_ext_phy_fw_version' is never used. [drivers/net/bnx2x/elink.c:2178]: (style) The function 'elink_pfc_statistic' is never used. [drivers/net/bnx2x/elink.c:4033]: (style) The function 'elink_phy_read' is never used. [drivers/net/bnx2x/elink.c:4050]: (style) The function 'elink_phy_write' is never used. [drivers/net/bnx2x/elink.c:12446]: (style) The function 'elink_sfx7101_sp_sw_reset' is never used. [drivers/net/bnx2x/elink.c:7366]: (style) The function 'elink_test_link' is never used. [drivers/net/bnx2x/elink.c:3034]: (style) The function 'elink_update_pfc' is never used. [drivers/net/ena/base/ena_eth_com.c:653]: (style) The function 'ena_com_cq_empty' is never used. [drivers/net/ena/base/ena_com.c:1934]: (style) The function 'ena_com_extra_properties_strings_init' is never used. [drivers/net/ena/base/ena_com.c:2593]: (style) The function 'ena_com_fill_hash_ctrl' is never used. [drivers/net/ena/base/ena_com.c:1983]: (style) The function 'ena_com_get_extra_properties_flags' is never used. [drivers/net/ena/base/ena_com.c:3045]: (style) The function 'ena_com_get_intr_moderation_entry' is never used. [drivers/net/ena/base/ena_com.c:1928]: (style) The function 'ena_com_get_link_params' is never used. [drivers/net/ena/base/ena_com.c:3015]: (style) The function 'ena_com_get_nonadaptive_moderation_interval_rx' is never used. [drivers/net/ena/base/ena_com.c:3010]: (style) The function 'ena_com_get_nonadaptive_moderation_interval_tx' is never used. [drivers/net/ena/base/ena_com.c:2304]: (style) The function 'ena_com_get_offload_settings' is never used. [drivers/net/ena/base/ena_com.c:2928]: (style) The function 'ena_com_init_interrupt_moderation' is never used. [drivers/net/ena/base/ena_com.c:3025]: (style) The function 'ena_com_init_intr_moderation_entry' is never used. [drivers/net/ena/base/ena_com.c:2884]: (style) The function 'ena_com_interrupt_moderation_supported' is never used. [drivers/net/ena/base/ena_com.c:2904]: (style) The function 'ena_com_update_nonadaptive_moderation_interval_rx' is never used. [drivers/net/ena/base/ena_com.c:2890]: (style) The function 'ena_com_update_nonadaptive_moderation_interval_tx' is never used. [drivers/net/enic/enic_res.c:215]: (style) The function 'enic_add_vlan' is never used. [drivers/net/enic/enic_res.c:228]: (style) The function 'enic_del_vlan' is never used. [lib/librte_vhost/fd_man.c:104]: (style) The function 'fdset_init' is never used. [drivers/net/fm10k/base/fm10k_api.c:345]: (style) The function 'fm10k_adjust_systime' is never used. [drivers/net/fm10k/base/fm10k_api.c:262]: (style) The function 'fm10k_configure_dglort_map' is never used. [drivers/net/fm10k/base/fm10k_api.c:178]: (style) The function 'fm10k_get_bus_info' is never used. [drivers/net/fm10k/base/fm10k_api.c:192]: (style) The function 'fm10k_is_slot_appropriate' is never used. [drivers/net/fm10k/base/fm10k_api.c:359]: (style) The function 'fm10k_notify_offset' is never used. [drivers/net/fm10k/base/fm10k_api.c:277]: (style) The function 'fm10k_set_dma_mask' is never used. [drivers/net/fm10k/base/fm10k_tlv.c:739]: (style) The function 'fm10k_tlv_msg_test_create' is never used. [drivers/net/fm10k/base/fm10k_api.c:329]: (style) The function 'fm10k_update_mc_addr' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:83]: (style) The function 'fman_if_add_hash_mac_addr' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:149]: (style) The function 'fman_if_add_mac_addr' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:128]: (style) The function 'fman_if_clear_mac_addr' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:203]: (style) The function 'fman_if_conf_max_frame_len' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:308]: (style) The function 'fman_if_disable_rx' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:597]: (style) The function 'fman_if_discard_rx_errors' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:297]: (style) The function 'fman_if_enable_rx' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:404]: (style) The function 'fman_if_get_fc_quanta' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:377]: (style) The function 'fman_if_get_fc_threshold' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:426]: (style) The function 'fman_if_get_fdoff' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:455]: (style) The function 'fman_if_get_ic_params' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:530]: (style) The function 'fman_if_get_maxfrm' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:106]: (style) The function 'fman_if_get_primary_mac_addr' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:550]: (style) The function 'fman_if_get_sg_enable' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:338]: (style) The function 'fman_if_loopback_disable' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:319]: (style) The function 'fman_if_loopback_enable' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:284]: (style) The function 'fman_if_promiscuous_disable' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:271]: (style) The function 'fman_if_promiscuous_enable' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:48]: (style) The function 'fman_if_reset_mcast_filter_table' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:356]: (style) The function 'fman_if_set_bp' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:584]: (style) The function 'fman_if_set_dnia' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:443]: (style) The function 'fman_if_set_err_fqid' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:414]: (style) The function 'fman_if_set_fc_quanta' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:389]: (style) The function 'fman_if_set_fc_threshold' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:500]: (style) The function 'fman_if_set_fdoff' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:477]: (style) The function 'fman_if_set_ic_params' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:517]: (style) The function 'fman_if_set_maxfrm' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:36]: (style) The function 'fman_if_set_mcast_filter_table' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:184]: (style) The function 'fman_if_set_rx_ignore_pause_frames' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:564]: (style) The function 'fman_if_set_sg' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:216]: (style) The function 'fman_if_stats_get' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:239]: (style) The function 'fman_if_stats_get_all' is never used. [drivers/bus/dpaa/base/fman/fman_hw.c:254]: (style) The function 'fman_if_stats_reset' is never used. [drivers/net/netvsc/hn_rndis.c:917]: (style) The function 'hn_rndis_get_ptypes' is never used. [drivers/net/netvsc/hn_vf.c:361]: (style) The function 'hn_vf_reset' is never used. [drivers/net/netvsc/hn_vf.c:371]: (style) The function 'hn_vf_stats_reset' is never used. [drivers/net/netvsc/hn_vf.c:432]: (style) The function 'hn_vf_tx_queue_release' is never used. [drivers/net/atlantic/hw_atl/hw_atl_b0.c:485]: (style) The function 'hw_atl_b0_hw_irq_disable' is never used. [drivers/net/atlantic/hw_atl/hw_atl_b0.c:479]: (style) The function 'hw_atl_b0_hw_irq_enable' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:25]: (style) The function 'hw_atl_glb_glb_reg_res_dis_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:40]: (style) The function 'hw_atl_glb_soft_res_get' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:33]: (style) The function 'hw_atl_glb_soft_res_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:278]: (style) The function 'hw_atl_itr_irq_reg_res_dis_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:296]: (style) The function 'hw_atl_itr_res_irq_get' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:302]: (style) The function 'hw_atl_itr_res_irq_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:1426]: (style) The function 'hw_atl_msm_reg_access_status_get' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:1433]: (style) The function 'hw_atl_msm_reg_addr_for_indirect_addr_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:1450]: (style) The function 'hw_atl_msm_reg_rd_data_get' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:1442]: (style) The function 'hw_atl_msm_reg_rd_strobe_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:1455]: (style) The function 'hw_atl_msm_reg_wr_data_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:1460]: (style) The function 'hw_atl_msm_reg_wr_strobe_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:1469]: (style) The function 'hw_atl_pci_pci_reg_res_dis_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:428]: (style) The function 'hw_atl_rdm_rdm_intr_moder_en_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:377]: (style) The function 'hw_atl_rdm_rx_desc_head_ptr_get' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:392]: (style) The function 'hw_atl_rdm_rx_desc_res_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:444]: (style) The function 'hw_atl_reg_gen_irq_status_get' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:454]: (style) The function 'hw_atl_reg_irq_thr_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:475]: (style) The function 'hw_atl_reg_rx_dma_desc_status_get' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:509]: (style) The function 'hw_atl_reg_rx_flr_control2_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:515]: (style) The function 'hw_atl_reg_rx_intr_moder_ctrl_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:523]: (style) The function 'hw_atl_reg_tx_dma_debug_ctl_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:555]: (style) The function 'hw_atl_reg_tx_intr_moder_ctrl_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:564]: (style) The function 'hw_atl_rpb_dma_sys_lbk_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:580]: (style) The function 'hw_atl_rpb_rpf_rx_traf_class_mode_get' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:1239]: (style) The function 'hw_atl_rpb_tps_tx_tc_mode_get' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:947]: (style) The function 'hw_atl_rpf_etht_flr_act_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:895]: (style) The function 'hw_atl_rpf_etht_flr_en_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:955]: (style) The function 'hw_atl_rpf_etht_flr_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:938]: (style) The function 'hw_atl_rpf_etht_mgt_queue_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:911]: (style) The function 'hw_atl_rpf_etht_rx_queue_en_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:930]: (style) The function 'hw_atl_rpf_etht_rx_queue_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:903]: (style) The function 'hw_atl_rpf_etht_user_priority_en_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:921]: (style) The function 'hw_atl_rpf_etht_user_priority_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:816]: (style) The function 'hw_atl_rpf_tpo_to_rpf_sys_lbk_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:850]: (style) The function 'hw_atl_rpf_vlan_accept_untagged_packets_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:859]: (style) The function 'hw_atl_rpf_vlan_untagged_act_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:653]: (style) The function 'hw_atl_rpfl2broadcast_en_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:667]: (style) The function 'hw_atl_rpfl2multicast_flr_en_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:1194]: (style) The function 'hw_atl_tdm_tdm_intr_moder_en_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:1159]: (style) The function 'hw_atl_tdm_tx_desc_head_ptr_get' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:1275]: (style) The function 'hw_atl_tpb_tx_dma_sys_lbk_en_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_llh.c:1322]: (style) The function 'hw_atl_tpo_tx_pkt_sys_lbk_en_set' is never used. [drivers/net/atlantic/hw_atl/hw_atl_utils.c:795]: (style) The function 'hw_atl_utils_get_hw_stats' is never used. [drivers/net/atlantic/hw_atl/hw_atl_utils.c:682]: (style) The function 'hw_atl_utils_mbps_2_speed_index' is never used. [drivers/net/i40e/base/i40e_common.c:5737]: (style) The function 'i40e_add_filter_to_drop_tx_flow_control_frames' is never used. [drivers/net/i40e/base/i40e_common.c:7883]: (style) The function 'i40e_add_pinfo_to_list' is never used. [drivers/net/i40e/base/i40e_common.c:4356]: (style) The function 'i40e_aq_add_lldp_tlv' is never used. [drivers/net/i40e/base/i40e_common.c:4906]: (style) The function 'i40e_aq_add_mcast_etag' is never used. [drivers/net/i40e/base/i40e_common.c:3206]: (style) The function 'i40e_aq_add_mirrorrule' is never used. [drivers/net/i40e/base/i40e_common.c:4767]: (style) The function 'i40e_aq_add_pvirt' is never used. [drivers/net/i40e/base/i40e_common.c:5117]: (style) The function 'i40e_aq_add_statistics' is never used. [drivers/net/i40e/base/i40e_common.c:4808]: (style) The function 'i40e_aq_add_tag' is never used. [drivers/net/i40e/base/i40e_common.c:6188]: (style) The function 'i40e_aq_alternate_clear' is never used. [drivers/net/i40e/base/i40e_common.c:6151]: (style) The function 'i40e_aq_alternate_read_indirect' is never used. [drivers/net/i40e/base/i40e_common.c:6039]: (style) The function 'i40e_aq_alternate_write' is never used. [drivers/net/i40e/base/i40e_common.c:6210]: (style) The function 'i40e_aq_alternate_write_done' is never used. [drivers/net/i40e/base/i40e_common.c:6070]: (style) The function 'i40e_aq_alternate_write_indirect' is never used. [drivers/net/i40e/base/i40e_common.c:7478]: (style) The function 'i40e_aq_clear_all_wol_filters' is never used. [drivers/net/i40e/base/i40e_common.c:2303]: (style) The function 'i40e_aq_clear_default_vsi' is never used. [drivers/net/i40e/base/i40e_common.c:5314]: (style) The function 'i40e_aq_config_switch_comp_bw_limit' is never used. [drivers/net/i40e/base/i40e_common.c:5411]: (style) The function 'i40e_aq_config_switch_comp_ets_bw_limit' is never used. [drivers/net/i40e/base/i40e_common.c:6434]: (style) The function 'i40e_aq_configure_partition_bw' is never used. [drivers/net/i40e/base/i40e_common.c:5049]: (style) The function 'i40e_aq_dcb_ignore_pfc' is never used. [drivers/net/i40e/base/i40e_common.c:5092]: (style) The function 'i40e_aq_dcb_updated' is never used. [drivers/net/i40e/base/i40e_common.c:6342]: (style) The function 'i40e_aq_debug_dump' is never used. [drivers/net/i40e/base/i40e_common.c:4457]: (style) The function 'i40e_aq_delete_lldp_tlv' is never used. [drivers/net/i40e/base/i40e_common.c:3237]: (style) The function 'i40e_aq_delete_mirrorrule' is never used. [drivers/net/i40e/base/i40e_common.c:2087]: (style) The function 'i40e_aq_get_local_advt_reg' is never used. [drivers/net/i40e/base/i40e_common.c:2147]: (style) The function 'i40e_aq_get_partner_advt' is never used. [drivers/net/i40e/base/i40e_common.c:4700]: (style) The function 'i40e_aq_get_switch_resource_alloc' is never used. [drivers/net/i40e/base/i40e_common.c:7452]: (style) The function 'i40e_aq_get_wake_event_reason' is never used. [drivers/net/i40e/base/i40e_common.c:4206]: (style) The function 'i40e_aq_nvm_progress' is never used. [drivers/net/i40e/base/i40e_common.c:3640]: (style) The function 'i40e_aq_oem_post_update' is never used. [drivers/net/i40e/base/i40e_common.c:5479]: (style) The function 'i40e_aq_query_port_ets_config' is never used. [drivers/net/i40e/base/i40e_common.c:3572]: (style) The function 'i40e_aq_read_nvm_config' is never used. [drivers/net/i40e/base/i40e_common.c:4169]: (style) The function 'i40e_aq_rearrange_nvm' is never used. [drivers/net/i40e/base/i40e_common.c:4958]: (style) The function 'i40e_aq_remove_mcast_etag' is never used. [drivers/net/i40e/base/i40e_common.c:5154]: (style) The function 'i40e_aq_remove_statistics' is never used. [drivers/net/i40e/base/i40e_common.c:4857]: (style) The function 'i40e_aq_remove_tag' is never used. [drivers/net/i40e/base/i40e_common.c:6268]: (style) The function 'i40e_aq_resume_port_tx' is never used. [drivers/net/i40e/base/i40e_common.c:2807]: (style) The function 'i40e_aq_send_driver_version' is never used. [drivers/net/i40e/base/i40e_common.c:7312]: (style) The function 'i40e_aq_set_arp_proxy_config' is never used. [drivers/net/i40e/base/i40e_common.c:7390]: (style) The function 'i40e_aq_set_clear_wol_filter' is never used. [drivers/net/i40e/base/i40e_common.c:4547]: (style) The function 'i40e_aq_set_dcb_parameters' is never used. [drivers/net/i40e/base/i40e_common.c:2275]: (style) The function 'i40e_aq_set_default_vsi' is never used. [drivers/net/i40e/base/i40e_common.c:1930]: (style) The function 'i40e_aq_set_link_restart_an' is never used. [drivers/net/i40e/base/i40e_common.c:2119]: (style) The function 'i40e_aq_set_local_advt_reg' is never used. [drivers/net/i40e/base/i40e_common.c:7348]: (style) The function 'i40e_aq_set_ns_proxy_table_entry' is never used. [drivers/net/i40e/base/i40e_common.c:6243]: (style) The function 'i40e_aq_set_oem_mode' is never used. [drivers/net/i40e/base/i40e_common.c:2206]: (style) The function 'i40e_aq_set_phy_debug' is never used. [drivers/net/i40e/base/i40e_common.c:2513]: (style) The function 'i40e_aq_set_vsi_bc_promisc_on_vlan' is never used. [drivers/net/i40e/base/i40e_common.c:2407]: (style) The function 'i40e_aq_set_vsi_full_promiscuous' is never used. [drivers/net/i40e/base/i40e_common.c:2445]: (style) The function 'i40e_aq_set_vsi_mc_promisc_on_vlan' is never used. [drivers/net/i40e/base/i40e_common.c:2479]: (style) The function 'i40e_aq_set_vsi_uc_promisc_on_vlan' is never used. [drivers/net/i40e/base/i40e_common.c:4607]: (style) The function 'i40e_aq_start_stop_dcbx' is never used. [drivers/net/i40e/base/i40e_common.c:4406]: (style) The function 'i40e_aq_update_lldp_tlv' is never used. [drivers/net/i40e/base/i40e_common.c:5005]: (style) The function 'i40e_aq_update_tag' is never used. [drivers/net/i40e/base/i40e_common.c:3611]: (style) The function 'i40e_aq_write_nvm_config' is never used. [drivers/net/i40e/base/i40e_common.c:6780]: (style) The function 'i40e_blink_phy_link_led' is never used. [drivers/net/i40e/base/i40e_diag.c:121]: (style) The function 'i40e_diag_eeprom_test' is never used. [drivers/net/i40e/base/i40e_diag.c:142]: (style) The function 'i40e_diag_fw_alive_test' is never used. [drivers/net/i40e/base/i40e_diag.c:80]: (style) The function 'i40e_diag_reg_test' is never used. [drivers/net/i40e/base/i40e_diag.c:15]: (style) The function 'i40e_diag_set_loopback' is never used. [drivers/net/i40e/base/i40e_lan_hmc.c:1330]: (style) The function 'i40e_get_lan_rx_queue_context' is never used. [drivers/net/i40e/base/i40e_lan_hmc.c:1270]: (style) The function 'i40e_get_lan_tx_queue_context' is never used. [drivers/net/i40e/base/i40e_common.c:2905]: (style) The function 'i40e_get_link_speed' is never used. [drivers/net/i40e/base/i40e_common.c:2849]: (style) The function 'i40e_get_link_status' is never used. [drivers/net/i40e/base/i40e_common.c:1108]: (style) The function 'i40e_get_port_mac_addr' is never used. [drivers/net/i40e/base/i40e_common.c:1166]: (style) The function 'i40e_get_san_mac_addr' is never used. [drivers/net/i40e/base/i40e_common.c:6911]: (style) The function 'i40e_led_get_phy' is never used. [drivers/net/i40e/base/i40e_common.c:6960]: (style) The function 'i40e_led_set_phy' is never used. [drivers/net/i40e/base/i40e_nvm.c:811]: (style) The function 'i40e_nvmupd_command' is never used. [drivers/net/i40e/base/i40e_common.c:6394]: (style) The function 'i40e_read_bw_from_alt_ram' is never used. [drivers/net/i40e/base/i40e_common.c:1194]: (style) The function 'i40e_read_pba_string' is never used. [drivers/net/i40e/base/i40e_common.c:6731]: (style) The function 'i40e_read_phy_register' is never used. [drivers/net/i40e/base/i40e_common.c:6288]: (style) The function 'i40e_set_pci_config_data' is never used. [drivers/net/i40e/base/i40e_common.c:6692]: (style) The function 'i40e_write_phy_register' is never used. [drivers/net/i40e/i40e_rxtx.c:1407]: (style) The function 'i40e_xmit_pkts_vec' is never used. [drivers/net/i40e/i40e_rxtx.c:3253]: (style) The function 'i40e_xmit_pkts_vec_avx2' is never used. [drivers/net/ice/base/ice_flow.c:1599]: (style) The function 'ice_add_avf_rss_cfg' is never used. [drivers/net/ice/base/ice_flex_pipe.c:4861]: (style) The function 'ice_add_flow' is never used. [drivers/net/ice/base/ice_switch.c:1989]: (style) The function 'ice_add_mac_vlan' is never used. [drivers/net/ice/base/ice_common.c:1724]: (style) The function 'ice_alloc_hw_res' is never used. [drivers/net/ice/base/ice_sched.c:807]: (style) The function 'ice_aq_cfg_l2_node_cgd' is never used. [drivers/net/ice/base/ice_sched.c:1997]: (style) The function 'ice_aq_query_node_to_root' is never used. [drivers/net/ice/base/ice_sched.c:643]: (style) The function 'ice_aq_query_rl_profile' is never used. [drivers/net/ice/base/ice_common.c:2542]: (style) The function 'ice_aq_set_link_restart_an' is never used. [drivers/net/ice/base/ice_common.c:2597]: (style) The function 'ice_aq_set_mac_loopback' is never used. [drivers/net/ice/base/ice_common.c:2621]: (style) The function 'ice_aq_set_port_id_led' is never used. [drivers/net/ice/base/ice_flex_pipe.c:819]: (style) The function 'ice_aq_upload_section' is never used. [drivers/net/ice/base/ice_sched.c:2212]: (style) The function 'ice_cfg_agg' is never used. [drivers/net/ice/base/ice_sched.c:3093]: (style) The function 'ice_cfg_agg_bw_alloc' is never used. [drivers/net/ice/base/ice_sched.c:2826]: (style) The function 'ice_cfg_agg_bw_dflt_lmt_per_tc' is never used. [drivers/net/ice/base/ice_sched.c:2800]: (style) The function 'ice_cfg_agg_bw_lmt_per_tc' is never used. [drivers/net/ice/base/ice_sched.c:2897]: (style) The function 'ice_cfg_agg_bw_no_shared_lmt' is never used. [drivers/net/ice/base/ice_sched.c:2883]: (style) The function 'ice_cfg_agg_bw_shared_lmt' is never used. [drivers/net/ice/base/ice_sched.c:2955]: (style) The function 'ice_cfg_agg_vsi_priority_per_tc' is never used. [drivers/net/ice/base/ice_switch.c:2049]: (style) The function 'ice_cfg_dflt_vsi' is never used. [drivers/net/ice/base/ice_common.c:2466]: (style) The function 'ice_cfg_phy_fec' is never used. [drivers/net/ice/base/ice_sched.c:3964]: (style) The function 'ice_cfg_q_bw_dflt_lmt' is never used. [drivers/net/ice/base/ice_sched.c:3949]: (style) The function 'ice_cfg_q_bw_lmt' is never used. [drivers/net/ice/base/ice_sched.c:4148]: (style) The function 'ice_cfg_tc_node_bw_alloc' is never used. [drivers/net/ice/base/ice_sched.c:4064]: (style) The function 'ice_cfg_tc_node_bw_dflt_lmt' is never used. [drivers/net/ice/base/ice_sched.c:4049]: (style) The function 'ice_cfg_tc_node_bw_lmt' is never used. [drivers/net/ice/base/ice_sched.c:3041]: (style) The function 'ice_cfg_vsi_bw_alloc' is never used. [drivers/net/ice/base/ice_sched.c:2770]: (style) The function 'ice_cfg_vsi_bw_dflt_lmt_per_tc' is never used. [drivers/net/ice/base/ice_sched.c:2743]: (style) The function 'ice_cfg_vsi_bw_lmt_per_tc' is never used. [drivers/net/ice/base/ice_sched.c:2867]: (style) The function 'ice_cfg_vsi_bw_no_shared_lmt' is never used. [drivers/net/ice/base/ice_sched.c:2853]: (style) The function 'ice_cfg_vsi_bw_shared_lmt' is never used. [drivers/net/ice/base/ice_sched.c:2914]: (style) The function 'ice_cfg_vsi_q_priority' is never used. [drivers/net/ice/base/ice_common.c:1239]: (style) The function 'ice_clear_tx_cmpltnq_ctx' is never used. [drivers/net/ice/base/ice_common.c:1330]: (style) The function 'ice_clear_tx_drbell_q_ctx' is never used. [drivers/net/ice/base/ice_flex_pipe.c:1393]: (style) The function 'ice_copy_and_init_pkg' is never used. [drivers/net/ice/base/ice_common.c:2441]: (style) The function 'ice_copy_phy_caps_to_cfg' is never used. [drivers/net/ice/base/ice_common.c:867]: (style) The function 'ice_deinit_hw' is never used. [drivers/net/ice/base/ice_flex_pipe.c:1187]: (style) The function 'ice_find_label_value' is never used. [drivers/net/ice/base/ice_flow.c:1264]: (style) The function 'ice_flow_add_entry' is never used. [drivers/net/ice/base/ice_flow.c:1481]: (style) The function 'ice_flow_add_fld_raw' is never used. [drivers/net/ice/base/ice_flow.c:1223]: (style) The function 'ice_flow_find_entry' is never used. [drivers/net/ice/base/ice_flow.c:862]: (style) The function 'ice_flow_find_prof' is never used. [drivers/net/ice/base/ice_flow.c:1198]: (style) The function 'ice_flow_get_hw_prof' is never used. [drivers/net/ice/base/ice_flow.c:1168]: (style) The function 'ice_flow_rem_prof' is never used. [drivers/net/ice/base/ice_flow.c:1452]: (style) The function 'ice_flow_set_fld_prefix' is never used. [drivers/net/ice/base/ice_common.c:2509]: (style) The function 'ice_get_link_status' is never used. [drivers/net/ice/base/ice_flex_pipe.c:3904]: (style) The function 'ice_get_prof_context' is never used. [drivers/net/ice/base/ice_flow.c:2062]: (style) The function 'ice_get_rss_cfg' is never used. [drivers/net/ice/base/ice_flex_pipe.c:1483]: (style) The function 'ice_get_sw_fv_list' is never used. [drivers/net/ice/base/ice_flex_pipe.c:3218]: (style) The function 'ice_init_hw_tbls' is never used. [drivers/net/ice/base/ice_sched.c:2376]: (style) The function 'ice_move_vsi_to_agg' is never used. [drivers/net/ice/base/ice_nvm.c:364]: (style) The function 'ice_nvm_validate_checksum' is never used. [drivers/net/ice/base/ice_common.c:661]: (style) The function 'ice_output_fw_log' is never used. [drivers/net/ice/base/ice_flex_pipe.c:1724]: (style) The function 'ice_pkg_buf_get_free_space' is never used. [drivers/net/ice/base/ice_flex_pipe.c:1637]: (style) The function 'ice_pkg_buf_unreserve_section' is never used. [drivers/net/ice/base/ice_flex_pipe.c:1886]: (style) The function 'ice_ptg_free' is never used. [drivers/net/ice/base/ice_flex_pipe.c:1792]: (style) The function 'ice_ptg_update_xlt1' is never used. [drivers/net/ice/base/ice_nvm.c:344]: (style) The function 'ice_read_sr_buf' is never used. [drivers/net/ice/base/ice_flow.c:1696]: (style) The function 'ice_rem_all_rss_vsi_ctx' is never used. [drivers/net/ice/base/ice_flex_pipe.c:5043]: (style) The function 'ice_rem_flow' is never used. [drivers/net/ice/base/ice_flow.c:1723]: (style) The function 'ice_rem_vsi_rss_cfg' is never used. [drivers/net/ice/base/ice_switch.c:2683]: (style) The function 'ice_remove_vsi_fltr' is never used. [drivers/net/ice/base/ice_common.c:3484]: (style) The function 'ice_replay_post' is never used. [drivers/net/ice/base/ice_flow.c:2032]: (style) The function 'ice_replay_rss_cfg' is never used. [drivers/net/ice/base/ice_common.c:3457]: (style) The function 'ice_replay_vsi' is never used. [drivers/net/ice/base/ice_sched.c:2400]: (style) The function 'ice_rm_agg_cfg' is never used. [drivers/net/ice/base/ice_sched.c:1955]: (style) The function 'ice_rm_vsi_lan_cfg' is never used. [drivers/net/ice/base/ice_sched.c:4164]: (style) The function 'ice_sched_set_agg_bw_dflt_lmt' is never used. [drivers/net/ice/base/ice_common.c:2342]: (style) The function 'ice_set_fc' is never used. [drivers/net/ice/base/ice_flex_pipe.c:3885]: (style) The function 'ice_set_prof_context' is never used. [drivers/net/ice/ice_rxtx.c:2294]: (style) The function 'ice_set_tx_function' is never used. [drivers/net/ice/base/ice_switch.c:2571]: (style) The function 'ice_set_vlan_vsi_promisc' is never used. [drivers/net/ice/base/ice_common.c:3533]: (style) The function 'ice_stat_update32' is never used. [drivers/net/ice/base/ice_common.c:3501]: (style) The function 'ice_stat_update40' is never used. [drivers/net/ice/base/ice_common.c:2237]: (style) The function 'ice_update_phy_type' is never used. [drivers/net/ice/base/ice_switch.c:1163]: (style) The function 'ice_update_sw_rule_bridge_mode' is never used. [drivers/net/ice/base/ice_flex_pipe.c:2138]: (style) The function 'ice_vsig_update_xlt2' is never used. [drivers/net/ice/base/ice_common.c:1221]: (style) The function 'ice_write_tx_cmpltnq_ctx' is never used. [drivers/net/ice/base/ice_common.c:1312]: (style) The function 'ice_write_tx_drbell_q_ctx' is never used. [drivers/bus/ifpga/ifpga_common.c:55]: (style) The function 'ifpga_get_integer64_arg' is never used. [drivers/bus/ifpga/ifpga_common.c:65]: (style) The function 'ifpga_get_unsigned_long' is never used. [kernel/linux/kni/ethtool/igb/igb_main.c:387]: (style) The function 'igb_exit_module' is never used. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2404]: (style) The function 'igb_get_dmac' is never used. [kernel/linux/kni/ethtool/igb/igb_main.c:348]: (style) The function 'igb_init_module' is never used. [kernel/linux/kni/ethtool/igb/igb_main.c:9744]: (style) The function 'igb_read_i2c_byte' is never used. [kernel/linux/kni/ethtool/igb/igb_ethtool.c:2350]: (style) The function 'igb_set_adv_coal' is never used. [kernel/linux/kni/ethtool/igb/igb_main.c:9781]: (style) The function 'igb_write_i2c_byte' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:1124]: (style) The function 'ixgbe_acquire_swfw_semaphore' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:578]: (style) The function 'ixgbe_blink_led_start' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:590]: (style) The function 'ixgbe_blink_led_stop' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:438]: (style) The function 'ixgbe_check_phy_link' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:163]: (style) The function 'ixgbe_clear_hw_cntrs' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:739]: (style) The function 'ixgbe_clear_rar' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_common.c:3887]: (style) The function 'ixgbe_clear_tx_pending' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:856]: (style) The function 'ixgbe_clear_vf_stats_counters' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:874]: (style) The function 'ixgbe_clear_vfta' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:1834]: (style) The function 'ixgbe_close' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:491]: (style) The function 'ixgbe_del_mac_filter_by_index' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:862]: (style) The function 'ixgbe_disable_mc' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:1098]: (style) The function 'ixgbe_disable_sec_rx_path' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:850]: (style) The function 'ixgbe_enable_mc' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:1086]: (style) The function 'ixgbe_enable_rx_dma' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:1110]: (style) The function 'ixgbe_enable_sec_rx_path' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:494]: (style) The function 'ixgbe_enable_tx_laser' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:919]: (style) The function 'ixgbe_fc_enable' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_82599.c:1740]: (style) The function 'ixgbe_fdir_add_perfect_filter_82599' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_82599.c:1357]: (style) The function 'ixgbe_fdir_add_signature_filter_82599' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_82599.c:1686]: (style) The function 'ixgbe_fdir_erase_perfect_filter_82599' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:408]: (style) The function 'ixgbe_full_sync_mac_table' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:274]: (style) The function 'ixgbe_get_bus_info' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:261]: (style) The function 'ixgbe_get_fcoe_boot_status' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:136]: (style) The function 'ixgbe_get_hw_control' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_x540.c:130]: (style) The function 'ixgbe_get_link_capabilities_X540' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:191]: (style) The function 'ixgbe_get_mac_addr' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:297]: (style) The function 'ixgbe_get_num_of_rx_queues' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:286]: (style) The function 'ixgbe_get_num_of_tx_queues' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:799]: (style) The function 'ixgbe_get_num_rx_addrs' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:373]: (style) The function 'ixgbe_get_phy_firmware_version' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:205]: (style) The function 'ixgbe_get_san_mac_addr' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:1863]: (style) The function 'ixgbe_get_stats' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:1073]: (style) The function 'ixgbe_get_supported_physical_layer' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:947]: (style) The function 'ixgbe_get_thermal_sensor_data' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:246]: (style) The function 'ixgbe_get_wwn_prefix' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:603]: (style) The function 'ixgbe_init_eeprom_params' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:121]: (style) The function 'ixgbe_init_hw' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:789]: (style) The function 'ixgbe_init_rx_addrs' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:959]: (style) The function 'ixgbe_init_thermal_sensor_thresh' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:708]: (style) The function 'ixgbe_insert_mac_addr' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:2273]: (style) The function 'ixgbe_ioctl' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:565]: (style) The function 'ixgbe_led_off' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:552]: (style) The function 'ixgbe_led_on' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:1779]: (style) The function 'ixgbe_open' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:1013]: (style) The function 'ixgbe_read_i2c_byte' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:1060]: (style) The function 'ixgbe_read_i2c_eeprom' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:391]: (style) The function 'ixgbe_read_phy_reg' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_82599.c:1096]: (style) The function 'ixgbe_reinit_fdir_tables_82599' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:1138]: (style) The function 'ixgbe_release_swfw_semaphore' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:134]: (style) The function 'ixgbe_reset_hw' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:352]: (style) The function 'ixgbe_reset_phy' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:2211]: (style) The function 'ixgbe_service_task' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:2244]: (style) The function 'ixgbe_set_mac' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:218]: (style) The function 'ixgbe_set_san_mac_addr' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:889]: (style) The function 'ixgbe_set_vfta' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:906]: (style) The function 'ixgbe_set_vlvf' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:763]: (style) The function 'ixgbe_set_vmdq_san_mac' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:523]: (style) The function 'ixgbe_setup_link' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:425]: (style) The function 'ixgbe_setup_phy_link' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:453]: (style) The function 'ixgbe_setup_phy_link_speed' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:150]: (style) The function 'ixgbe_start_hw' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:311]: (style) The function 'ixgbe_stop_adapter' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:835]: (style) The function 'ixgbe_update_mc_addr_list' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:815]: (style) The function 'ixgbe_update_uc_addr_list' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:294]: (style) The function 'ixgbe_vlan_mode' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_main.c:2162]: (style) The function 'ixgbe_watchdog_update_link' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:620]: (style) The function 'ixgbe_write_eeprom' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:1029]: (style) The function 'ixgbe_write_i2c_byte' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:1044]: (style) The function 'ixgbe_write_i2c_eeprom' is never used. [kernel/linux/kni/ethtool/ixgbe/ixgbe_api.c:409]: (style) The function 'ixgbe_write_phy_reg' is never used. [examples/ip_pipeline/link.c:249]: (style) The function 'link_is_up' is never used. [examples/performance-thread/common/lthread_sched.c:270]: (style) The function 'lthread_active_schedulers' is never used. [examples/performance-thread/common/lthread_cond.c:179]: (style) The function 'lthread_cond_diag_ref' is never used. [examples/performance-thread/common/lthread_diag.c:280]: (style) The function 'lthread_diagnostic_enable' is never used. [examples/performance-thread/common/lthread_diag.c:68]: (style) The function 'lthread_diagnostic_set_mask' is never used. [examples/performance-thread/common/lthread_mutex.c:219]: (style) The function 'lthread_mutex_diag_ref' is never used. [examples/performance-thread/common/lthread_diag.c:198]: (style) The function 'lthread_sched_stats_display' is never used. [examples/performance-thread/common/lthread_sched.c:292]: (style) The function 'lthread_scheduler_shutdown_all' is never used. [examples/performance-thread/common/lthread.c:462]: (style) The function 'lthread_set_funcname' is never used. [examples/performance-thread/common/lthread.c:318]: (style) The function 'lthread_sleep_clks' is never used. [drivers/net/bonding/rte_eth_bond_pmd.c:1496]: (style) The function 'mac_address_get' is never used. [drivers/net/mlx4/mlx4_utils.c:139]: (style) The function 'mlx4_mallocv' is never used. [drivers/net/mlx4/mlx4_utils.c:171]: (style) The function 'mlx4_mallocv_socket' is never used. [drivers/net/mlx5/mlx5_rxq.c:364]: (style) The function 'mlx5_rxq_cleanup' is never used. [drivers/net/mlx5/mlx5_rxq.c:1120]: (style) The function 'mlx5_rxq_ibv_releasable' is never used. [drivers/net/mlx5/mlx5_txq.c:608]: (style) The function 'mlx5_txq_ibv_releasable' is never used. [drivers/bus/dpaa/base/fman/netcfg_layer.c:152]: (style) The function 'netcfg_release' is never used. [drivers/net/nfp/nfpcore/nfp_cppcore.c:373]: (style) The function 'nfp_cpp_area_check_range' is never used. [drivers/net/nfp/nfpcore/nfp_cppcore.c:745]: (style) The function 'nfp_cpp_area_fill' is never used. [drivers/net/nfp/nfpcore/nfp_cppcore.c:355]: (style) The function 'nfp_cpp_area_mapped' is never used. [drivers/net/nfp/nfpcore/nfp_cppcore.c:110]: (style) The function 'nfp_cpp_area_name' is never used. [drivers/net/nfp/nfpcore/nfp_cppcore.c:427]: (style) The function 'nfp_cpp_area_readl' is never used. [drivers/net/nfp/nfpcore/nfp_cppcore.c:451]: (style) The function 'nfp_cpp_area_readq' is never used. [drivers/net/nfp/nfpcore/nfp_cppcore.c:440]: (style) The function 'nfp_cpp_area_writel' is never used. [drivers/net/nfp/nfpcore/nfp_cppcore.c:464]: (style) The function 'nfp_cpp_area_writeq' is never used. [drivers/net/nfp/nfpcore/nfp_mutex.c:220]: (style) The function 'nfp_cpp_mutex_address' is never used. [drivers/net/nfp/nfpcore/nfp_mutex.c:178]: (style) The function 'nfp_cpp_mutex_cpp' is never used. [drivers/net/nfp/nfpcore/nfp_mutex.c:76]: (style) The function 'nfp_cpp_mutex_init' is never used. [drivers/net/nfp/nfpcore/nfp_mutex.c:184]: (style) The function 'nfp_cpp_mutex_key' is never used. [drivers/net/nfp/nfpcore/nfp_mutex.c:190]: (style) The function 'nfp_cpp_mutex_owner' is never used. [drivers/net/nfp/nfpcore/nfp_mutex.c:214]: (style) The function 'nfp_cpp_mutex_target' is never used. [drivers/net/nfp/nfpcore/nfp_cppcore.c:65]: (style) The function 'nfp_cpp_serial' is never used. [drivers/net/nfp/nfpcore/nfp_nsp_eth.c:603]: (style) The function 'nfp_eth_set_fec' is never used. [drivers/net/nfp/nfpcore/nfp_nsp_eth.c:439]: (style) The function 'nfp_eth_set_mod_enable' is never used. [drivers/net/nfp/nfpcore/nfp_nsp_cmds.c:76]: (style) The function 'nfp_hwmon_read_sensor' is never used. [drivers/net/nfp/nfpcore/nfp_mip.c:125]: (style) The function 'nfp_mip_name' is never used. [drivers/net/nfp/nfpcore/nfp_nsp.c:150]: (style) The function 'nfp_nsp_get_abi_ver_major' is never used. [drivers/net/nfp/nfpcore/nfp_nsp.c:387]: (style) The function 'nfp_nsp_mac_reinit' is never used. [drivers/net/nfp/nfpcore/nfp_nsp.c:352]: (style) The function 'nfp_nsp_wait' is never used. [drivers/net/nfp/nfpcore/nfp_resource.c:239]: (style) The function 'nfp_resource_name' is never used. [drivers/net/nfp/nfpcore/nfp_rtsym.c:186]: (style) The function 'nfp_rtsym_count' is never used. [drivers/net/nfp/nfpcore/nfp_rtsym.c:202]: (style) The function 'nfp_rtsym_get' is never used. [drivers/net/nfp/nfpcore/nfp_cppcore.c:651]: (style) The function 'nfp_xpb_waitlm' is never used. [drivers/net/nfp/nfpcore/nfp_cppcore.c:624]: (style) The function 'nfp_xpb_writelm' is never used. [lib/librte_eal/linuxapp/eal/eal_memory.c:248]: (style) The function 'numa_error' is never used. [drivers/net/octeontx/base/octeontx_bgx.c:94]: (style) The function 'octeontx_bgx_port_get_config' is never used. [drivers/net/octeontx/base/octeontx_bgx.c:127]: (style) The function 'octeontx_bgx_port_status' is never used. [drivers/net/octeontx/base/octeontx_pkivf.c:89]: (style) The function 'octeontx_pki_port_errchk_config' is never used. [drivers/bus/dpaa/base/fman/of.c:261]: (style) The function 'of_finish' is never used. [drivers/bus/dpaa/base/fman/of.c:574]: (style) The function 'of_get_mac_address' is never used. [drivers/bus/dpaa/base/fman/of.c:387]: (style) The function 'of_get_next_child' is never used. [drivers/bus/dpaa/base/fman/of.c:215]: (style) The function 'of_init_path' is never used. [drivers/raw/ifpga_rawdev/base/opae_hw_api.c:93]: (style) The function 'opae_acc_reg_read' is never used. [drivers/raw/ifpga_rawdev/base/opae_hw_api.c:115]: (style) The function 'opae_acc_reg_write' is never used. [drivers/raw/ifpga_rawdev/base/opae_hw_api.c:173]: (style) The function 'opae_acc_set_irq' is never used. [drivers/raw/ifpga_rawdev/base/opae_hw_api.c:355]: (style) The function 'opae_adapter_destroy' is never used. [drivers/raw/ifpga_rawdev/base/opae_ifpga_hw_api.c:93]: (style) The function 'opae_bridge_ifpga_get_info' is never used. [drivers/raw/ifpga_rawdev/base/opae_ifpga_hw_api.c:65]: (style) The function 'opae_bridge_ifpga_get_prop' is never used. [drivers/raw/ifpga_rawdev/base/opae_ifpga_hw_api.c:111]: (style) The function 'opae_bridge_ifpga_get_region_info' is never used. [drivers/raw/ifpga_rawdev/base/opae_ifpga_hw_api.c:133]: (style) The function 'opae_bridge_ifpga_set_err_irq' is never used. [drivers/raw/ifpga_rawdev/base/opae_ifpga_hw_api.c:79]: (style) The function 'opae_bridge_ifpga_set_prop' is never used. [drivers/raw/ifpga_rawdev/base/opae_ifpga_hw_api.c:34]: (style) The function 'opae_manager_ifpga_get_info' is never used. [drivers/raw/ifpga_rawdev/base/opae_ifpga_hw_api.c:8]: (style) The function 'opae_manager_ifpga_get_prop' is never used. [drivers/raw/ifpga_rawdev/base/opae_ifpga_hw_api.c:51]: (style) The function 'opae_manager_ifpga_set_err_irq' is never used. [drivers/raw/ifpga_rawdev/base/opae_ifpga_hw_api.c:21]: (style) The function 'opae_manager_ifpga_set_prop' is never used. [drivers/event/opdl/opdl_ring.c:776]: (style) The function 'opdl_ring_available' is never used. [drivers/event/opdl/opdl_ring.c:651]: (style) The function 'opdl_ring_copy_from_burst' is never used. [drivers/event/opdl/opdl_ring.c:789]: (style) The function 'opdl_ring_flush' is never used. [drivers/event/opdl/opdl_ring.c:1153]: (style) The function 'opdl_ring_get_input_stage' is never used. [drivers/event/opdl/opdl_ring.c:1065]: (style) The function 'opdl_ring_get_name' is never used. [drivers/event/opdl/opdl_ring.c:1059]: (style) The function 'opdl_ring_get_num_slots' is never used. [drivers/event/opdl/opdl_ring.c:969]: (style) The function 'opdl_ring_get_slot' is never used. [drivers/event/opdl/opdl_ring.c:1053]: (style) The function 'opdl_ring_get_socket' is never used. [drivers/event/opdl/opdl_ring.c:1254]: (style) The function 'opdl_ring_lookup' is never used. [drivers/event/opdl/opdl_ring.c:1269]: (style) The function 'opdl_ring_set_stage_threadsafe' is never used. [drivers/event/opdl/opdl_ring.c:720]: (style) The function 'opdl_stage_claim_copy' is never used. [drivers/event/opdl/opdl_ring.c:732]: (style) The function 'opdl_stage_disclaim_n' is never used. [drivers/event/opdl/opdl_ring.c:689]: (style) The function 'opdl_stage_find_num_available' is never used. [drivers/event/opdl/opdl_ring.c:1159]: (style) The function 'opdl_stage_set_deps' is never used. [examples/ip_pipeline/parser.c:597]: (style) The function 'parse_cpu_core' is never used. [examples/ip_pipeline/parser.c:314]: (style) The function 'parse_mpls_labels' is never used. [app/test-eventdev/parser.c:70]: (style) The function 'parser_read_arg_bool' is never used. [app/test-eventdev/parser.c:148]: (style) The function 'parser_read_int32' is never used. [app/test-eventdev/parser.c:234]: (style) The function 'parser_read_uint16_hex' is never used. [app/test-eventdev/parser.c:202]: (style) The function 'parser_read_uint32_hex' is never used. [drivers/bus/pci/bsd/pci.c:390]: (style) The function 'pci_update_device' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:434]: (style) The function 'pthread_getcpuclockid' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:656]: (style) The function 'pthread_getschedparam' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:454]: (style) The function 'pthread_key_delete' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:488]: (style) The function 'pthread_mutex_timedlock' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:501]: (style) The function 'pthread_once' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:252]: (style) The function 'pthread_override_get' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:507]: (style) The function 'pthread_rwlock_destroy' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:513]: (style) The function 'pthread_rwlock_init' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:519]: (style) The function 'pthread_rwlock_rdlock' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:525]: (style) The function 'pthread_rwlock_timedrdlock' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:531]: (style) The function 'pthread_rwlock_timedwrlock' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:537]: (style) The function 'pthread_rwlock_tryrdlock' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:543]: (style) The function 'pthread_rwlock_trywrlock' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:549]: (style) The function 'pthread_rwlock_unlock' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:555]: (style) The function 'pthread_rwlock_wrlock' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:637]: (style) The function 'pthread_setcancelstate' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:643]: (style) The function 'pthread_setcanceltype' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:662]: (style) The function 'pthread_setschedparam' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:604]: (style) The function 'pthread_spin_destroy' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:598]: (style) The function 'pthread_spin_init' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:610]: (style) The function 'pthread_spin_lock' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:616]: (style) The function 'pthread_spin_trylock' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:622]: (style) The function 'pthread_spin_unlock' is never used. [examples/performance-thread/pthread_shim/pthread_shim.c:649]: (style) The function 'pthread_testcancel' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:548]: (style) The function 'qbman_eq_desc_set_eqdi' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:481]: (style) The function 'qbman_eq_desc_set_orp' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:498]: (style) The function 'qbman_eq_desc_set_orp_hole' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:509]: (style) The function 'qbman_eq_desc_set_orp_nesn' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:528]: (style) The function 'qbman_eq_desc_set_token' is never used. [drivers/bus/fslmc/qbman/qbman_debug.c:63]: (style) The function 'qbman_fq_state_byte_count' is never used. [drivers/bus/dpaa/base/qbman/dpaa_sys.c:83]: (style) The function 'qbman_free_irq' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1918]: (style) The function 'qbman_get_dqrr_from_idx' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1093]: (style) The function 'qbman_pull_desc_set_channel' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1101]: (style) The function 'qbman_pull_desc_set_rad' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1073]: (style) The function 'qbman_pull_desc_set_token' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1085]: (style) The function 'qbman_pull_desc_set_wq' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1589]: (style) The function 'qbman_release_desc_set_rcdi' is never used. [drivers/bus/dpaa/base/qbman/dpaa_sys.c:65]: (style) The function 'qbman_request_irq' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1493]: (style) The function 'qbman_result_DQ_byte_count' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1488]: (style) The function 'qbman_result_DQ_fqid' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1498]: (style) The function 'qbman_result_DQ_frame_count' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1483]: (style) The function 'qbman_result_DQ_odpid' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1478]: (style) The function 'qbman_result_DQ_seqnum' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1534]: (style) The function 'qbman_result_bpscn_bpid' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1554]: (style) The function 'qbman_result_bpscn_ctx' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1539]: (style) The function 'qbman_result_bpscn_has_free_bufs' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1544]: (style) The function 'qbman_result_bpscn_is_depleted' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1549]: (style) The function 'qbman_result_bpscn_is_surplus' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1562]: (style) The function 'qbman_result_cgcu_cgid' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1567]: (style) The function 'qbman_result_cgcu_icnt' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1442]: (style) The function 'qbman_result_is_BPSCN' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1431]: (style) The function 'qbman_result_is_CDAN' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1447]: (style) The function 'qbman_result_is_CGCU' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1436]: (style) The function 'qbman_result_is_CSCN' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1421]: (style) The function 'qbman_result_is_DQ' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1426]: (style) The function 'qbman_result_is_FQDAN' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1462]: (style) The function 'qbman_result_is_FQPN' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1452]: (style) The function 'qbman_result_is_FQRN' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1457]: (style) The function 'qbman_result_is_FQRNI' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1898]: (style) The function 'qbman_swp_CDAN_disable' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1891]: (style) The function 'qbman_swp_CDAN_enable' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1883]: (style) The function 'qbman_swp_CDAN_set_context' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1905]: (style) The function 'qbman_swp_CDAN_set_context_enable' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:313]: (style) The function 'qbman_swp_dqrr_thrshld_read_status' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:318]: (style) The function 'qbman_swp_dqrr_thrshld_write' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:725]: (style) The function 'qbman_swp_enqueue' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:274]: (style) The function 'qbman_swp_finish' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1797]: (style) The function 'qbman_swp_fq_force' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1792]: (style) The function 'qbman_swp_fq_schedule' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1807]: (style) The function 'qbman_swp_fq_xoff' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:1802]: (style) The function 'qbman_swp_fq_xon' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:284]: (style) The function 'qbman_swp_get_desc' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:177]: (style) The function 'qbman_swp_init' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:343]: (style) The function 'qbman_swp_interrupt_get_inhibit' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:333]: (style) The function 'qbman_swp_interrupt_get_trigger' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:293]: (style) The function 'qbman_swp_interrupt_get_vanish' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:303]: (style) The function 'qbman_swp_interrupt_read_status' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:348]: (style) The function 'qbman_swp_interrupt_set_inhibit' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:338]: (style) The function 'qbman_swp_interrupt_set_trigger' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:298]: (style) The function 'qbman_swp_interrupt_set_vanish' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:323]: (style) The function 'qbman_swp_intr_timeout_read_status' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:328]: (style) The function 'qbman_swp_intr_timeout_write' is never used. [drivers/bus/fslmc/qbman/qbman_portal.c:997]: (style) The function 'qbman_swp_push_get' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1084]: (style) The function 'qman_affine_channel' is never used. [drivers/bus/dpaa/base/qbman/dpaa_alloc.c:58]: (style) The function 'qman_alloc_cgrid_range' is never used. [drivers/bus/dpaa/base/qbman/dpaa_alloc.c:28]: (style) The function 'qman_alloc_fqid_range' is never used. [drivers/bus/dpaa/base/qbman/process.c:236]: (style) The function 'qman_allocate_raw_portal' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1158]: (style) The function 'qman_clear_irq' is never used. [drivers/bus/dpaa/base/qbman/qman.c:2418]: (style) The function 'qman_create_cgr' is never used. [drivers/bus/dpaa/base/qbman/qman.c:2486]: (style) The function 'qman_create_cgr_to_dcp' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1350]: (style) The function 'qman_dca' is never used. [drivers/bus/dpaa/base/qbman/qman.c:2532]: (style) The function 'qman_delete_cgr' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1473]: (style) The function 'qman_destroy_fq' is never used. [drivers/bus/dpaa/base/qbman/qman.c:2196]: (style) The function 'qman_enqueue' is never used. [drivers/bus/dpaa/base/qbman/qman.c:2211]: (style) The function 'qman_enqueue_multi' is never used. [drivers/bus/dpaa/base/qbman/qman.c:2347]: (style) The function 'qman_enqueue_orp' is never used. [drivers/bus/dpaa/base/qbman/qman.c:2132]: (style) The function 'qman_eqcr_is_empty' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1776]: (style) The function 'qman_fq_flow_control' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1501]: (style) The function 'qman_fq_state' is never used. [drivers/bus/dpaa/base/qbman/process.c:258]: (style) The function 'qman_free_raw_portal' is never used. [drivers/bus/dpaa/base/qbman/qman_driver.c:256]: (style) The function 'qman_global_init' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1290]: (style) The function 'qman_poll' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1281]: (style) The function 'qman_poll_dqrr' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1095]: (style) The function 'qman_portal_poll_rx' is never used. [drivers/bus/dpaa/base/qbman/qman.c:2026]: (style) The function 'qman_query_congestion' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1825]: (style) The function 'qman_query_fq' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1910]: (style) The function 'qman_query_fq_frm_cnt' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1848]: (style) The function 'qman_query_fq_has_pkts' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1868]: (style) The function 'qman_query_fq_np' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1932]: (style) The function 'qman_query_wq' is never used. [drivers/bus/dpaa/base/qbman/dpaa_alloc.c:63]: (style) The function 'qman_release_cgrid_range' is never used. [drivers/bus/dpaa/base/qbman/dpaa_alloc.c:33]: (style) The function 'qman_release_fqid_range' is never used. [drivers/bus/dpaa/base/qbman/dpaa_alloc.c:48]: (style) The function 'qman_release_pool_range' is never used. [drivers/bus/dpaa/base/qbman/dpaa_alloc.c:68]: (style) The function 'qman_reserve_cgrid_range' is never used. [drivers/bus/dpaa/base/qbman/dpaa_alloc.c:38]: (style) The function 'qman_reserve_fqid_range' is never used. [drivers/bus/dpaa/base/qbman/dpaa_alloc.c:53]: (style) The function 'qman_reserve_pool_range' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1605]: (style) The function 'qman_schedule_fq' is never used. [drivers/bus/dpaa/base/qbman/qman.c:2142]: (style) The function 'qman_set_dc_ern' is never used. [drivers/bus/dpaa/base/qbman/qman.c:2580]: (style) The function 'qman_shutdown_fq' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1317]: (style) The function 'qman_start_dequeues' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1335]: (style) The function 'qman_static_dequeue_del' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1344]: (style) The function 'qman_static_dequeue_get' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1310]: (style) The function 'qman_stop_dequeues' is never used. [drivers/bus/dpaa/base/qbman/qman.c:1964]: (style) The function 'qman_testwrite_cgr' is never used. [drivers/bus/dpaa/base/qbman/qman.c:2089]: (style) The function 'qman_volatile_dequeue' is never used. [drivers/net/tap/tap_bpf_program.c:121]: (style) The function 'rss_l3_l4' is never used. [lib/librte_bbdev/rte_bbdev.c:304]: (style) The function 'rte_bbdev_find_next' is never used. [lib/librte_bbdev/rte_bbdev.c:1076]: (style) The function 'rte_bbdev_queue_intr_ctl' is never used. [lib/librte_bbdev/rte_bbdev.c:1065]: (style) The function 'rte_bbdev_queue_intr_disable' is never used. [lib/librte_eal/common/eal_common_bus.c:133]: (style) The function 'rte_bus_dump' is never used. [lib/librte_eal/common/eal_common_bus.c:48]: (style) The function 'rte_bus_register' is never used. [lib/librte_eal/common/eal_common_bus.c:64]: (style) The function 'rte_bus_unregister' is never used. [lib/librte_cfgfile/rte_cfgfile.c:352]: (style) The function 'rte_cfgfile_add_entry' is never used. [lib/librte_cfgfile/rte_cfgfile.c:519]: (style) The function 'rte_cfgfile_section_entries_by_index' is never used. [lib/librte_cfgfile/rte_cfgfile.c:494]: (style) The function 'rte_cfgfile_section_num_entries_by_index' is never used. [lib/librte_cfgfile/rte_cfgfile.c:465]: (style) The function 'rte_cfgfile_sections' is never used. [lib/librte_cfgfile/rte_cfgfile.c:376]: (style) The function 'rte_cfgfile_set_entry' is never used. [lib/librte_eal/common/eal_common_class.c:16]: (style) The function 'rte_class_register' is never used. [lib/librte_eal/common/eal_common_class.c:26]: (style) The function 'rte_class_unregister' is never used. [lib/librte_compressdev/rte_comp.c:10]: (style) The function 'rte_comp_get_feature_name' is never used. [lib/librte_compressdev/rte_comp.c:171]: (style) The function 'rte_comp_op_alloc' is never used. [lib/librte_compressdev/rte_compressdev.c:117]: (style) The function 'rte_compressdev_get_dev_id' is never used. [lib/librte_compressdev/rte_compressdev.c:54]: (style) The function 'rte_compressdev_get_feature_name' is never used. [lib/librte_compressdev/rte_compressdev.c:289]: (style) The function 'rte_compressdev_queue_pair_count' is never used. [lib/librte_compressdev/rte_compressdev.c:166]: (style) The function 'rte_compressdev_socket_id' is never used. [lib/librte_compressdev/rte_compressdev.c:619]: (style) The function 'rte_compressdev_stats_reset' is never used. [lib/librte_compressdev/rte_compressdev.c:704]: (style) The function 'rte_compressdev_stream_create' is never used. [lib/librte_compressdev/rte_compressdev.c:730]: (style) The function 'rte_compressdev_stream_free' is never used. [lib/librte_eal/common/eal_common_cpuflags.c:15]: (style) The function 'rte_cpu_check_supported' is never used. [lib/librte_cryptodev/rte_cryptodev.c:1723]: (style) The function 'rte_cryptodev_allocate_driver' is never used. [lib/librte_cryptodev/rte_cryptodev.c:1487]: (style) The function 'rte_cryptodev_asym_get_header_session_size' is never used. [lib/librte_cryptodev/rte_cryptodev.c:1082]: (style) The function 'rte_cryptodev_callback_register' is never used. [lib/librte_cryptodev/rte_cryptodev.c:1125]: (style) The function 'rte_cryptodev_callback_unregister' is never used. [lib/librte_cryptodev/rte_cryptodev.c:1712]: (style) The function 'rte_cryptodev_driver_name_get' is never used. [lib/librte_cryptodev/rte_cryptodev.c:452]: (style) The function 'rte_cryptodev_get_feature_name' is never used. [lib/librte_cryptodev/rte_cryptodev.c:1171]: (style) The function 'rte_cryptodev_pmd_callback_process' is never used. [lib/librte_cryptodev/rte_cryptodev.c:1653]: (style) The function 'rte_cryptodev_pmd_create_dev_name' is never used. [drivers/crypto/scheduler/rte_cryptodev_scheduler.c:552]: (style) The function 'rte_cryptodev_scheduler_option_get' is never used. [drivers/crypto/scheduler/rte_cryptodev_scheduler.c:521]: (style) The function 'rte_cryptodev_scheduler_option_set' is never used. [drivers/crypto/scheduler/rte_cryptodev_scheduler.c:396]: (style) The function 'rte_cryptodev_scheduler_ordering_get' is never used. [drivers/crypto/scheduler/rte_cryptodev_scheduler.c:367]: (style) The function 'rte_cryptodev_scheduler_ordering_set' is never used. [lib/librte_eal/common/eal_common_dev.c:564]: (style) The function 'rte_dev_iterator_init' is never used. [lib/librte_eal/common/eal_common_dev.c:717]: (style) The function 'rte_dev_iterator_next' is never used. [lib/librte_eal/common/eal_common_devargs.c:394]: (style) The function 'rte_devargs_next' is never used. [lib/librte_eal/common/eal_common_devargs.c:363]: (style) The function 'rte_devargs_type_count' is never used. [drivers/mempool/dpaa2/dpaa2_hw_mempool.c:268]: (style) The function 'rte_dpaa2_mbuf_from_buf_addr' is never used. [drivers/mempool/dpaa2/dpaa2_hw_mempool.c:254]: (style) The function 'rte_dpaa2_mbuf_pool_bpid' is never used. [drivers/bus/dpaa/dpaa_bus.c:495]: (style) The function 'rte_dpaa_driver_register' is never used. [drivers/bus/dpaa/dpaa_bus.c:508]: (style) The function 'rte_dpaa_driver_unregister' is never used. [drivers/bus/dpaa/dpaa_bus.c:359]: (style) The function 'rte_dpaa_portal_fq_close' is never used. [drivers/bus/dpaa/dpaa_bus.c:331]: (style) The function 'rte_dpaa_portal_fq_init' is never used. [drivers/net/bonding/rte_eth_bond_8023ad.c:1496]: (style) The function 'rte_eth_bond_8023ad_ext_collect_get' is never used. [drivers/net/bonding/rte_eth_bond_8023ad.c:1461]: (style) The function 'rte_eth_bond_8023ad_ext_distrib' is never used. [drivers/net/bonding/rte_eth_bond_8023ad.c:1482]: (style) The function 'rte_eth_bond_8023ad_ext_distrib_get' is never used. [drivers/net/bonding/rte_eth_bond_8023ad.c:1379]: (style) The function 'rte_eth_bond_8023ad_slave_info' is never used. [drivers/net/bonding/rte_eth_bond_api.c:183]: (style) The function 'rte_eth_bond_free' is never used. [drivers/net/bonding/rte_eth_bond_api.c:993]: (style) The function 'rte_eth_bond_link_down_prop_delay_get' is never used. [drivers/net/bonding/rte_eth_bond_api.c:964]: (style) The function 'rte_eth_bond_link_monitoring_get' is never used. [drivers/net/bonding/rte_eth_bond_api.c:1021]: (style) The function 'rte_eth_bond_link_up_prop_delay_get' is never used. [lib/librte_ethdev/rte_ethdev.c:725]: (style) The function 'rte_eth_dev_count' is never used. [lib/librte_ethdev/rte_ethdev.c:4316]: (style) The function 'rte_eth_dev_pool_ops_supported' is never used. [lib/librte_ethdev/rte_ethdev.c:3511]: (style) The function 'rte_eth_dev_rx_intr_ctl' is never used. [lib/librte_ethdev/rte_ethdev.c:3548]: (style) The function 'rte_eth_dev_rx_intr_ctl_q_get_fd' is never used. [lib/librte_ethdev/rte_ethdev.c:191]: (style) The function 'rte_eth_iterator_init' is never used. [lib/librte_ethdev/rte_ethdev.c:292]: (style) The function 'rte_eth_iterator_next' is never used. [lib/librte_ethdev/rte_ethdev.c:3026]: (style) The function 'rte_eth_led_off' is never used. [lib/librte_ethdev/rte_ethdev.c:3015]: (style) The function 'rte_eth_led_on' is never used. [lib/librte_ethdev/rte_ethdev.c:1025]: (style) The function 'rte_eth_speed_bitflag' is never used. [lib/librte_ethdev/rte_ethdev.c:4121]: (style) The function 'rte_eth_timesync_write_time' is never used. [lib/librte_ethdev/rte_ethdev.c:1814]: (style) The function 'rte_eth_tx_done_cleanup' is never used. [drivers/net/vhost/rte_eth_vhost.c:873]: (style) The function 'rte_eth_vhost_get_queue_event' is never used. [drivers/net/vhost/rte_eth_vhost.c:910]: (style) The function 'rte_eth_vhost_get_vid_from_port_id' is never used. [examples/ethtool/lib/rte_ethtool.c:158]: (style) The function 'rte_ethtool_set_eeprom' is never used. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:2386]: (style) The function 'rte_event_eth_rx_adapter_cb_register' is never used. [lib/librte_eventdev/rte_event_eth_rx_adapter.c:2342]: (style) The function 'rte_event_eth_rx_adapter_stats_reset' is never used. [lib/librte_eventdev/rte_event_eth_tx_adapter.c:951]: (style) The function 'rte_event_eth_tx_adapter_create_ext' is never used. [lib/librte_eventdev/rte_eventdev.c:1333]: (style) The function 'rte_event_pmd_allocate' is never used. [lib/librte_eventdev/rte_eventdev.c:1381]: (style) The function 'rte_event_pmd_release' is never used. [lib/librte_eal/common/eal_common_memory.c:904]: (style) The function 'rte_extmem_detach' is never used. [lib/librte_eal/common/eal_common_fbarray.c:1216]: (style) The function 'rte_fbarray_dump_metadata' is never used. [lib/librte_ethdev/rte_flow.c:848]: (style) The function 'rte_flow_copy' is never used. [lib/librte_ip_frag/rte_ip_frag_common.c:127]: (style) The function 'rte_frag_table_del_expired_entries' is never used. [drivers/bus/fslmc/fslmc_bus.c:464]: (style) The function 'rte_fslmc_driver_register' is never used. [drivers/bus/fslmc/fslmc_bus.c:475]: (style) The function 'rte_fslmc_driver_unregister' is never used. [lib/librte_hash/rte_cuckoo_hash.c:77]: (style) The function 'rte_hash_set_cmp_func' is never used. [lib/librte_eal/common/eal_common_hypervisor.c:8]: (style) The function 'rte_hypervisor_get_name' is never used. [drivers/bus/ifpga/ifpga_bus.c:48]: (style) The function 'rte_ifpga_driver_register' is never used. [drivers/bus/ifpga/ifpga_bus.c:56]: (style) The function 'rte_ifpga_driver_unregister' is never used. [lib/librte_jobstats/rte_jobstats.c:222]: (style) The function 'rte_jobstats_set_max' is never used. [lib/librte_jobstats/rte_jobstats.c:214]: (style) The function 'rte_jobstats_set_min' is never used. [lib/librte_jobstats/rte_jobstats.c:200]: (style) The function 'rte_jobstats_set_period' is never used. [lib/librte_jobstats/rte_jobstats.c:119]: (style) The function 'rte_jobstats_set_target' is never used. [lib/librte_eal/common/rte_keepalive.c:159]: (style) The function 'rte_keepalive_mark_sleep' is never used. [lib/librte_eal/common/eal_common_log.c:206]: (style) The function 'rte_log_cur_msg_logtype' is never used. [lib/librte_lpm/rte_lpm6.c:814]: (style) The function 'rte_lpm6_add_v20' is never used. [lib/librte_lpm/rte_lpm6.c:1101]: (style) The function 'rte_lpm6_is_rule_present_v20' is never used. [lib/librte_lpm/rte_lpm6.c:1010]: (style) The function 'rte_lpm6_lookup_bulk_func_v20' is never used. [lib/librte_lpm/rte_lpm6.c:957]: (style) The function 'rte_lpm6_lookup_v20' is never used. [lib/librte_lpm/rte_lpm.c:1105]: (style) The function 'rte_lpm_add_v20' is never used. [lib/librte_lpm/rte_lpm.c:149]: (style) The function 'rte_lpm_create_v20' is never used. [lib/librte_lpm/rte_lpm.c:1853]: (style) The function 'rte_lpm_delete_all_v20' is never used. [lib/librte_lpm/rte_lpm.c:1740]: (style) The function 'rte_lpm_delete_v20' is never used. [lib/librte_lpm/rte_lpm.c:92]: (style) The function 'rte_lpm_find_existing_v20' is never used. [lib/librte_lpm/rte_lpm.c:331]: (style) The function 'rte_lpm_free_v20' is never used. [lib/librte_lpm/rte_lpm.c:1192]: (style) The function 'rte_lpm_is_rule_present_v20' is never used. [lib/librte_mbuf/rte_mbuf_pool_ops.c:50]: (style) The function 'rte_mbuf_set_user_mempool_ops' is never used. [lib/librte_eal/common/eal_common_memory.c:406]: (style) The function 'rte_mem_alloc_validator_unregister' is never used. [lib/librte_mempool/rte_mempool_ops.c:21]: (style) The function 'rte_mempool_register_ops' is never used. [lib/librte_eal/common/eal_common_memory.c:723]: (style) The function 'rte_memseg_get_fd' is never used. [lib/librte_eal/common/eal_common_memory.c:779]: (style) The function 'rte_memseg_get_fd_offset' is never used. [lib/librte_eal/common/eal_common_log.c:68]: (style) The function 'rte_openlog_stream' is never used. [drivers/bus/pci/pci_common.c:336]: (style) The function 'rte_pci_dump' is never used. [drivers/bus/pci/bsd/pci.c:639]: (style) The function 'rte_pci_ioport_unmap' is never used. [drivers/bus/pci/pci_common.c:368]: (style) The function 'rte_pci_unregister' is never used. [examples/qos_meter/rte_policer.c:9]: (style) The function 'rte_phb_config' is never used. [drivers/net/bnxt/rte_pmd_bnxt.c:622]: (style) The function 'rte_pmd_bnxt_get_vf_tx_drop_count' is never used. [drivers/net/bnxt/rte_pmd_bnxt.c:764]: (style) The function 'rte_pmd_bnxt_set_vf_persist_stats' is never used. [drivers/net/dpaa2/dpaa2_mux.c:58]: (style) The function 'rte_pmd_dpaa2_mux_flow_create' is never used. [drivers/net/dpaa2/base/dpaa2_hw_dpni.c:32]: (style) The function 'rte_pmd_dpaa2_set_custom_hash' is never used. [drivers/net/dpaa2/dpaa2_ethdev.c:95]: (style) The function 'rte_pmd_dpaa2_set_timestamp' is never used. [drivers/net/i40e/rte_pmd_i40e.c:16]: (style) The function 'rte_pmd_i40e_ping_vfs' is never used. [drivers/net/softnic/rte_eth_softnic.c:602]: (style) The function 'rte_pmd_softnic_manage' is never used. [lib/librte_pipeline/rte_port_in_action.c:356]: (style) The function 'rte_port_in_action_apply' is never used. [lib/librte_power/rte_power_empty_poll.c:516]: (style) The function 'rte_power_empty_poll_stat_fetch' is never used. [lib/librte_power/rte_power_empty_poll.c:532]: (style) The function 'rte_power_poll_stat_fetch' is never used. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:157]: (style) The function 'rte_qdma_attr_get' is never used. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:219]: (style) The function 'rte_qdma_configure' is never used. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:736]: (style) The function 'rte_qdma_destroy' is never used. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:147]: (style) The function 'rte_qdma_init' is never used. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:278]: (style) The function 'rte_qdma_start' is never used. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:728]: (style) The function 'rte_qdma_stop' is never used. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:288]: (style) The function 'rte_qdma_vq_create' is never used. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:596]: (style) The function 'rte_qdma_vq_dequeue_multi' is never used. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:699]: (style) The function 'rte_qdma_vq_destroy' is never used. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:464]: (style) The function 'rte_qdma_vq_enqueue_multi' is never used. [drivers/raw/dpaa2_qdma/dpaa2_qdma.c:681]: (style) The function 'rte_qdma_vq_stats' is never used. [lib/librte_rawdev/rte_rawdev.c:244]: (style) The function 'rte_rawdev_dump' is never used. [lib/librte_rawdev/rte_rawdev.c:331]: (style) The function 'rte_rawdev_firmware_status_get' is never used. [lib/librte_rawdev/rte_rawdev.c:341]: (style) The function 'rte_rawdev_firmware_version_get' is never used. [lib/librte_rawdev/rte_rawdev.c:452]: (style) The function 'rte_rawdev_reset' is never used. [lib/librte_rawdev/rte_rawdev.c:301]: (style) The function 'rte_rawdev_xstats_by_name_get' is never used. [lib/librte_rawdev/rte_rawdev.c:288]: (style) The function 'rte_rawdev_xstats_get' is never used. [lib/librte_rawdev/rte_rawdev.c:265]: (style) The function 'rte_rawdev_xstats_names_get' is never used. [lib/librte_rawdev/rte_rawdev.c:320]: (style) The function 'rte_rawdev_xstats_reset' is never used. [lib/librte_sched/rte_sched.c:957]: (style) The function 'rte_sched_port_pipe_profile_add' is never used. [lib/librte_security/rte_security.c:109]: (style) The function 'rte_security_capability_get' is never used. [lib/librte_security/rte_security.c:62]: (style) The function 'rte_security_session_destroy' is never used. [lib/librte_security/rte_security.c:53]: (style) The function 'rte_security_session_stats_get' is never used. [lib/librte_security/rte_security.c:37]: (style) The function 'rte_security_session_update' is never used. [lib/librte_pipeline/rte_table_action.c:2795]: (style) The function 'rte_table_action_crypto_sym_session_get' is never used. [lib/librte_telemetry/rte_telemetry.c:1228]: (style) The function 'rte_telemetry_selftest' is never used. [lib/librte_ethdev/rte_tm.c:329]: (style) The function 'rte_tm_node_cman_update' is never used. [lib/librte_ethdev/rte_tm.c:294]: (style) The function 'rte_tm_node_shared_shaper_update' is never used. [lib/librte_ethdev/rte_tm.c:351]: (style) The function 'rte_tm_node_shared_wred_context_update' is never used. [lib/librte_ethdev/rte_tm.c:306]: (style) The function 'rte_tm_node_stats_update' is never used. [lib/librte_ethdev/rte_tm.c:317]: (style) The function 'rte_tm_node_wfq_weight_mode_update' is never used. [lib/librte_ethdev/rte_tm.c:340]: (style) The function 'rte_tm_node_wred_context_update' is never used. [lib/librte_ethdev/rte_tm.c:151]: (style) The function 'rte_tm_shared_wred_context_add_update' is never used. [lib/librte_ethdev/rte_tm.c:162]: (style) The function 'rte_tm_shared_wred_context_delete' is never used. [drivers/bus/vdev/vdev.c:59]: (style) The function 'rte_vdev_register' is never used. [drivers/bus/vdev/vdev.c:100]: (style) The function 'rte_vdev_remove_custom_scan' is never used. [drivers/bus/vdev/vdev.c:66]: (style) The function 'rte_vdev_unregister' is never used. [lib/librte_eal/bsdapp/eal/eal.c:929]: (style) The function 'rte_vfio_dma_map' is never used. [lib/librte_eal/bsdapp/eal/eal.c:936]: (style) The function 'rte_vfio_dma_unmap' is never used. [lib/librte_vhost/socket.c:592]: (style) The function 'rte_vhost_driver_get_vdpa_device_id' is never used. [lib/librte_vhost/vhost.c:492]: (style) The function 'rte_vhost_get_queue_num' is never used. [lib/librte_vhost/vhost.c:695]: (style) The function 'rte_vhost_log_write' is never used. [drivers/bus/vmbus/vmbus_channel.c:425]: (style) The function 'rte_vmbus_chan_dump' is never used. [drivers/bus/vmbus/linux/vmbus_bus.c:345]: (style) The function 'rte_vmbus_irq_mask' is never used. [drivers/bus/vmbus/linux/vmbus_bus.c:355]: (style) The function 'rte_vmbus_irq_read' is never used. [drivers/bus/vmbus/linux/vmbus_bus.c:350]: (style) The function 'rte_vmbus_irq_unmask' is never used. [drivers/bus/vmbus/vmbus_common.c:230]: (style) The function 'rte_vmbus_register' is never used. [drivers/bus/vmbus/vmbus_common.c:241]: (style) The function 'rte_vmbus_unregister' is never used. [drivers/crypto/caam_jr/caam_jr_uio.c:476]: (style) The function 'sec_cleanup' is never used. [drivers/net/sfc/sfc_kvargs.c:74]: (style) The function 'sfc_kvarg_bool_handler' is never used. [drivers/net/sfc/base/efx_filter.c:1238]: (style) The function 'siena_filter_tbl_clear' is never used. [drivers/net/softnic/rte_eth_softnic_cryptodev.c:25]: (style) The function 'softnic_cryptodev_free' is never used. [drivers/net/softnic/parser.c:612]: (style) The function 'softnic_parse_cpu_core' is never used. [drivers/net/softnic/parser.c:330]: (style) The function 'softnic_parse_mpls_labels' is never used. [drivers/net/softnic/parser.c:58]: (style) The function 'softnic_parser_read_arg_bool' is never used. [drivers/net/softnic/parser.c:222]: (style) The function 'softnic_parser_read_uint16_hex' is never used. [drivers/net/softnic/parser.c:190]: (style) The function 'softnic_parser_read_uint32_hex' is never used. [drivers/net/softnic/parser.c:254]: (style) The function 'softnic_parser_read_uint8_hex' is never used. [drivers/net/softnic/rte_eth_softnic_thread.c:1902]: (style) The function 'softnic_pipeline_table_rule_mtr_read' is never used. [drivers/net/softnic/rte_eth_softnic_thread.c:1702]: (style) The function 'softnic_pipeline_table_rule_stats_read' is never used. [drivers/net/softnic/rte_eth_softnic_thread.c:2035]: (style) The function 'softnic_pipeline_table_rule_ttl_read' is never used. [drivers/net/cxgbe/base/t4_hw.c:3871]: (style) The function 't4_fixup_host_params' is never used. [drivers/net/cxgbe/base/t4_hw.c:204]: (style) The function 't4_write_indirect' is never used. [test/test/test_table_pipeline.c:77]: (style) The function 'table_action_0x00' is never used. [test/test/test_table_pipeline.c:90]: (style) The function 'table_action_stub_hit' is never used. [test/test/test_table_combined.c:263]: (style) The function 'test_table_stub_combined' is never used. [test/test/virtual_pmd.c:259]: (style) The function 'virtual_ethdev_configure_fn_set_success' is never used. [test/test/virtual_pmd.c:298]: (style) The function 'virtual_ethdev_link_update_fn_set_success' is never used. [test/test/virtual_pmd.c:414]: (style) The function 'virtual_ethdev_rx_burst_fn_set_success' is never used. [test/test/virtual_pmd.c:272]: (style) The function 'virtual_ethdev_rx_queue_setup_fn_set_success' is never used. [test/test/virtual_pmd.c:245]: (style) The function 'virtual_ethdev_start_fn_set_success' is never used. [test/test/virtual_pmd.c:285]: (style) The function 'virtual_ethdev_tx_queue_setup_fn_set_success' is never used. [drivers/bus/vmbus/vmbus_common.c:264]: (style) The function 'vmbus_remove_device' is never used. [drivers/net/vmxnet3/vmxnet3_rxtx.c:72]: (style) The function 'vmxnet3_rxq_dump' is never used. [drivers/net/vmxnet3/vmxnet3_rxtx.c:103]: (style) The function 'vmxnet3_txq_dump' is never used. [drivers/net/enic/base/vnic_rss.c:9]: (style) The function 'vnic_set_rss_key' is never used. [drivers/crypto/virtio/virtio_pci.c:302]: (style) The function 'vtpci_cryptodev_isr' is never used. [drivers/crypto/virtio/virtio_pci.c:250]: (style) The function 'vtpci_write_cryptodev_config' is never used. [examples/eventdev_pipeline/pipeline_worker_tx.c:213]: (style) The function 'worker_do_tx' is never used. [examples/eventdev_pipeline/pipeline_worker_tx.c:262]: (style) The function 'worker_do_tx_atq' is never used. [examples/eventdev_pipeline/pipeline_worker_tx.c:308]: (style) The function 'worker_do_tx_burst' is never used. [examples/eventdev_pipeline/pipeline_worker_tx.c:363]: (style) The function 'worker_do_tx_burst_atq' is never used. [examples/eventdev_pipeline/pipeline_worker_tx.c:50]: (style) The function 'worker_do_tx_single' is never used. [examples/eventdev_pipeline/pipeline_worker_tx.c:86]: (style) The function 'worker_do_tx_single_atq' is never used. [examples/eventdev_pipeline/pipeline_worker_tx.c:121]: (style) The function 'worker_do_tx_single_burst' is never used. [examples/eventdev_pipeline/pipeline_worker_tx.c:167]: (style) The function 'worker_do_tx_single_burst_atq' is never used. (information) Cppcheck cannot find all the include files (use --check-config for details)