summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-05-08 08:20:56 +0300
committerLyude Paul <lyude@redhat.com>2026-05-08 21:55:35 +0300
commit1307a5a1eac20aacf32495491f28c32c0a419dc9 (patch)
tree8db860cc9820120881998a406dabef2b084a7f4a /include/linux/timerqueue.h
parentcf0ba1ad1439f6d19b1e9e15ec0189cd4dd1b167 (diff)
downloadlinux-1307a5a1eac20aacf32495491f28c32c0a419dc9.tar.xz
drm/nouveau/gsp: Use kzalloc_flex() for r535 display funcs
struct nvkm_disp_func ends with the user flexible array member. Allocate the r535 display function table with kzalloc_flex() instead of open-coding the size calculation with sizeof(). Assisted-by: Codex:GPT-5.5 Signed-off-by: Rosen Penev <rosenp@gmail.com> Reviewed-by: Lyude Paul <lyude@redhat.com> [dropped nothing-burger sentence from commit message] Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patch.msgid.link/20260508052056.1744665-1-rosenp@gmail.com
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions