[sound:for-next 141/141] sound/usb/card.c:841:29: error: expected ';' after expression
kernel test robot
lkp at intel.com
Thu Jun 4 21:20:08 CEST 2020
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 at intel.com>
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@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 73526 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20200605/68fb452c/attachment-0001.gz>
More information about the Alsa-devel
mailing list