Re: [PATCH 1/1] Support for CMedia CM6533 HID audio jack controls.

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

 



Hi Ben,

[auto build test WARNING on hid/for-next]
[also build test WARNING on v4.4-rc5 next-20151214]

url:    https://github.com/0day-ci/linux/commits/Ben-Chen/Support-for-CMedia-CM6533-HID-audio-jack-controls/20151215-153958
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-next
config: x86_64-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> drivers/hid/hid-cm6533.c:162:22: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
     .input_configured = cmhid_input_configured,
                         ^
   drivers/hid/hid-cm6533.c:162:22: note: (near initialization for 'cmhid_driver.input_configured')

vim +162 drivers/hid/hid-cm6533.c

   146		struct cmhid *cm = hid_get_drvdata(hid);
   147	
   148		hid_hw_stop(hid);
   149		kfree(cm);
   150	}
   151	
   152	static const struct hid_device_id cmhid_devices[] = {
   153		{ HID_USB_DEVICE(USB_VENDOR_ID_CMEDIA, USB_DEVICE_ID_CM6533) },
   154		{ }
   155	};
   156	MODULE_DEVICE_TABLE(hid, cmhid_devices);
   157	
   158	static struct hid_driver cmhid_driver = {
   159		.name = "cm6533_jd",
   160		.id_table = cmhid_devices,
   161		.raw_event = cmhid_raw_event,
 > 162		.input_configured = cmhid_input_configured,
   163		.probe = cmhid_probe,
   164		.remove = cmhid_remove,
   165		.input_mapping = cmhid_input_mapping,
   166	};
   167	module_hid_driver(cmhid_driver);
   168	

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux