Re: [PATCH] staging: xgifb: function definition argument should have an identifier name

From: kbuild test robot
Date: Tue Feb 21 2017 - 15:51:54 EST


Hi Arushi,

[auto build test ERROR on v4.9-rc8]
[cannot apply to staging/staging-testing next-20170220]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Arushi-Singhal/staging-xgifb-function-definition-argument-should-have-an-identifier-name/20170222-031312
config: x86_64-randconfig-ne0-02220257 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

In file included from drivers/staging/xgifb/XGI_main_26.c:16:0:
>> drivers/staging/xgifb/vb_setmode.h:11:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
pVBInfo->VBInfo = DisableCRT2Display;
^~

vim +11 drivers/staging/xgifb/vb_setmode.h

5 void XGI_UnLockCRT2(struct vb_device_info *pVBInfo);
6 void XGI_LockCRT2(struct vb_device_info *pVBInfo);
7 void XGI_DisplayOff(struct xgifb_video_info *xgifb_info,
8 struct xgi_hw_device_info *pXGIHWDE,
9 struct vb_device_info *pVBInfo);
10 void XGI_GetVBType(struct vb_device_info *pVBInfo);
> 11 pVBInfo->VBInfo = DisableCRT2Display;
12 void XGI_SenseCRT1(struct vb_device_info *pVBInfo);
13 unsigned char XGISetModeNew(struct xgifb_video_info *xgifb_info,
14 struct xgi_hw_device_info *HwDeviceExtension,

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

Attachment: .config.gz
Description: application/gzip