All of lore.kernel.org
 help / color / mirror / Atom feed
* [chrome-os:chromeos-5.4 21495/22036] drivers/dma-buf/st-dma-fence-chain.c:63:4: error: unused function 'to_mock_chain'
@ 2020-12-26 20:02 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-26 20:02 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head:   02b38b2f118562d665200b946f53cb85eb05fe7f
commit: ffc780af9e344bb2b74afcff754edd2cd91065c3 [21495/22036] UPSTREAM: dma-buf: Exercise dma-fence-chain under selftests
config: powerpc64-randconfig-r003-20201224 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project cee1e7d14f4628d6174b33640d502bff3b54ae45)
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 powerpc64 cross compiling tool for clang build
        # apt-get install binutils-powerpc64-linux-gnu
        git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
        git fetch --no-tags chrome-os chromeos-5.4
        git checkout ffc780af9e344bb2b74afcff754edd2cd91065c3
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64 

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/dma-buf/st-dma-fence-chain.c:63:4: error: unused function 'to_mock_chain' [-Werror,-Wunused-function]
   } *to_mock_chain(struct dma_fence *f) {
      ^
   1 error generated.


vim +/to_mock_chain +63 drivers/dma-buf/st-dma-fence-chain.c

    60	
    61	static inline struct mock_chain {
    62		struct dma_fence_chain base;
  > 63	} *to_mock_chain(struct dma_fence *f) {
    64		return container_of(f, struct mock_chain, base.base);
    65	}
    66	

---
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: 26944 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-26 20:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-26 20:02 [chrome-os:chromeos-5.4 21495/22036] drivers/dma-buf/st-dma-fence-chain.c:63:4: error: unused function 'to_mock_chain' 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.