diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-05-04 12:31:00 +0300 |
|---|---|---|
| committer | Jarkko Sakkinen <jarkko@kernel.org> | 2026-06-15 15:19:12 +0300 |
| commit | 8f2e22cfc45903b28bb9c5829a9ddbccc5001ea3 (patch) | |
| tree | 570363067ad851b6dd6f3f6699c7a5b0565a6168 /include/linux/platform_data | |
| parent | 4d05e948cebe03974ab9927daee55273207fdc22 (diff) | |
| download | linux-8f2e22cfc45903b28bb9c5829a9ddbccc5001ea3.tar.xz | |
keys: use kmalloc_flex in user_preparse
Use kmalloc_flex() when allocating a new struct user_key_payload in
user_preparse() to replace the open-coded size arithmetic and to keep
the size type-safe.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://lore.kernel.org/r/20260504093058.49720-3-thorsten.blum@linux.dev
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
