* [dpdk-test-report] |WARNING| pw22284 [PATCH v2 09/22] bus/fslmc: add vfio support
[not found] <1490359292-18773-10-git-send-email-hemant.agrawal@nxp.com>
@ 2017-03-26 21:56 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-03-26 21:56 UTC (permalink / raw)
To: test-report; +Cc: Hemant Agrawal
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/22284
_coding style issues_
WARNING:NAKED_SSCANF: unchecked sscanf return value
#349: FILE: drivers/bus/fslmc/fslmc_vfio.c:265:
+ sscanf(temp_obj, "%d", &mcp_id);
WARNING:SSCANF_TO_KSTRTO: Prefer kstrto<type> to single variable sscanf
#349: FILE: drivers/bus/fslmc/fslmc_vfio.c:265:
+ sscanf(temp_obj, "%d", &mcp_id);
WARNING:NAKED_SSCANF: unchecked sscanf return value
#412: FILE: drivers/bus/fslmc/fslmc_vfio.c:328:
+ sscanf(temp_obj, "%d", &object_id);
WARNING:SSCANF_TO_KSTRTO: Prefer kstrto<type> to single variable sscanf
#412: FILE: drivers/bus/fslmc/fslmc_vfio.c:328:
+ sscanf(temp_obj, "%d", &object_id);
total: 0 errors, 4 warnings, 560 lines checked
^ permalink raw reply [flat|nested] only message in thread