All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: linux-ia64@vger.kernel.org
Subject: [ia64:next 31/33] drivers/misc/sgi-xp/xpc_uv.c:165:21: error: missing binary operator before token "
Date: Fri, 16 Aug 2019 20:56:34 +0000	[thread overview]
Message-ID: <201908170430.HHdz1347%lkp@intel.com> (raw)

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

tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/aegl/linux.git next
head:   6235bf24e416c9887de15eff014870ca1843cabc
commit: eeb88e4b6d6efe89d6795590e011dd9260a9e0b5 [31/33] ia64: remove support for machvecs
config: x86_64-rhel (attached as .config)
compiler: gcc-7 (Debian 7.4.0-10) 7.4.0
reproduce:
        git checkout eeb88e4b6d6efe89d6795590e011dd9260a9e0b5
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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

All errors (new ones prefixed by >>):

   drivers/misc/sgi-xp/xpc_uv.c: In function 'xpc_gru_mq_watchlist_alloc_uv':
>> drivers/misc/sgi-xp/xpc_uv.c:165:21: error: missing binary operator before token "CONFIG_IA64_SGI_UV"
    #if defined defined CONFIG_IA64_SGI_UV
                        ^~~~~~~~~~~~~~~~~~

vim +/CONFIG_IA64_SGI_UV +165 drivers/misc/sgi-xp/xpc_uv.c

   159	
   160	static int
   161	xpc_gru_mq_watchlist_alloc_uv(struct xpc_gru_mq_uv *mq)
   162	{
   163		int ret;
   164	
 > 165	#if defined defined CONFIG_IA64_SGI_UV
   166		int mmr_pnode = uv_blade_to_pnode(mq->mmr_blade);
   167	
   168		ret = sn_mq_watchlist_alloc(mmr_pnode, (void *)uv_gpa(mq->address),
   169					    mq->order, &mq->mmr_offset);
   170		if (ret < 0) {
   171			dev_err(xpc_part, "sn_mq_watchlist_alloc() failed, ret=%d\n",
   172				ret);
   173			return -EBUSY;
   174		}
   175	#elif defined CONFIG_X86_64
   176		ret = uv_bios_mq_watchlist_alloc(uv_gpa(mq->address),
   177						 mq->order, &mq->mmr_offset);
   178		if (ret < 0) {
   179			dev_err(xpc_part, "uv_bios_mq_watchlist_alloc() failed, "
   180				"ret=%d\n", ret);
   181			return ret;
   182		}
   183	#else
   184		#error not a supported configuration
   185	#endif
   186	
   187		mq->watchlist_num = ret;
   188		return 0;
   189	}
   190	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

                 reply	other threads:[~2019-08-16 20:56 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=201908170430.HHdz1347%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-ia64@vger.kernel.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 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.