[tiwai-sound:topic/pm-ops 5/29] include/sound/sb.h:294:20: error: two or more data types in declaration specifiers
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-052-20240127 (https://download.01.org/0day-ci/archive/20240128/202401281001.74RRLOzP-lkp@i...) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240128/202401281001.74RRLOzP-lkp@i...)
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/202401281001.74RRLOzP-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from sound/isa/sb/sb_common.c:17:
include/sound/sb.h:294:20: error: two or more data types in declaration specifiers
294 | static inline void void snd_sbmixer_suspend(struct snd_sb *chip) {} | ^~~~ include/sound/sb.h:295:20: error: two or more data types in declaration specifiers 295 | static inline void void snd_sbmixer_resume(struct snd_sb *chip) {} | ^~~~
vim +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
participants (1)
-
kernel test robot