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 22:18:30 +0900 |
| commit | 040ae6fe19ae619e8c0d2489ae100f9e434391ce (patch) | |
| tree | e061bd6e7f95027f345c1159e74bd3b410de8a02 /drivers/memory | |
| parent | adcc279ef832c40bfc1229a4d932dea0e5d2b8a5 (diff) | |
| download | linux-next-040ae6fe19ae619e8c0d2489ae100f9e434391ce.tar.gz linux-next-040ae6fe19ae619e8c0d2489ae100f9e434391ce.zip | |
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 'drivers/memory')
0 files changed, 0 insertions, 0 deletions
