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

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

 



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

Attachment: .config.gz
Description: Binary data

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux