[sound:for-next 141/141] sound/usb/card.c:841:29: error: expected ';' after expression

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
head:   3398e5c7b0383a1795090d76545884091636644c
commit: 3398e5c7b0383a1795090d76545884091636644c [141/141] ALSA: usb-audio: Manage auto-pm of all bundled interfaces
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project ac47588bc4ff5927a01ed6fcd269ce86aba52a7c)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout 3398e5c7b0383a1795090d76545884091636644c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>, old ones prefixed by <<):

>> sound/usb/card.c:841:29: error: expected ';' after expression
atomic_dec(&chip->active))
^
;
>> sound/usb/card.c:841:29: error: expected expression
2 errors generated.

vim +841 sound/usb/card.c

   825	
   826	int snd_usb_autoresume(struct snd_usb_audio *chip)
   827	{
   828		int i, err;
   829	
   830		if (atomic_read(&chip->shutdown))
   831			return -EIO;
   832		if (atomic_inc_return(&chip->active) != 1)
   833			return 0;
   834	
   835		for (i = 0; i < chip->num_interfaces; i++) {
   836			err = usb_autopm_get_interface(chip->intf[i]);
   837			if (err < 0) {
   838				/* rollback */
   839				while (--i >= 0)
   840					usb_autopm_put_interface(chip->intf[i]);
 > 841				atomic_dec(&chip->active))
   842				return err;
   843			}
   844		}
   845		return 0;
   846	}
   847	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[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