diff options
| author | Qianfeng Rong <rongqianfeng@vivo.com> | 2025-08-12 11:53:04 +0800 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-10-14 15:07:36 +0200 |
| commit | e2b0d6906a3e1b2d112996c5f891510947cb9c99 (patch) | |
| tree | 86b3b8bed1cade60c787bc0338bcf7ffcef5a776 /include/linux/debugobjects.h | |
| parent | 1772b7f8045b703befc947da02b3c2620dea64fe (diff) | |
media: vivid: use vmalloc_array and vcalloc to simplify code
Remove array_size() calls and replace vmalloc(array_size()) with
vmalloc_array() and vzalloc(array_size()) with vcalloc() to simplify
the code.
Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
