diff options
| author | Dan Carpenter <[email protected]> | 2023-07-27 10:12:58 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-08-08 17:41:52 -0400 |
| commit | be5f9a77f8bc83a3f93d26a50acc047d2bbee908 (patch) | |
| tree | 032c0ee471ae53f081bd2976d6fd524e2e2ee523 /scripts/checkpatch.pl | |
| parent | bb34bc0c96168857d6b5127d3487223b0ea8cfa5 (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
