linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: penghao <penghao@uniontech.com>, perex@perex.cz, tiwai@suse.com
Cc: kbuild-all@lists.01.org, alexander@tsoy.me,
	dan.carpenter@oracle.com, crwulff@gmail.com,
	penghao@uniontech.com, gustavoars@kernel.org,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: usb-audio: Add prevent wakeup from s3 state trig by Lenovo ThinkCentre TI024Gen3 USB-audio
Date: Thu, 20 Aug 2020 03:35:41 +0800	[thread overview]
Message-ID: <202008200302.vBXASIGM%lkp@intel.com> (raw)
In-Reply-To: <20200819115757.23168-1-penghao@uniontech.com>

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

Hi penghao,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on sound/for-next]
[also build test ERROR on v5.9-rc1 next-20200819]
[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/penghao/ALSA-usb-audio-Add-prevent-wakeup-from-s3-state-trig-by-Lenovo-ThinkCentre-TI024Gen3-USB-audio/20200819-200006
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
config: x86_64-rhel (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # save the attached .config to linux build tree
        make W=1 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 >>):

   sound/usb/card.c: In function 'usb_audio_probe':
   sound/usb/card.c:666:28: error: stray '\357' in program
     666 |   device_set_wakeup_enable(&dev->dev, 0);
         |                            ^
   sound/usb/card.c:666:29: error: stray '\274' in program
     666 |   device_set_wakeup_enable(&dev->dev, 0);
         |                             ^
   sound/usb/card.c:666:30: error: stray '\206' in program
     666 |   device_set_wakeup_enable(&dev->dev, 0);
         |                              ^
>> sound/usb/card.c:666:34: error: incompatible type for argument 1 of 'device_set_wakeup_enable'
     666 |   device_set_wakeup_enable(&dev->dev, 0);
         |                               ~~~^~~~~
         |                                  |
         |                                  struct device
   In file included from include/linux/device.h:644,
                    from include/linux/usb/ch9.h:36,
                    from include/linux/usb.h:6,
                    from sound/usb/card.c:29:
   include/linux/pm_wakeup.h:108:52: note: expected 'struct device *' but argument is of type 'struct device'
     108 | extern int device_set_wakeup_enable(struct device *dev, bool enable);
         |                                     ~~~~~~~~~~~~~~~^~~

# https://github.com/0day-ci/linux/commit/b49bfa7145277ea86b0487f7fd4e51566477f092
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review penghao/ALSA-usb-audio-Add-prevent-wakeup-from-s3-state-trig-by-Lenovo-ThinkCentre-TI024Gen3-USB-audio/20200819-200006
git checkout b49bfa7145277ea86b0487f7fd4e51566477f092
vim +/device_set_wakeup_enable +666 sound/usb/card.c

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

  parent reply	other threads:[~2020-08-19 19:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-19 11:57 [PATCH] ALSA: usb-audio: Add prevent wakeup from s3 state trig by Lenovo ThinkCentre TI024Gen3 USB-audio penghao
2020-08-19 17:18 ` Takashi Iwai
2020-08-19 18:10   ` Kai-Heng Feng
2020-08-20  1:42     ` Hui Wang
2020-08-19 17:21 ` kernel test robot
2020-08-19 19:35 ` kernel test robot [this message]
2020-08-19 19:47 ` kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-08-19  3:34 penghao

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=202008200302.vBXASIGM%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alexander@tsoy.me \
    --cc=alsa-devel@alsa-project.org \
    --cc=crwulff@gmail.com \
    --cc=dan.carpenter@oracle.com \
    --cc=gustavoars@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=penghao@uniontech.com \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.com \
    /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;
as well as URLs for NNTP newsgroup(s).