Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Takashi Iwai <tiwai@suse.de>,
	Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Cc: "Alexander.Deucher@amd.com" <Alexander.Deucher@amd.com>,
	Sergei Miroshnichenko <s.miroshnichenko@yadro.com>,
	alsa-devel@alsa-project.org, kbuild-all@lists.01.org,
	"Christian.Koenig@amd.com" <Christian.Koenig@amd.com>
Subject: Re: [PATCH v2 1/8] ALSA: hda: Re-add dropped snd_poewr_change_state()
Date: Thu, 25 Mar 2021 07:57:58 +0800	[thread overview]
Message-ID: <202103250726.q4KGU5hd-lkp@intel.com> (raw)
In-Reply-To: <s5h8s6cnva3.wl-tiwai@suse.de>

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

Hi Takashi,

I love your patch! Yet something to improve:

[auto build test ERROR on v5.12-rc4]
[also build test ERROR on next-20210324]
[cannot apply to sound/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Takashi-Iwai/ALSA-hda-Re-add-dropped-snd_poewr_change_state/20210325-043958
base:    0d02ec6b3136c73c09e7859f0d0e4e2c4c07b49b
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
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
        # https://github.com/0day-ci/linux/commit/9d72f7bfcc53f9e360ceba244596818bb00f1f7d
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Takashi-Iwai/ALSA-hda-Re-add-dropped-snd_poewr_change_state/20210325-043958
        git checkout 9d72f7bfcc53f9e360ceba244596818bb00f1f7d
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k 

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 >>):

   In file included from sound/core/control.c:16:
   sound/core/control.c: In function 'snd_ctl_elem_read':
>> include/sound/core.h:176:43: error: expected expression before 'do'
     176 | #define snd_power_wait_and_ref(card, ref) do { (void)(card); } while (0)
         |                                           ^~
   sound/core/control.c:1060:8: note: in expansion of macro 'snd_power_wait_and_ref'
    1060 |  ret = snd_power_wait_and_ref(card, true);
         |        ^~~~~~~~~~~~~~~~~~~~~~
   sound/core/control.c: In function 'snd_ctl_elem_write':
>> include/sound/core.h:176:43: error: expected expression before 'do'
     176 | #define snd_power_wait_and_ref(card, ref) do { (void)(card); } while (0)
         |                                           ^~
   sound/core/control.c:1126:11: note: in expansion of macro 'snd_power_wait_and_ref'
    1126 |  result = snd_power_wait_and_ref(card, true);
         |           ^~~~~~~~~~~~~~~~~~~~~~
   sound/core/control.c: In function 'call_tlv_handler':
>> include/sound/core.h:176:43: error: expected expression before 'do'
     176 | #define snd_power_wait_and_ref(card, ref) do { (void)(card); } while (0)
         |                                           ^~
   sound/core/control.c:1629:8: note: in expansion of macro 'snd_power_wait_and_ref'
    1629 |  ret = snd_power_wait_and_ref(file->card, true);
         |        ^~~~~~~~~~~~~~~~~~~~~~


vim +/do +176 include/sound/core.h

   172	
   173	static inline int snd_power_wait(struct snd_card *card, unsigned int state) { return 0; }
   174	#define snd_power_get_state(card)	({ (void)(card); SNDRV_CTL_POWER_D0; })
   175	#define snd_power_change_state(card, state)	do { (void)(card); } while (0)
 > 176	#define snd_power_wait_and_ref(card, ref)	do { (void)(card); } while (0)
   177	#define snd_power_ref(card)		do { (void)(card); } while (0)
   178	#define snd_power_unref(card)		do { (void)(card); } while (0)
   179	

---
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: 59864 bytes --]

      parent reply	other threads:[~2021-03-24 23:59 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-19 21:22 Adding movable PCIe BARs support in snd_hda_intel Andrey Grodzovsky
2021-03-23 11:23 ` Andrey Grodzovsky
2021-03-23 11:39   ` Takashi Iwai
2021-03-23 14:22     ` Andrey Grodzovsky
2021-03-23 14:54       ` Takashi Iwai
2021-03-23 16:11         ` Andrey Grodzovsky
2021-03-23 16:50           ` Takashi Iwai
2021-03-23 17:08             ` Andrey Grodzovsky
2021-03-23 17:29               ` Takashi Iwai
2021-03-23 18:25                 ` Andrey Grodzovsky
2021-03-24 10:00                   ` Takashi Iwai
2021-03-24 14:53                     ` Andrey Grodzovsky
2021-03-24 15:06                       ` Takashi Iwai
2021-03-24 15:43                         ` Andrey Grodzovsky
2021-03-24 20:36                           ` Takashi Iwai
2021-03-24 21:43                             ` Andrey Grodzovsky
2021-03-25  6:58                               ` Takashi Iwai
2021-03-25 16:13                                 ` Andrey Grodzovsky
2021-03-25 16:38                                   ` Takashi Iwai
2021-03-26 21:27                                     ` Andrey Grodzovsky
2021-03-27  8:17                                       ` Takashi Iwai
2021-03-29 14:47                                         ` Andrey Grodzovsky
2021-03-29 14:52                                           ` Takashi Iwai
2021-03-29 14:57                                             ` Andrey Grodzovsky
2021-03-24 23:36                             ` [PATCH v2 1/8] ALSA: hda: Re-add dropped snd_poewr_change_state() kernel test robot
2021-03-24 23:57                             ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202103250726.q4KGU5hd-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Alexander.Deucher@amd.com \
    --cc=Christian.Koenig@amd.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=andrey.grodzovsky@amd.com \
    --cc=kbuild-all@lists.01.org \
    --cc=s.miroshnichenko@yadro.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox