[PATCH] staging:dgnc:Creating and destroying sysfs files properly

kbuild test robot lkp at intel.com
Fri Dec 18 09:50:28 UTC 2015


Hi Salah,

[auto build test WARNING on staging/staging-testing]
[also build test WARNING on v4.4-rc5 next-20151217]

url:    https://github.com/0day-ci/linux/commits/Salah-Triki/staging-dgnc-Creating-and-destroying-sysfs-files-properly/20151218-171643
config: i386-randconfig-i0-201550 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   drivers/staging/dgnc/dgnc_driver.c: In function 'dgnc_init_module':
>> drivers/staging/dgnc/dgnc_driver.c:180:28: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
     dgnc_driver.driver.groups = dgnc_drv_attr_groups;
                               ^
   drivers/staging/dgnc/dgnc_driver.c: In function 'dgnc_init_one':
   drivers/staging/dgnc/dgnc_driver.c:281:19: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
     pdev->dev.groups = dgnc_dev_attr_groups;
                      ^
--
   drivers/staging/dgnc/dgnc_tty.c: In function 'dgnc_tty_init':
>> drivers/staging/dgnc/dgnc_tty.c:370:19: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
       classp->groups = dgnc_tty_attr_groups;
                      ^
   drivers/staging/dgnc/dgnc_tty.c:376:19: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
       classp->groups = dgnc_tty_attr_groups;
                      ^

vim +180 drivers/staging/dgnc/dgnc_driver.c

   164	 */
   165	static int __init dgnc_init_module(void)
   166	{
   167		int rc;
   168	
   169		/*
   170		 * Initialize global stuff
   171		 */
   172		rc = dgnc_start();
   173	
   174		if (rc < 0)
   175			return rc;
   176	
   177		/*
   178		 * Find and configure all the cards
   179		 */
 > 180		dgnc_driver.driver.groups = dgnc_drv_attr_groups;
   181	
   182		rc = pci_register_driver(&dgnc_driver);
   183	
   184		/*
   185		 * If something went wrong in the scan, bail out of driver.
   186		 */
   187		if (rc < 0) {
   188			/* Only unregister if it was actually registered. */

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 24434 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20151218/2aa3d976/attachment-0003.obj>


More information about the devel mailing list