All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Norris <briannorris@chromium.org>
To: kernel test robot <lkp@intel.com>
Cc: 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: Re: [driver-core:driver-core-testing 29/29] include/kunit/platform_device.h:15:57: warning: 'struct completion' declared inside parameter list will not be visible outside of this definition or declaration
Date: Thu, 2 Jan 2025 10:38:42 -0800	[thread overview]
Message-ID: <Z3bdMogEbi3j7Oj3@google.com> (raw)
In-Reply-To: <202412241958.dbAImJsA-lkp@intel.com>

On Tue, Dec 24, 2024 at 07:16:35PM +0800, kernel test robot wrote:
> All warnings (new ones prefixed by >>):
> 
>    In file included from drivers/base/test/platform-device-test.c:3:
> >> 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);
>          |                                                         ^~~~~~~~~~
> 
> 
> 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

For the record, I already patched this here:

https://lore.kernel.org/lkml/20241213180841.3023843-1-briannorris@chromium.org/
Subject: [PATCH] kunit: platform: Resolve 'struct completion' warning

That patch is still pending though.

Brian

      reply	other threads:[~2025-01-02 18:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-24 11:16 [driver-core:driver-core-testing 29/29] include/kunit/platform_device.h:15:57: warning: 'struct completion' declared inside parameter list will not be visible outside of this definition or declaration kernel test robot
2025-01-02 18:38 ` Brian Norris [this message]

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=Z3bdMogEbi3j7Oj3@google.com \
    --to=briannorris@chromium.org \
    --cc=davidgow@google.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=lkp@intel.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.