lkml.org 
[lkml]   [2021]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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@intel.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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-10-27 08:16    [W:0.319 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site