Hi Connor,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on sound/for-next] [also build test ERROR on v4.17-rc2 next-20180423] [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/Connor-McAdams/patch_ca0132-c-Handl... base: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next config: parisc-allmodconfig (attached as .config) compiler: hppa-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=parisc
All errors (new ones prefixed by >>):
sound/pci/hda/patch_ca0132.c:7338:3: error: 'const struct hda_codec_ops' has no member named 'suspend'
.suspend = ca0132_suspend, ^~~~~~~
sound/pci/hda/patch_ca0132.c:7338:13: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.suspend = ca0132_suspend, ^~~~~~~~~~~~~~ sound/pci/hda/patch_ca0132.c:7338:13: note: (near initialization for 'ca0132_patch_ops.set_power_state')
sound/pci/hda/patch_ca0132.c:7339:3: error: 'const struct hda_codec_ops' has no member named 'resume'
.resume = ca0132_resume, ^~~~~~ sound/pci/hda/patch_ca0132.c:7339:12: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .resume = ca0132_resume, ^~~~~~~~~~~~~ sound/pci/hda/patch_ca0132.c:7339:12: note: (near initialization for 'ca0132_patch_ops.reboot_notify') cc1: some warnings being treated as errors
vim +7338 sound/pci/hda/patch_ca0132.c
7331 7332 static const struct hda_codec_ops ca0132_patch_ops = { 7333 .build_controls = ca0132_build_controls, 7334 .build_pcms = ca0132_build_pcms, 7335 .init = ca0132_init, 7336 .free = ca0132_free, 7337 .unsol_event = snd_hda_jack_unsol_event,
7338 .suspend = ca0132_suspend, 7339 .resume = ca0132_resume,
7340 .reboot_notify = ca0132_reboot_notify, 7341 }; 7342
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation