diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-03-17 06:14:58 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-04-02 16:55:01 +0300 |
| commit | 8ca3d3b1c3383f5f23efe01c3fd9113ed06007bd (patch) | |
| tree | 5e73c15969c2b94a3b9f2e7f26b5a71694027222 /include/linux/xarray.h | |
| parent | 41837c1deaa1c5f4adc02ecbd77fe6e3adb7150c (diff) | |
| download | linux-8ca3d3b1c3383f5f23efe01c3fd9113ed06007bd.tar.xz | |
greybus: svc: use kzalloc_flex
Avoid manual sizeof math by using the proper helper.
Also use struct_size for the buffer size.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260317031458.93315-1-rosenp@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/xarray.h')
0 files changed, 0 insertions, 0 deletions
