[dpdk-test-report] |WARNING| pw27955 [PATCH v2 6/6] bus/fslmc: refactor scan and probe functions

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Aug 25 12:31:20 CEST 2017


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

_coding style issues_


WARNING:NAKED_SSCANF: unchecked sscanf return value
#124: FILE: drivers/bus/fslmc/fslmc_bus.c:130:
+	sscanf(t_ptr, "%hu", &dev->object_id);

WARNING:SSCANF_TO_KSTRTO: Prefer kstrto<type> to single variable sscanf
#124: FILE: drivers/bus/fslmc/fslmc_bus.c:130:
+	sscanf(t_ptr, "%hu", &dev->object_id);

total: 0 errors, 2 warnings, 818 lines checked


More information about the test-report mailing list