* [dpdk-test-report] |WARNING| [PATCH 11/32] net/dpaa2: add dpaa2 vfio support
[not found] <1480875447-23680-12-git-send-email-hemant.agrawal@nxp.com>
@ 2016-12-04 12:45 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2016-12-04 12:45 UTC (permalink / raw)
To: test-report; +Cc: Hemant Agrawal
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/17643
_coding style issues_
WARNING:NAKED_SSCANF: unchecked sscanf return value
#432: FILE: drivers/net/dpaa2/dpaa2_vfio.c:243:
+ sscanf(temp_obj, "%d", &mcp_id);
WARNING:SSCANF_TO_KSTRTO: Prefer kstrto<type> to single variable sscanf
#432: FILE: drivers/net/dpaa2/dpaa2_vfio.c:243:
+ sscanf(temp_obj, "%d", &mcp_id);
ERROR:PRINTF_0xDECIMAL: Prefixing 0x with decimal output is defective
#469: FILE: drivers/net/dpaa2/dpaa2_vfio.c:280:
+ DPAA2_VFIO_LOG(DEBUG, " DPAA2 MC has VIR_ADD = 0x%ld", v_addr);
WARNING:NAKED_SSCANF: unchecked sscanf return value
#496: FILE: drivers/net/dpaa2/dpaa2_vfio.c:307:
+ sscanf(temp_obj, "%d", &object_id);
WARNING:SSCANF_TO_KSTRTO: Prefer kstrto<type> to single variable sscanf
#496: FILE: drivers/net/dpaa2/dpaa2_vfio.c:307:
+ sscanf(temp_obj, "%d", &object_id);
WARNING:SSCANF_TO_KSTRTO: Prefer kstrto<type> to single variable sscanf
#577: FILE: drivers/net/dpaa2/dpaa2_vfio.c:388:
+ if (sscanf(group_name, "%d", &groupid) != 1) {
+ DPAA2_VFIO_LOG(ERR, " VFIO error reading %s", path);
+ return -errno;
+ }
total: 1 errors, 5 warnings, 0 checks, 560 lines checked
^ permalink raw reply [flat|nested] only message in thread