[dpdk-test-report] |WARNING| pw93009 [PATCH v3 04/22] net/ena/base: typos, style and comments improvements

checkpatch at dpdk.org checkpatch at dpdk.org
Thu May 6 16:27:09 CEST 2021


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

_coding style issues_


CHECK:CAMELCASE: Avoid CamelCase: <ENA_PRIu64>
#165: FILE: drivers/net/ena/base/ena_com.c:2110:
+		ena_trc_dbg(ena_dev, "AENQ! Group[%x] Syndrome[%x] timestamp: [%" ENA_PRIu64 "s]
",

WARNING:LONG_LINE: line length of 136 exceeds 100 columns
#458: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1654:
+	return (p->driver_supported_features & ENA_ADMIN_HOST_INFO_RX_BUF_MIRRORING_MASK) >> ENA_ADMIN_HOST_INFO_RX_BUF_MIRRORING_SHIFT;

WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#462: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1657:
+static inline void set_ena_admin_host_info_rx_buf_mirroring(struct ena_admin_host_info *p, uint32_t val)

WARNING:LONG_LINE: line length of 136 exceeds 100 columns
#465: FILE: drivers/net/ena/base/ena_defs/ena_admin_defs.h:1659:
+	p->driver_supported_features |= (val << ENA_ADMIN_HOST_INFO_RX_BUF_MIRRORING_SHIFT) & ENA_ADMIN_HOST_INFO_RX_BUF_MIRRORING_MASK;

total: 0 errors, 3 warnings, 1 checks, 368 lines checked


More information about the test-report mailing list