* [dpdk-test-report] |WARNING| pw89721 [PATCH v3 3/3] net/pcap: build on Windows
[not found] <20210324005008.24705-4-dmitry.kozliuk@gmail.com>
@ 2021-03-24 0:52 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-03-24 0:52 UTC (permalink / raw)
To: test-report; +Cc: Dmitry Kozlyuk
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/89721
_coding style issues_
CHECK:CAMELCASE: Avoid CamelCase: <StringCbPrintfW>
#240: FILE: drivers/net/pcap/pcap_osdep_windows.c:48:
+ StringCbPrintfW(adapter_name, sizeof(adapter_name),
CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements
#241: FILE: drivers/net/pcap/pcap_osdep_windows.c:49:
+ L"\DEVICE\TCPIP_%S", guid);
CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements
#244: FILE: drivers/net/pcap/pcap_osdep_windows.c:52:
+ L"%S", device_name);
CHECK:CAMELCASE: Avoid CamelCase: <GetAdapterIndex>
#246: FILE: drivers/net/pcap/pcap_osdep_windows.c:54:
+ ret = GetAdapterIndex(adapter_name, &index);
CHECK:CAMELCASE: Avoid CamelCase: <GetAdaptersAddresses>
#268: FILE: drivers/net/pcap/pcap_osdep_windows.c:76:
+ sys_ret = GetAdaptersAddresses(AF_UNSPEC, 0, NULL, NULL, &size);
CHECK:CAMELCASE: Avoid CamelCase: <Next>
#292: FILE: drivers/net/pcap/pcap_osdep_windows.c:100:
+ for (cur = info; cur != NULL; cur = cur->Next) {
CHECK:CAMELCASE: Avoid CamelCase: <AdapterName>
#293: FILE: drivers/net/pcap/pcap_osdep_windows.c:101:
+ if (strcmp(cur->AdapterName, adapter_name) == 0) {
CHECK:CAMELCASE: Avoid CamelCase: <PhysicalAddressLength>
#294: FILE: drivers/net/pcap/pcap_osdep_windows.c:102:
+ if (cur->PhysicalAddressLength != RTE_ETHER_ADDR_LEN) {
CHECK:CAMELCASE: Avoid CamelCase: <PhysicalAddress>
#301: FILE: drivers/net/pcap/pcap_osdep_windows.c:109:
+ memcpy(mac->addr_bytes, cur->PhysicalAddress,
total: 0 errors, 0 warnings, 9 checks, 181 lines checked
^ permalink raw reply [flat|nested] only message in thread