All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Subject: [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'
Date: Tue, 31 Oct 2023 13:27:02 +0800	[thread overview]
Message-ID: <202310311348.zvHI24jb-lkp@intel.com> (raw)

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

             reply	other threads:[~2023-10-31  5:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-31  5:27 kernel test robot [this message]
2023-10-31 15:33 ` [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' Pierre-Louis Bossart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202310311348.zvHI24jb-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=peter.ujfalusi@linux.intel.com \
    --cc=pierre-louis.bossart@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.