From: kernel test robot <lkp@intel.com>
To: Brian Norris <briannorris@chromium.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
devel@driverdev.osuosl.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Maxime Ripard <mripard@kernel.org>,
David Gow <davidgow@google.com>
Subject: [driver-core:driver-core-testing 29/29] include/kunit/platform_device.h:15:15: warning: declaration of 'struct completion' will not be visible outside of this function
Date: Tue, 24 Dec 2024 19:37:20 +0800 [thread overview]
Message-ID: <202412241917.orLfjA92-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing
head: 86a5f32ed8813d5534d3d6c77aad29184a9f99b6
commit: 86a5f32ed8813d5534d3d6c77aad29184a9f99b6 [29/29] drivers: base: test: Add ...find_device_by...(... NULL) tests
config: i386-buildonly-randconfig-003-20241224 (https://download.01.org/0day-ci/archive/20241224/202412241917.orLfjA92-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241224/202412241917.orLfjA92-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412241917.orLfjA92-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/base/test/platform-device-test.c:3:
>> include/kunit/platform_device.h:15:15: warning: declaration of 'struct completion' will not be visible outside of this function [-Wvisibility]
15 | struct completion *x);
| ^
1 warning generated.
vim +15 include/kunit/platform_device.h
5ac79730324c6f Stephen Boyd 2024-07-18 12
5ac79730324c6f Stephen Boyd 2024-07-18 13 int kunit_platform_device_prepare_wait_for_probe(struct kunit *test,
5ac79730324c6f Stephen Boyd 2024-07-18 14 struct platform_device *pdev,
5ac79730324c6f Stephen Boyd 2024-07-18 @15 struct completion *x);
5ac79730324c6f Stephen Boyd 2024-07-18 16
:::::: The code at line 15 was first introduced by commit
:::::: 5ac79730324c6f37106ce397586020ffe6e8e234 platform: Add test managed platform_device/driver APIs
:::::: TO: Stephen Boyd <sboyd@kernel.org>
:::::: CC: Stephen Boyd <sboyd@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2024-12-24 11:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-24 11:37 kernel test robot [this message]
2025-01-02 18:39 ` [driver-core:driver-core-testing 29/29] include/kunit/platform_device.h:15:15: warning: declaration of 'struct completion' will not be visible outside of this function Brian Norris
2025-01-03 15:52 ` Greg Kroah-Hartman
2025-01-03 17:49 ` Brian Norris
2025-01-04 8:16 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202412241917.orLfjA92-lkp@intel.com \
--to=lkp@intel.com \
--cc=briannorris@chromium.org \
--cc=davidgow@google.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=llvm@lists.linux.dev \
--cc=mripard@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox