diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-04-09 20:15:55 +0300 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2026-06-17 13:28:11 +0300 |
| commit | e7fc971825608d6b3861e0bfef9965c3ae7c0d86 (patch) | |
| tree | 90c34a0afc1a0f041ec49c0130b1133bc0353577 /include/linux/debugobjects.h | |
| parent | 26e15f2558f66b6747ef981df8054d0d92d01b60 (diff) | |
| download | linux-e7fc971825608d6b3861e0bfef9965c3ae7c0d86.tar.xz | |
leds: qcom-lpg: Allocate channels with main struct
Use a flexible array member to combine kzalloc and kcalloc. This
required moving the struct lpg_channel definition up as flexible array
members require a full definition.
Add __counted_by for extra runtime analysis.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260409171555.14580-1-rosenp@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
