tree:   git://people.freedesktop.org/~agd5f/linux.git amd-mainline-dkms-5.4
head:   fa14e19bd78eecca201da26d22c7b95ee06769c6
commit: 9e7eb67ba35568772b9f1d1d0f4978b92f712a52 [1212/2653] drm/amdkcl: [4.12] 
Reserve flip_flags for display usage
config: c6x-allyesconfig (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.2.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 9e7eb67ba35568772b9f1d1d0f4978b92f712a52
        # save the attached .config to linux build tree
        GCC_VERSION=9.2.0 make.cross ARCH=c6x 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <l...@intel.com>

All error/warnings (new ones prefixed by >>):

   In file included from <command-line>:
>> include/kcl/kcl_bitops.h:5:5: warning: "BITS_PER_LONG" is not defined, 
>> evaluates to 0 [-Wundef]
       5 | #if BITS_PER_LONG == 32
         |     ^~~~~~~~~~~~~
   include/kcl/kcl_bitops.h:7:7: warning: "BITS_PER_LONG" is not defined, 
evaluates to 0 [-Wundef]
       7 | #elif BITS_PER_LONG == 64
         |       ^~~~~~~~~~~~~
>> include/kcl/kcl_bitops.h:10:3: error: #error "Unexpected BITS_PER_LONG"
      10 | # error "Unexpected BITS_PER_LONG"
         |   ^~~~~

vim +10 include/kcl/kcl_bitops.h

     3  
     4  #ifndef _BITOPS_LONG_SHIFT
   > 5  #if BITS_PER_LONG == 32
     6  # define _BITOPS_LONG_SHIFT 5
     7  #elif BITS_PER_LONG == 64
     8  # define _BITOPS_LONG_SHIFT 6
     9  #else
  > 10  # error "Unexpected BITS_PER_LONG"
    11  #endif
    12  #endif
    13  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to