From: kernel test robot <lkp@intel.com>
To: Corentin Labbe <clabbe@baylibre.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org, Hans Verkuil <hverkuil@xs4all.nl>
Subject: [hverkuil-media-tree:zoran 4/11] drivers/staging/media/zoran/zoran_card.c:948:31: error: no member named 'dbgfs_dir' in 'struct zoran'
Date: Wed, 27 Oct 2021 15:47:45 +0800 [thread overview]
Message-ID: <202110271535.LD2Eo5TT-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3442 bytes --]
tree: git://linuxtv.org/hverkuil/media_tree.git zoran
head: 9d8bc57f18d295b7358d527503eb01770c420143
commit: 33d785015464d1f9bd4ceb885de0f6c4742b41f1 [4/11] staging: media: zoran: add debugfs
config: riscv-randconfig-r032-20211027 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5db7568a6a1fcb408eb8988abdaff2a225a8eb72)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
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
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv 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:948:31: error: no member named 'dbgfs_dir' in 'struct zoran'
debugfs_remove_recursive(zr->dbgfs_dir);
~~ ^
drivers/staging/media/zoran/zoran_card.c:1141:46: warning: implicit conversion from 'unsigned long long' to 'unsigned int' changes value from 18446744073709551615 to 4294967295 [-Wconstant-conversion]
vb2_dma_contig_set_max_seg_size(&pdev->dev, DMA_BIT_MASK(32));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
include/linux/dma-mapping.h:76:40: note: expanded from macro 'DMA_BIT_MASK'
#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
^~~~~
1 warning and 1 error generated.
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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31337 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [hverkuil-media-tree:zoran 4/11] drivers/staging/media/zoran/zoran_card.c:948:31: error: no member named 'dbgfs_dir' in 'struct zoran'
Date: Wed, 27 Oct 2021 15:47:45 +0800 [thread overview]
Message-ID: <202110271535.LD2Eo5TT-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3521 bytes --]
tree: git://linuxtv.org/hverkuil/media_tree.git zoran
head: 9d8bc57f18d295b7358d527503eb01770c420143
commit: 33d785015464d1f9bd4ceb885de0f6c4742b41f1 [4/11] staging: media: zoran: add debugfs
config: riscv-randconfig-r032-20211027 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5db7568a6a1fcb408eb8988abdaff2a225a8eb72)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
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
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv 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:948:31: error: no member named 'dbgfs_dir' in 'struct zoran'
debugfs_remove_recursive(zr->dbgfs_dir);
~~ ^
drivers/staging/media/zoran/zoran_card.c:1141:46: warning: implicit conversion from 'unsigned long long' to 'unsigned int' changes value from 18446744073709551615 to 4294967295 [-Wconstant-conversion]
vb2_dma_contig_set_max_seg_size(&pdev->dev, DMA_BIT_MASK(32));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
include/linux/dma-mapping.h:76:40: note: expanded from macro 'DMA_BIT_MASK'
#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
^~~~~
1 warning and 1 error generated.
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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31337 bytes --]
next reply other threads:[~2021-10-27 7:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-27 7:47 kernel test robot [this message]
2021-10-27 7:47 ` [hverkuil-media-tree:zoran 4/11] drivers/staging/media/zoran/zoran_card.c:948:31: error: no member named 'dbgfs_dir' in 'struct zoran' kernel test robot
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=202110271535.LD2Eo5TT-lkp@intel.com \
--to=lkp@intel.com \
--cc=clabbe@baylibre.com \
--cc=hverkuil@xs4all.nl \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@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.