diff options
| author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-09-28 21:57:15 +0900 |
|---|---|---|
| committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-09-28 21:57:15 +0900 |
| commit | 8fa3077dff05084a140d75fe0f7827adc9f541c8 (patch) | |
| tree | f2916c6d420ac4c781a3ba5f3d2d12a70401ece5 /tools/lib/python/kdoc | |
| parent | 930960ee371ed37f96b6d4c39617a55a680f3698 (diff) | |
firewire: core: use kzalloc_flex() to allocate structure with quadlet array
fw_core_handle_request() is now called in process context, so GFP_KERNEL
is available. The fw_request structure has a trailing flexible array
member of quadlets to store packet data. Use kzalloc_flex() to allocate
the structure together with storage for the flexible array member.
Link: https://lore.kernel.org/r/20260928125718.50974-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
