|WARNING| pw167264 [PATCH] bus/platform: match device by devicetree compatible string
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Aug 6 11:22:26 CEST 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/167264
_coding style issues_
WARNING:TYPO_SPELLING: 'clen' may be misspelled - perhaps 'clean'?
#98: FILE: drivers/bus/platform/platform.c:246:
+ size_t clen;
^^^^
WARNING:TYPO_SPELLING: 'clen' may be misspelled - perhaps 'clean'?
#106: FILE: drivers/bus/platform/platform.c:254:
+ clen = strlen(compat);
^^^^
WARNING:TYPO_SPELLING: 'clen' may be misspelled - perhaps 'clean'?
#107: FILE: drivers/bus/platform/platform.c:255:
+ if (clen >= 2 && compat[0] == '"' && compat[clen - 1] == '"') {
^^^^
WARNING:TYPO_SPELLING: 'clen' may be misspelled - perhaps 'clean'?
#107: FILE: drivers/bus/platform/platform.c:255:
+ if (clen >= 2 && compat[0] == '"' && compat[clen - 1] == '"') {
^^^^
WARNING:TYPO_SPELLING: 'clen' may be misspelled - perhaps 'clean'?
#108: FILE: drivers/bus/platform/platform.c:256:
+ clen -= 2;
^^^^
WARNING:TYPO_SPELLING: 'clen' may be misspelled - perhaps 'clean'?
#109: FILE: drivers/bus/platform/platform.c:257:
+ if (clen >= sizeof(want))
^^^^
WARNING:TYPO_SPELLING: 'clen' may be misspelled - perhaps 'clean'?
#110: FILE: drivers/bus/platform/platform.c:258:
+ clen = sizeof(want) - 1;
^^^^
WARNING:TYPO_SPELLING: 'clen' may be misspelled - perhaps 'clean'?
#111: FILE: drivers/bus/platform/platform.c:259:
+ memcpy(want, compat + 1, clen);
^^^^
WARNING:TYPO_SPELLING: 'clen' may be misspelled - perhaps 'clean'?
#112: FILE: drivers/bus/platform/platform.c:260:
+ want[clen] = '';
^^^^
total: 0 errors, 9 warnings, 85 lines checked
More information about the test-report
mailing list