Re: [PATCH] staging: sm750fb: fix function definition argument style warning

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

 



Hi Andrea,

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on next-20161125]
[cannot apply to v4.9-rc6]
[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/Andrea-Ghittino/staging-sm750fb-fix-function-definition-argument-style-warning/20161128-004817
config: i386-allmodconfig (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=i386 

All errors (new ones prefixed by >>):

   In file included from drivers/staging/sm750fb/sm750.c:18:0:
>> drivers/staging/sm750fb/sm750.h:187:49: error: expected declaration specifiers or '...' before ',' token
    int hw_sm750_inithw(struct sm750_dev *sm750_dev,, struct pci_dev *pdev);
                                                    ^
   drivers/staging/sm750fb/sm750.c: In function 'lynxfb_resume':
>> drivers/staging/sm750fb/sm750.c:475:2: error: implicit declaration of function 'hw_sm750_inithw' [-Werror=implicit-function-declaration]
     hw_sm750_inithw(sm750_dev, pdev);
     ^~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
--
   In file included from drivers/staging/sm750fb/sm750_hw.c:22:0:
>> drivers/staging/sm750fb/sm750.h:187:49: error: expected declaration specifiers or '...' before ',' token
    int hw_sm750_inithw(struct sm750_dev *sm750_dev,, struct pci_dev *pdev);
                                                    ^

vim +187 drivers/staging/sm750fb/sm750.h

   181		/* 10^12 / picosecond period gives frequency in Hz */
   182		do_div(numerator, psvalue);
   183		return (unsigned long)numerator;
   184	}
   185	
   186	int hw_sm750_map(struct sm750_dev *sm750_dev, struct pci_dev *pdev);
 > 187	int hw_sm750_inithw(struct sm750_dev *sm750_dev,, struct pci_dev *pdev);
   188	void hw_sm750_initAccel(struct sm750_dev *sm750_dev);
   189	int hw_sm750_deWait(void);
   190	int hw_sm750le_deWait(void);

---
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]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Tourism]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux