]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/sched_ext: Add explicit cast from void* in RESIZE_ARRAY()
authorKuba Piecuch <jpiecuch@google.com>
Mon, 13 Apr 2026 15:50:05 +0000 (15:50 +0000)
committerTejun Heo <tj@kernel.org>
Mon, 13 Apr 2026 16:14:11 +0000 (06:14 -1000)
commit7e311bafb9ad3a4711c08c00b09fb7839ada37f0
tree12d99bb75cf0a4f24f9b04fffba12331c3ca5420
parent4615361f0b148c172852590e6245a953cc075b73
tools/sched_ext: Add explicit cast from void* in RESIZE_ARRAY()

This fixes the following compilation error when using the header from
C++ code:

  error: assigning to 'struct scx_flux__data_uei_dump *' from
  incompatible type 'void *'

Signed-off-by: Kuba Piecuch <jpiecuch@google.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/sched_ext/include/scx/common.h