All of lore.kernel.org
 help / color / mirror / Atom feed
* [rcar:vsp1/v3u 13/23] drivers/media/v4l2-core/v4l2-async.c:777:5: sparse: sparse: symbol 'v4l2_async_pending_devices' was not declared. Should it be
@ 2021-03-17 15:57 kernel test robot
  2021-03-17 15:57 ` [RFC PATCH rcar] WIP: v4l2_async_pending_devices() can be static kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-03-17 15:57 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1373 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git vsp1/v3u
head:   178de9aa2b539612048856e54a292efda80f41c1
commit: fb68cc895bd671aa7d0b1cf67f873edb9b2a3f2e [13/23] WIP: Add async notifier state debug
config: x86_64-randconfig-s022-20210317 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-277-gc089cd2d-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git/commit/?id=fb68cc895bd671aa7d0b1cf67f873edb9b2a3f2e
        git remote add rcar https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git
        git fetch --no-tags rcar vsp1/v3u
        git checkout fb68cc895bd671aa7d0b1cf67f873edb9b2a3f2e
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> drivers/media/v4l2-core/v4l2-async.c:777:5: sparse: sparse: symbol 'v4l2_async_pending_devices' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38118 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [RFC PATCH rcar] WIP: v4l2_async_pending_devices() can be static
  2021-03-17 15:57 [rcar:vsp1/v3u 13/23] drivers/media/v4l2-core/v4l2-async.c:777:5: sparse: sparse: symbol 'v4l2_async_pending_devices' was not declared. Should it be kernel test robot
@ 2021-03-17 15:57 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-03-17 15:57 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 746 bytes --]


Fixes: fb68cc895bd6 ("WIP: Add async notifier state debug")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
 v4l2-async.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/v4l2-core/v4l2-async.c b/drivers/media/v4l2-core/v4l2-async.c
index 65309d93c34acd..3e7d8654e7e765 100644
--- a/drivers/media/v4l2-core/v4l2-async.c
+++ b/drivers/media/v4l2-core/v4l2-async.c
@@ -774,7 +774,7 @@ int v4l2_async_register_subdev(struct v4l2_subdev *sd)
 EXPORT_SYMBOL(v4l2_async_register_subdev);
 
 
-int v4l2_async_pending_devices(void)
+static int v4l2_async_pending_devices(void)
 {
 	struct v4l2_async_notifier *notifier;
 	struct v4l2_subdev *sd;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-17 15:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-17 15:57 [rcar:vsp1/v3u 13/23] drivers/media/v4l2-core/v4l2-async.c:777:5: sparse: sparse: symbol 'v4l2_async_pending_devices' was not declared. Should it be kernel test robot
2021-03-17 15:57 ` [RFC PATCH rcar] WIP: v4l2_async_pending_devices() can be static kernel test robot

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.