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: <202110271422.a9qW0RZY-lkp@intel.com>
Date:   Wed, 27 Oct 2021 14:15:30 +0800
From:   kernel test robot <lkp@...el.com>
To:     Corentin Labbe <clabbe@...libre.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Hans Verkuil <hverkuil@...all.nl>
Subject: [hverkuil-media-tree:zoran 4/11]
 drivers/staging/media/zoran/zoran_card.c:948:29: error: 'struct zoran' has
 no member named 'dbgfs_dir'

tree:   git://linuxtv.org/hverkuil/media_tree.git zoran
head:   9d8bc57f18d295b7358d527503eb01770c420143
commit: 33d785015464d1f9bd4ceb885de0f6c4742b41f1 [4/11] staging: media: zoran: add debugfs
config: i386-randconfig-a011-20211027 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        git remote add hverkuil-media-tree git://linuxtv.org/hverkuil/media_tree.git
        git fetch --no-tags hverkuil-media-tree zoran
        git checkout 33d785015464d1f9bd4ceb885de0f6c4742b41f1
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/staging/media/zoran/

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/staging/media/zoran/zoran_card.c: In function 'zoran_remove':
>> drivers/staging/media/zoran/zoran_card.c:948:29: error: 'struct zoran' has no member named 'dbgfs_dir'
     948 |  debugfs_remove_recursive(zr->dbgfs_dir);
         |                             ^~


vim +948 drivers/staging/media/zoran/zoran_card.c

   939	
   940	static void zoran_remove(struct pci_dev *pdev)
   941	{
   942		struct v4l2_device *v4l2_dev = dev_get_drvdata(&pdev->dev);
   943		struct zoran *zr = to_zoran(v4l2_dev);
   944	
   945		if (!zr->initialized)
   946			goto exit_free;
   947	
 > 948		debugfs_remove_recursive(zr->dbgfs_dir);
   949	
   950		zoran_queue_exit(zr);
   951	
   952		/* unregister videocodec bus */
   953		if (zr->codec)
   954			videocodec_detach(zr->codec);
   955		if (zr->vfe)
   956			videocodec_detach(zr->vfe);
   957	
   958		/* unregister i2c bus */
   959		zoran_unregister_i2c(zr);
   960		/* disable PCI bus-mastering */
   961		zoran_set_pci_master(zr, 0);
   962		/* put chip into reset */
   963		btwrite(0, ZR36057_SPGPPCR);
   964		pci_free_irq(zr->pci_dev, 0, zr);
   965		/* unmap and free memory */
   966		dma_free_coherent(&zr->pci_dev->dev, BUZ_NUM_STAT_COM * sizeof(u32), zr->stat_com, zr->p_sc);
   967		dma_free_coherent(&zr->pci_dev->dev, BUZ_NUM_STAT_COM * sizeof(u32) * 2, zr->stat_comb, zr->p_scb);
   968		pci_release_regions(pdev);
   969		pci_disable_device(zr->pci_dev);
   970		video_unregister_device(zr->video_dev);
   971	exit_free:
   972		v4l2_ctrl_handler_free(&zr->hdl);
   973		v4l2_device_unregister(&zr->v4l2_dev);
   974	}
   975	

---
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" (32554 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ