dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [radeon-alex:amd-mainline-dkms-5.4 1212/2653] include/kcl/kcl_bitops.h:10:3: error: #error "Unexpected BITS_PER_LONG"
@ 2020-03-13  1:28 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-03-13  1:28 UTC (permalink / raw)
  To: Le.Ma; +Cc: Flora Cui, kbuild-all, Jack Gui, dri-devel

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

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 <lkp@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-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 50150 bytes --]

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

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

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

only message in thread, other threads:[~2020-03-13  1:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-13  1:28 [radeon-alex:amd-mainline-dkms-5.4 1212/2653] include/kcl/kcl_bitops.h:10:3: error: #error "Unexpected BITS_PER_LONG" kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).