dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Le.Ma" <Le.Ma@amd.com>
Cc: Flora Cui <flora.cui@amd.com>,
	kbuild-all@lists.01.org, Jack Gui <Jack.Gui@amd.com>,
	dri-devel@lists.freedesktop.org
Subject: [radeon-alex:amd-mainline-dkms-5.4 1212/2653] include/kcl/kcl_bitops.h:10:3: error: #error "Unexpected BITS_PER_LONG"
Date: Fri, 13 Mar 2020 09:28:04 +0800	[thread overview]
Message-ID: <202003130902.P4Ete8OE%lkp@intel.com> (raw)

[-- 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

                 reply	other threads:[~2020-03-13  1:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202003130902.P4Ete8OE%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Jack.Gui@amd.com \
    --cc=Le.Ma@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=flora.cui@amd.com \
    --cc=kbuild-all@lists.01.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox