* [plbossart-sound:sdw/sdca-interrupt-handler 22/24] sound/soc/sdca/sdca_interrupts.c:285:6: error: redefinition of 'sdca_interrupt_clear_history'
@ 2024-06-05 14:56 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-05 14:56 UTC (permalink / raw)
To: Pierre-Louis Bossart; +Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-06-05 14:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-05 14:56 [plbossart-sound:sdw/sdca-interrupt-handler 22/24] sound/soc/sdca/sdca_interrupts.c:285:6: error: redefinition of 'sdca_interrupt_clear_history' kernel test robot
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.