lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202108100049.IM2RTwMg-lkp@intel.com>
Date:   Tue, 10 Aug 2021 00:21:58 +0800
From:   kernel test robot <lkp@...el.com>
To:     Jacopo Mondi <jacopo+renesas@...ndi.org>
Cc:     clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Hans Verkuil <hverkuil@...all.nl>
Subject: [hverkuil-media:for-v5.15h 3/6]
 drivers/media/v4l2-core/v4l2-async.c:300:4: error: implicit declaration of
 function 'v4l2_async_notifier_call_unbind'

tree:   git://linuxtv.org/hverkuil/media_tree.git for-v5.15h
head:   9e8ab45126fe00e7f814344657d6e82a02e1982f
commit: 2b5f8be6ab6dadeaca7c8c7939258fe90c4714c1 [3/6] media: v4l2-async: Call post_register() subdev op
config: hexagon-buildonly-randconfig-r004-20210809 (attached as .config)
compiler: clang version 12.0.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add hverkuil-media git://linuxtv.org/hverkuil/media_tree.git
        git fetch --no-tags hverkuil-media for-v5.15h
        git checkout 2b5f8be6ab6dadeaca7c8c7939258fe90c4714c1
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=hexagon 

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

All errors (new ones prefixed by >>):

>> drivers/media/v4l2-core/v4l2-async.c:300:4: error: implicit declaration of function 'v4l2_async_notifier_call_unbind' [-Werror,-Wimplicit-function-declaration]
                           v4l2_async_notifier_call_unbind(notifier, sd, sd->asd);
                           ^
   drivers/media/v4l2-core/v4l2-async.c:300:4: note: did you mean 'v4l2_async_nf_call_unbind'?
   drivers/media/v4l2-core/v4l2-async.c:37:13: note: 'v4l2_async_nf_call_unbind' declared here
   static void v4l2_async_nf_call_unbind(struct v4l2_async_notifier *n,
               ^
   1 error generated.


vim +/v4l2_async_notifier_call_unbind +300 drivers/media/v4l2-core/v4l2-async.c

   277	
   278	static int v4l2_async_match_notify(struct v4l2_async_notifier *notifier,
   279					   struct v4l2_device *v4l2_dev,
   280					   struct v4l2_subdev *sd,
   281					   struct v4l2_async_subdev *asd)
   282	{
   283		struct v4l2_async_notifier *subdev_notifier;
   284		int ret;
   285	
   286		ret = v4l2_device_register_subdev(v4l2_dev, sd);
   287		if (ret < 0)
   288			return ret;
   289	
   290		ret = v4l2_async_nf_call_bound(notifier, sd, asd);
   291		if (ret < 0) {
   292			v4l2_device_unregister_subdev(sd);
   293			return ret;
   294		}
   295	
   296		if (!(notifier->flags & V4L2_ASYNC_NOTIFIER_DEFER_POST_REGISTER) &&
   297		    sd->ops->core && sd->ops->core->post_register) {
   298			ret = sd->ops->core->post_register(sd);
   299			if (ret) {
 > 300				v4l2_async_notifier_call_unbind(notifier, sd, sd->asd);
   301				v4l2_device_unregister_subdev(sd);
   302				return ret;
   303			}
   304		}
   305	
   306		/* Remove from the waiting list */
   307		list_del(&asd->list);
   308		sd->asd = asd;
   309		sd->notifier = notifier;
   310	
   311		/* Move from the global subdevice list to notifier's done */
   312		list_move(&sd->async_list, &notifier->done);
   313	
   314		/*
   315		 * See if the sub-device has a notifier. If not, return here.
   316		 */
   317		subdev_notifier = v4l2_async_find_subdev_notifier(sd);
   318		if (!subdev_notifier || subdev_notifier->parent)
   319			return 0;
   320	
   321		/*
   322		 * Proceed with checking for the sub-device notifier's async
   323		 * sub-devices, and return the result. The error will be handled by the
   324		 * caller.
   325		 */
   326		subdev_notifier->parent = notifier;
   327	
   328		return v4l2_async_nf_try_all_subdevs(subdev_notifier);
   329	}
   330	

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

Download attachment ".config.gz" of type "application/gzip" (27564 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ