[dpdk-test-report] |WARNING| [PATCH 08/13] PMD/af_packet: guard against buffer overruns in RX path

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Dec 13 02:09:18 CET 2016


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/17882

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#52: FILE: drivers/net/af_packet/rte_eth_af_packet.c:373:
+	unsigned buf_size, data_size;

WARNING:LONG_LINE: line over 90 characters
#60: FILE: drivers/net/af_packet/rte_eth_af_packet.c:379:
+	data_size = internals->req.tp_frame_size - TPACKET2_HDRLEN + sizeof(struct sockaddr_ll);

total: 0 errors, 2 warnings, 0 checks, 23 lines checked


More information about the test-report mailing list