]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dmaengine: dmatest: split struct dmatest_info from variable declaration
authorRosen Penev <rosenp@gmail.com>
Sat, 30 May 2026 20:03:22 +0000 (13:03 -0700)
committerVinod Koul <vkoul@kernel.org>
Mon, 8 Jun 2026 11:32:21 +0000 (17:02 +0530)
commit87aab0781cb35baa2214d0a95ff01e786e428226
tree9fe9d39d39ebabad0498068dbdd24c93a1f58421
parent4e351f408743354d54ee1af5193fc78234f2044e
dmaengine: dmatest: split struct dmatest_info from variable declaration

Combining the struct definition with its variable initializer confuses the
kernel-doc parser because __MUTEX_INITIALIZER() expands to contain braces,
breaking brace counting and causing:

  Warning: drivers/dma/dmatest.c:152 struct member '' not described in 'dmatest_info'

Split into separate struct definition and variable declaration, which is
the standard kernel pattern.

Assisted-by: Opencode:Big-pickle
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260530200322.7584-1-rosenp@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dmatest.c