[tiwai-sound:topic/pm-ops 5/29] include/sound/sb.h:294:20: error: cannot combine with previous 'void' declaration specifier

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Takashi,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/pm-ops
head:   2fe6ffd7c79f740b73533d44de3ae0e542674857
commit: 9757c2b93cfed03065a14a6cd817474891eb55fe [5/29] ALSA: als4000: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
config: i386-randconfig-141-20240128 (https://download.01.org/0day-ci/archive/20240128/202401281302.usiU86hP-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240128/202401281302.usiU86hP-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401281302.usiU86hP-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   In file included from sound/isa/als100.c:24:
>> include/sound/sb.h:294:20: error: cannot combine with previous 'void' declaration specifier
     294 | static inline void void snd_sbmixer_suspend(struct snd_sb *chip) {}
         |                    ^
   include/sound/sb.h:295:20: error: cannot combine with previous 'void' declaration specifier
     295 | static inline void void snd_sbmixer_resume(struct snd_sb *chip) {}
         |                    ^
   2 errors generated.


vim +/void +294 include/sound/sb.h

   274	
   275	/* sb_common.c */
   276	int snd_sbdsp_command(struct snd_sb *chip, unsigned char val);
   277	int snd_sbdsp_get_byte(struct snd_sb *chip);
   278	int snd_sbdsp_reset(struct snd_sb *chip);
   279	int snd_sbdsp_create(struct snd_card *card,
   280			     unsigned long port,
   281			     int irq,
   282			     irq_handler_t irq_handler,
   283			     int dma8, int dma16,
   284			     unsigned short hardware,
   285			     struct snd_sb **r_chip);
   286	/* sb_mixer.c */
   287	void snd_sbmixer_write(struct snd_sb *chip, unsigned char reg, unsigned char data);
   288	unsigned char snd_sbmixer_read(struct snd_sb *chip, unsigned char reg);
   289	int snd_sbmixer_new(struct snd_sb *chip);
   290	#ifdef CONFIG_PM
   291	void snd_sbmixer_suspend(struct snd_sb *chip);
   292	void snd_sbmixer_resume(struct snd_sb *chip);
   293	#else
 > 294	static inline void void snd_sbmixer_suspend(struct snd_sb *chip) {}
   295	static inline void void snd_sbmixer_resume(struct snd_sb *chip) {}
   296	#endif
   297	

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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux