All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [plbossart-sound:sdw/sdca-interrupt-handler 22/24] sound/soc/sdca/sdca_interrupts.c:285:6: error: redefinition of 'sdca_interrupt_clear_history'
Date: Wed, 5 Jun 2024 22:56:18 +0800	[thread overview]
Message-ID: <202406052259.WanpSd1N-lkp@intel.com> (raw)

tree:   https://github.com/plbossart/sound sdw/sdca-interrupt-handler
head:   29c13e7e99fdbbe864c31571d446c99b46cacdfc
commit: 8f80b6d5086267ba847153ddf5ab9413d2ccc6fb [22/24] sdca_interrupts: add detected_mask
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240605/202406052259.WanpSd1N-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240605/202406052259.WanpSd1N-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/202406052259.WanpSd1N-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/soundwire/sdw.h:13,
                    from sound/soc/sdca/sdca_interrupts.c:10:
>> include/sound/sdca.h:146:6: warning: no previous prototype for 'sdca_interrupt_clear_history' [-Wmissing-prototypes]
     146 | void sdca_interrupt_clear_history(struct sdw_slave *slave, u32 preserve_mask) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   sound/soc/sdca/sdca_interrupts.c:21:5: error: redefinition of 'sdca_interrupt_info_alloc'
      21 | int sdca_interrupt_info_alloc(struct sdw_slave *slave)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~
   include/sound/sdca.h:115:19: note: previous definition of 'sdca_interrupt_info_alloc' with type 'int(struct sdw_slave *)'
     115 | static inline int sdca_interrupt_info_alloc(struct sdw_slave *slave)
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~
   sound/soc/sdca/sdca_interrupts.c:44:6: error: redefinition of 'sdca_interrupt_info_release'
      44 | void sdca_interrupt_info_release(struct sdw_slave *slave)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/sound/sdca.h:120:20: note: previous definition of 'sdca_interrupt_info_release' with type 'void(struct sdw_slave *)'
     120 | static inline void sdca_interrupt_info_release(struct sdw_slave *slave) {}
         |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   sound/soc/sdca/sdca_interrupts.c:66:5: error: redefinition of 'sdca_interrupt_info_reset'
      66 | int sdca_interrupt_info_reset(struct sdw_slave *slave)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~
   include/sound/sdca.h:122:19: note: previous definition of 'sdca_interrupt_info_reset' with type 'int(struct sdw_slave *)'
     122 | static inline int sdca_interrupt_info_reset(struct sdw_slave *slave)
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~
   sound/soc/sdca/sdca_interrupts.c:90:5: error: redefinition of 'sdca_interrupt_initialize'
      90 | int sdca_interrupt_initialize(struct sdw_slave *slave,
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~
   include/sound/sdca.h:127:19: note: previous definition of 'sdca_interrupt_initialize' with type 'int(struct sdw_slave *, int)'
     127 | static inline int sdca_interrupt_initialize(struct sdw_slave *slave,
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~
   sound/soc/sdca/sdca_interrupts.c:120:5: error: redefinition of 'sdca_interrupt_register_source'
     120 | int sdca_interrupt_register_source(struct sdw_slave *slave,
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/sound/sdca.h:133:19: note: previous definition of 'sdca_interrupt_register_source' with type 'int(struct sdw_slave *, struct sdca_interrupt_source *)'
     133 | static inline int sdca_interrupt_register_source(struct sdw_slave *slave,
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   sound/soc/sdca/sdca_interrupts.c:209:5: error: redefinition of 'sdca_interrupt_enable'
     209 | int sdca_interrupt_enable(struct sdw_slave *slave,
         |     ^~~~~~~~~~~~~~~~~~~~~
   include/sound/sdca.h:139:19: note: previous definition of 'sdca_interrupt_enable' with type 'int(struct sdw_slave *, u32,  bool)' {aka 'int(struct sdw_slave *, unsigned int,  _Bool)'}
     139 | static inline int sdca_interrupt_enable(struct sdw_slave *slave,
         |                   ^~~~~~~~~~~~~~~~~~~~~
>> sound/soc/sdca/sdca_interrupts.c:285:6: error: redefinition of 'sdca_interrupt_clear_history'
     285 | void sdca_interrupt_clear_history(struct sdw_slave *slave, u32 preserve_mask)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/sound/sdca.h:146:6: note: previous definition of 'sdca_interrupt_clear_history' with type 'void(struct sdw_slave *, u32)' {aka 'void(struct sdw_slave *, unsigned int)'}
     146 | void sdca_interrupt_clear_history(struct sdw_slave *slave, u32 preserve_mask) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   sound/soc/sdca/sdca_interrupts.c:375:5: error: redefinition of 'sdca_interrupt_handler'
     375 | int sdca_interrupt_handler(struct sdw_slave *slave)
         |     ^~~~~~~~~~~~~~~~~~~~~~
   include/sound/sdca.h:148:19: note: previous definition of 'sdca_interrupt_handler' with type 'int(struct sdw_slave *)'
     148 | static inline int sdca_interrupt_handler(struct sdw_slave *slave)
         |                   ^~~~~~~~~~~~~~~~~~~~~~


vim +/sdca_interrupt_clear_history +285 sound/soc/sdca/sdca_interrupts.c

   284	
 > 285	void sdca_interrupt_clear_history(struct sdw_slave *slave, u32 preserve_mask)
   286	{
   287		struct sdca_interrupt_info *interrupt_info;
   288	
   289		interrupt_info = slave->sdca_data.interrupt_info;
   290	
   291		/*
   292		 * Clear all history except for the interrupts set in preserve_mask.
   293		 * This is very useful for SDCA UMP processing, where the
   294		 * interrupt is only thrown once when the ownership changes to
   295		 * HOST. If the processing happens in a work queue, and a new interrupt
   296		 * cancels the work queue, the interrupt will not be signaled again
   297		 */
   298		interrupt_info->detected_interrupt_mask &= preserve_mask;
   299	}
   300	EXPORT_SYMBOL_NS(sdca_interrupt_clear_history, SND_SOC_SDCA_IRQ_HANDLER);
   301	

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

                 reply	other threads:[~2024-06-05 14:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202406052259.WanpSd1N-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --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.