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

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Oct 14 19:43:23 CEST 2026


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

_coding style issues_


WARNING:SSCANF_TO_KSTRTO: Prefer kstrto<type> to single variable sscanf
#171: 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