summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-07-27 10:12:58 +0300
committerTom Rini <[email protected]>2023-08-08 17:41:52 -0400
commitbe5f9a77f8bc83a3f93d26a50acc047d2bbee908 (patch)
tree032c0ee471ae53f081bd2976d6fd524e2e2ee523 /scripts/checkpatch.pl
parentbb34bc0c96168857d6b5127d3487223b0ea8cfa5 (diff)
test: unicode: fix a sizeof() vs ARRAY_SIZE() bug
The u16_strlcat() is in units of u16 not bytes. So the limit needs to be ARRAY_SIZE() instead of sizeof(). Signed-off-by: Dan Carpenter <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions