summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2024-12-13 21:08:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-03 18:53:08 +0300
commit7687c66c18c66d4ccd9949c6f641c0e7b5773483 (patch)
treef20d952782215eeb5af2152c6db47663293b8376 /scripts/lib/kdoc/kdoc_files.py
parentcf7da549cf7235ea6c5b29cc547a05dbdeb3ef08 (diff)
downloadlinux-7687c66c18c66d4ccd9949c6f641c0e7b5773483.tar.xz
kunit: platform: Resolve 'struct completion' warning
If the <kunit/platform_device.h> header is included in a test without certain other headers, it produces compiler warnings like: In file included from [...] ../include/kunit/platform_device.h:15:57: warning: ‘struct completion’ declared inside parameter list will not be visible outside of this definition or declaration 15 | struct completion *x); | ^~~~~~~~~~ Add a 'struct completion' forward declaration to resolve this. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202412241958.dbAImJsA-lkp@intel.com/ Signed-off-by: Brian Norris <briannorris@chromium.org> Reviewed-by: David Gow <davidgow@google.com> Link: https://lore.kernel.org/r/20241213180841.3023843-1-briannorris@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions