* [plbossart-sound:sdw/add-rw-debugfs-support 21/26] sound/pci/hda/patch_hdmi.c:4648:6: error: redefinition of 'snd_hda_device_is_hdmi'
@ 2023-10-31 5:27 kernel test robot
2023-10-31 15:33 ` Pierre-Louis Bossart
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2023-10-31 5:27 UTC (permalink / raw)
To: Peter Ujfalusi; +Cc: oe-kbuild-all, Pierre-Louis Bossart
tree: https://github.com/plbossart/sound sdw/add-rw-debugfs-support
head: 2c350273f5f3b3f47df642297fbcd83e7216613e
commit: 5762a2e74908f4cbb7955140b0175539171aaee1 [21/26] ALSA: hda/hdmi: Add helper function to check if a device is HDMI codec
config: arc-randconfig-002-20231031 (https://download.01.org/0day-ci/archive/20231031/202310311348.zvHI24jb-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231031/202310311348.zvHI24jb-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/202310311348.zvHI24jb-lkp@intel.com/
All errors (new ones prefixed by >>):
>> sound/pci/hda/patch_hdmi.c:4648:6: error: redefinition of 'snd_hda_device_is_hdmi'
4648 | bool snd_hda_device_is_hdmi(struct hdac_device *hdev)
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from sound/pci/hda/patch_hdmi.c:29:
include/sound/hdaudio.h:165:20: note: previous definition of 'snd_hda_device_is_hdmi' with type 'bool(struct hdac_device *)' {aka '_Bool(struct hdac_device *)'}
165 | static inline bool snd_hda_device_is_hdmi(struct hdac_device *hdev)
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/snd_hda_device_is_hdmi +4648 sound/pci/hda/patch_hdmi.c
4647
> 4648 bool snd_hda_device_is_hdmi(struct hdac_device *hdev)
4649 {
4650 int i;
4651
4652 for (i = 0; i < ARRAY_SIZE(snd_hda_id_hdmi); i++) {
4653 if (snd_hda_id_hdmi[i].vendor_id == hdev->vendor_id)
4654 return true;
4655 }
4656
4657 return false;
4658 }
4659 EXPORT_SYMBOL_GPL(snd_hda_device_is_hdmi);
4660
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [plbossart-sound:sdw/add-rw-debugfs-support 21/26] sound/pci/hda/patch_hdmi.c:4648:6: error: redefinition of 'snd_hda_device_is_hdmi'
2023-10-31 5:27 [plbossart-sound:sdw/add-rw-debugfs-support 21/26] sound/pci/hda/patch_hdmi.c:4648:6: error: redefinition of 'snd_hda_device_is_hdmi' kernel test robot
@ 2023-10-31 15:33 ` Pierre-Louis Bossart
0 siblings, 0 replies; 2+ messages in thread
From: Pierre-Louis Bossart @ 2023-10-31 15:33 UTC (permalink / raw)
To: kernel test robot, Peter Ujfalusi; +Cc: oe-kbuild-all
Fixed by update
31685a688828f050151df97f411e29d8f8bf4e3e
fixup! ALSA: hda/hdmi: Add helper function to check if a device is HDMI
codec
On 10/31/23 00:27, kernel test robot wrote:
> tree: https://github.com/plbossart/sound sdw/add-rw-debugfs-support
> head: 2c350273f5f3b3f47df642297fbcd83e7216613e
> commit: 5762a2e74908f4cbb7955140b0175539171aaee1 [21/26] ALSA: hda/hdmi: Add helper function to check if a device is HDMI codec
> config: arc-randconfig-002-20231031 (https://download.01.org/0day-ci/archive/20231031/202310311348.zvHI24jb-lkp@intel.com/config)
> compiler: arceb-elf-gcc (GCC) 13.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231031/202310311348.zvHI24jb-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/202310311348.zvHI24jb-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
>>> sound/pci/hda/patch_hdmi.c:4648:6: error: redefinition of 'snd_hda_device_is_hdmi'
> 4648 | bool snd_hda_device_is_hdmi(struct hdac_device *hdev)
> | ^~~~~~~~~~~~~~~~~~~~~~
> In file included from sound/pci/hda/patch_hdmi.c:29:
> include/sound/hdaudio.h:165:20: note: previous definition of 'snd_hda_device_is_hdmi' with type 'bool(struct hdac_device *)' {aka '_Bool(struct hdac_device *)'}
> 165 | static inline bool snd_hda_device_is_hdmi(struct hdac_device *hdev)
> | ^~~~~~~~~~~~~~~~~~~~~~
>
>
> vim +/snd_hda_device_is_hdmi +4648 sound/pci/hda/patch_hdmi.c
>
> 4647
>> 4648 bool snd_hda_device_is_hdmi(struct hdac_device *hdev)
> 4649 {
> 4650 int i;
> 4651
> 4652 for (i = 0; i < ARRAY_SIZE(snd_hda_id_hdmi); i++) {
> 4653 if (snd_hda_id_hdmi[i].vendor_id == hdev->vendor_id)
> 4654 return true;
> 4655 }
> 4656
> 4657 return false;
> 4658 }
> 4659 EXPORT_SYMBOL_GPL(snd_hda_device_is_hdmi);
> 4660
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-31 15:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-31 5:27 [plbossart-sound:sdw/add-rw-debugfs-support 21/26] sound/pci/hda/patch_hdmi.c:4648:6: error: redefinition of 'snd_hda_device_is_hdmi' kernel test robot
2023-10-31 15:33 ` Pierre-Louis Bossart
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.