* [dpdk-test-report] |WARNING| pw19582 [PATCHv4 11/33] bus/fslmc: add vfio support
[not found] <1484679174-4174-12-git-send-email-hemant.agrawal@nxp.com>
@ 2017-01-17 13:20 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-01-17 13:20 UTC (permalink / raw)
To: test-report; +Cc: Hemant Agrawal
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/19582
_coding style issues_
WARNING:NAKED_SSCANF: unchecked sscanf return value
#479: 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
#479: FILE: drivers/bus/fslmc/fslmc_vfio.c:265:
+ sscanf(temp_obj, "%d", &mcp_id);
WARNING:NAKED_SSCANF: unchecked sscanf return value
#542: 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
#542: FILE: drivers/bus/fslmc/fslmc_vfio.c:328:
+ sscanf(temp_obj, "%d", &object_id);
total: 0 errors, 4 warnings, 576 lines checked
^ permalink raw reply [flat|nested] only message in thread