[drm-intel:drm-intel-gt-next 3/48] drivers/gpu/drm/i915/gt/intel_lrc.c:17:28: error: unused function 'dword_in_page'

kernel test robot lkp at intel.com
Fri Jan 8 21:02:00 UTC 2021


tree:   git://anongit.freedesktop.org/drm-intel drm-intel-gt-next
head:   4386b8e5ad71c0fc0b6b6088d7c70dc5d903863a
commit: a0d3fdb628b83e3a24acbf6915ede9359a1ecc2b [3/48] drm/i915/gt: Split logical ring contexts from execlist submission
config: x86_64-randconfig-r011-20210108 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 5c951623bc8965fa1e89660f2f5f4a2944e4981a)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git remote add drm-intel git://anongit.freedesktop.org/drm-intel
        git fetch --no-tags drm-intel drm-intel-gt-next
        git checkout a0d3fdb628b83e3a24acbf6915ede9359a1ecc2b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/gt/intel_lrc.c:17:28: error: unused function 'dword_in_page' [-Werror,-Wunused-function]
   static inline unsigned int dword_in_page(void *addr)
                              ^
   1 error generated.


vim +/dword_in_page +17 drivers/gpu/drm/i915/gt/intel_lrc.c

    16	
  > 17	static inline unsigned int dword_in_page(void *addr)
    18	{
    19		return offset_in_page(addr) / sizeof(u32);
    20	}
    21	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 35949 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20210109/dd43b925/attachment-0001.gz>


More information about the dri-devel mailing list