diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-05-14 19:56:03 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-05-29 07:24:58 +0300 |
| commit | 685568777c5a18fbc40bd0b64527fd9444c255be (patch) | |
| tree | f61575a8c1612191df1aec2a610caae152e3c446 /scripts/stackusage | |
| parent | 2e73ea35a5dbe7e258b7fd396bcb100fa154f029 (diff) | |
| download | linux-685568777c5a18fbc40bd0b64527fd9444c255be.tar.xz | |
string: use min in sized_strscpy
Use min() and drop the limit variable to simplify sized_strscpy().
Link: https://lore.kernel.org/20260514165601.527883-3-thorsten.blum@linux.dev
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Cc: Andy Shevchenko <andy@kernel.org>
Cc: Kees Cook <kees@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
