[dpdk-test-report] |WARNING| pw24765 [PATCH RFC 15/39] bus/dpaa: add support for FMAN frame queue lookup

checkpatch at dpdk.org checkpatch at dpdk.org
Sat May 27 12:20:01 CEST 2017


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

_coding style issues_


WARNING:OOM_MESSAGE: Possible unnecessary 'out of memory' message
#44: 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()
#81: 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()
#88: 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