All of lore.kernel.org
 help / color / mirror / Atom feed
* [ia64:next 31/33] drivers/misc/sgi-xp/xpc_uv.c:165:21: error: missing binary operator before token "
@ 2019-08-16 20:56 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-08-16 20:56 UTC (permalink / raw)
  To: linux-ia64

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

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

only message in thread, other threads:[~2019-08-16 20:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-16 20:56 [ia64:next 31/33] drivers/misc/sgi-xp/xpc_uv.c:165:21: error: missing binary operator before token " kbuild test robot

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.