|WARNING| pw172110 [PATCH v2 10/16] bus/fslmc: simplify device parsing in scan

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Oct 26 19:11:50 CET 2026


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

_coding style issues_


WARNING:SSCANF_TO_KSTRTO: Prefer kstrto<type> to single variable sscanf
#169: FILE: drivers/bus/fslmc/fslmc_bus.c:192:
+	if (sscanf(dev_id, "%hu", &dev->object_id) != 1) {
+		DPAA2_BUS_ERR("Failed to parse object ID");
 		ret = -EINVAL;
 		goto cleanup;
 	}

total: 0 errors, 1 warnings, 126 lines checked


More information about the test-report mailing list