[dpdk-test-report] |WARNING| pw25380 [PATCH 14/38] bus/dpaa: add support for FMAN frame queue lookup

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jun 16 07:34:45 CEST 2017


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

_coding style issues_


WARNING:OOM_MESSAGE: Possible unnecessary 'out of memory' message
#43: FILE: drivers/bus/dpaa/base/qbman/qman.c:189:
+	if (!qman_fq_lookup_table) {
+		pr_err("QMan: Could not allocate fq lookup table
");

WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#80: FILE: drivers/bus/dpaa/base/qbman/qman.c:226:
+	BUG_ON(entry >= qman_fq_lookup_table_size);

WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#87: FILE: drivers/bus/dpaa/base/qbman/qman.c:233:
+	BUG_ON(entry >= qman_fq_lookup_table_size);

total: 0 errors, 3 warnings, 225 lines checked


More information about the test-report mailing list