All of lore.kernel.org
 help / color / mirror / Atom feed
* [sound:for-next 141/141] sound/usb/card.c:841:29: error: expected ';' after expression
@ 2020-06-04 19:20 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-06-04 19:20 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: clang-built-linux, alsa-devel, kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1978 bytes --]

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@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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 73526 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [sound:for-next 141/141] sound/usb/card.c:841:29: error: expected '; ' after expression
@ 2020-06-04 19:20 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-06-04 19:20 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2035 bytes --]

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@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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 73526 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-04 19:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-04 19:20 [sound:for-next 141/141] sound/usb/card.c:841:29: error: expected ';' after expression kernel test robot
2020-06-04 19:20 ` [sound:for-next 141/141] sound/usb/card.c:841:29: error: expected '; ' " 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.