oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 9797/10134] sound/pci/hda/patch_realtek.c:7222:13: error: 'struct alc_spec' has no member named 'power_hook'
@ 2024-05-01 13:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-05-01 13:13 UTC (permalink / raw
  To: Kailang Yang; +Cc: oe-kbuild-all, Linux Memory Management List, Takashi Iwai

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   f68868ba718e30594165879cc3020607165b0761
commit: 1e707769df072757bdcafab158bb159ead73daa4 [9797/10134] ALSA: hda/realtek - Set GPIO3 to default at S4 state for Thinkpad with ALC1318
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20240501/202405012104.Dr7h318W-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240501/202405012104.Dr7h318W-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405012104.Dr7h318W-lkp@intel.com/

All errors (new ones prefixed by >>):

   sound/pci/hda/patch_realtek.c: In function 'alc287_fixup_lenovo_thinkpad_with_alc1318':
>> sound/pci/hda/patch_realtek.c:7222:13: error: 'struct alc_spec' has no member named 'power_hook'
    7222 |         spec->power_hook = alc287_s4_power_gpio3_default;
         |             ^~


vim +7222 sound/pci/hda/patch_realtek.c

  7214	
  7215	static void alc287_fixup_lenovo_thinkpad_with_alc1318(struct hda_codec *codec,
  7216				       const struct hda_fixup *fix, int action)
  7217	{
  7218		struct alc_spec *spec = codec->spec;
  7219	
  7220		if (action != HDA_FIXUP_ACT_PRE_PROBE)
  7221			return;
> 7222		spec->power_hook = alc287_s4_power_gpio3_default;
  7223		spec->gen.pcm_playback_hook = alc287_alc1318_playback_pcm_hook;
  7224	}
  7225	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-01 13:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-01 13:13 [linux-next:master 9797/10134] sound/pci/hda/patch_realtek.c:7222:13: error: 'struct alc_spec' has no member named 'power_hook' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).