[ia64:next 31/33] drivers/misc/sgi-xp/xpc_uv.c:165:21: error: missing binary operator before token "CONFIG_IA64_SGI_UV"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux