[dpdk-test-report] |WARNING| pw38899 [PATCH 2/5] bus/fslmc: support device blacklisting

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Apr 25 15:00:28 CEST 2018


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

_coding style issues_


WARNING:SSCANF_TO_KSTRTO: Prefer kstrto<type> to single variable sscanf
#151: FILE: drivers/bus/fslmc/fslmc_bus.c:258:
+	if (sscanf(t_ptr, "%hu", &dev_id) <= 0) {
+		DPAA2_BUS_ERR("Incorrect device string observed (%s)", t_ptr);
+		return -EINVAL;
+	}

total: 0 errors, 1 warnings, 221 lines checked


More information about the test-report mailing list