All of lore.kernel.org
 help / color / mirror / Atom feed
* [chrome-os:chromeos-5.10 63/85] sound/soc/codecs/rt5682-i2c.c:297:22: error: unused variable 'rt5682'
@ 2021-08-13 17:12 kernel test robot
  2021-08-13 22:45 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-08-13 17:12 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head:   72ce9ff195f3502b2a6ad62faf6d93b6a6e49de2
commit: 3c43290e0e3b6d875e374a81fb1225dc09f7d81a [63/85] FROMGIT: ASoC: rt5682: Properly turn off regulators if wrong device ID
config: x86_64-randconfig-a012-20210813 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
        git fetch --no-tags chrome-os chromeos-5.10
        git checkout 3c43290e0e3b6d875e374a81fb1225dc09f7d81a
        # 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/soc/codecs/rt5682-i2c.c: In function 'rt5682_i2c_remove':
>> sound/soc/codecs/rt5682-i2c.c:297:22: error: unused variable 'rt5682' [-Werror=unused-variable]
     297 |  struct rt5682_priv *rt5682 = i2c_get_clientdata(client);
         |                      ^~~~~~
   cc1: all warnings being treated as errors


vim +/rt5682 +297 sound/soc/codecs/rt5682-i2c.c

a50067d4f3c1d6 Arnd Bergmann 2020-05-28  294  
c330851e825afe Stephen Boyd  2021-05-08  295  static int rt5682_i2c_remove(struct i2c_client *client)
c330851e825afe Stephen Boyd  2021-05-08  296  {
c330851e825afe Stephen Boyd  2021-05-08 @297  	struct rt5682_priv *rt5682 = i2c_get_clientdata(client);
c330851e825afe Stephen Boyd  2021-05-08  298  
c330851e825afe Stephen Boyd  2021-05-08  299  	rt5682_i2c_shutdown(client);
c330851e825afe Stephen Boyd  2021-05-08  300  
c330851e825afe Stephen Boyd  2021-05-08  301  	return 0;
c330851e825afe Stephen Boyd  2021-05-08  302  }
c330851e825afe Stephen Boyd  2021-05-08  303  

:::::: The code at line 297 was first introduced by commit
:::::: c330851e825afeca6b880e3a05aa3ad46d025a3c FROMGIT: ASoC: rt5682: Implement remove callback

:::::: TO: Stephen Boyd <swboyd@chromium.org>
:::::: CC: Commit Bot <commit-bot@chromium.org>

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

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

* Re: [chrome-os:chromeos-5.10 63/85] sound/soc/codecs/rt5682-i2c.c:297:22: error: unused variable 'rt5682'
  2021-08-13 17:12 [chrome-os:chromeos-5.10 63/85] sound/soc/codecs/rt5682-i2c.c:297:22: error: unused variable 'rt5682' kernel test robot
@ 2021-08-13 22:45 ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2021-08-13 22:45 UTC (permalink / raw)
  To: kbuild-all

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

Doug sent a fix upstream earlier today.

On Fri, Aug 13, 2021, 10:13 AM kernel test robot <lkp@intel.com> wrote:

> tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel
> chromeos-5.10
> head:   72ce9ff195f3502b2a6ad62faf6d93b6a6e49de2
> commit: 3c43290e0e3b6d875e374a81fb1225dc09f7d81a [63/85] FROMGIT: ASoC:
> rt5682: Properly turn off regulators if wrong device ID
> config: x86_64-randconfig-a012-20210813 (attached as .config)
> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
> reproduce (this is a W=1 build):
>         git remote add chrome-os
> https://chromium.googlesource.com/chromiumos/third_party/kernel
>         git fetch --no-tags chrome-os chromeos-5.10
>         git checkout 3c43290e0e3b6d875e374a81fb1225dc09f7d81a
>         # 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/soc/codecs/rt5682-i2c.c: In function 'rt5682_i2c_remove':
> >> sound/soc/codecs/rt5682-i2c.c:297:22: error: unused variable 'rt5682'
> [-Werror=unused-variable]
>      297 |  struct rt5682_priv *rt5682 = i2c_get_clientdata(client);
>          |                      ^~~~~~
>    cc1: all warnings being treated as errors
>
>
> vim +/rt5682 +297 sound/soc/codecs/rt5682-i2c.c
>
> a50067d4f3c1d6 Arnd Bergmann 2020-05-28  294
> c330851e825afe Stephen Boyd  2021-05-08  295  static int
> rt5682_i2c_remove(struct i2c_client *client)
> c330851e825afe Stephen Boyd  2021-05-08  296  {
> c330851e825afe Stephen Boyd  2021-05-08 @297    struct rt5682_priv *rt5682
> = i2c_get_clientdata(client);
> c330851e825afe Stephen Boyd  2021-05-08  298
> c330851e825afe Stephen Boyd  2021-05-08  299
> rt5682_i2c_shutdown(client);
> c330851e825afe Stephen Boyd  2021-05-08  300
> c330851e825afe Stephen Boyd  2021-05-08  301    return 0;
> c330851e825afe Stephen Boyd  2021-05-08  302  }
> c330851e825afe Stephen Boyd  2021-05-08  303
>
> :::::: The code at line 297 was first introduced by commit
> :::::: c330851e825afeca6b880e3a05aa3ad46d025a3c FROMGIT: ASoC: rt5682:
> Implement remove callback
>
> :::::: TO: Stephen Boyd <swboyd@chromium.org>
> :::::: CC: Commit Bot <commit-bot@chromium.org>
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
>
> --
> You received this message because you are subscribed to the Google Groups
> "cros-kernel-buildreports" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cros-kernel-buildreports+unsubscribe(a)googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/cros-kernel-buildreports/202108140146.r8jNerNt-lkp%40intel.com
> .
>

[-- Attachment #2: attachment.htm --]
[-- Type: text/html, Size: 4152 bytes --]

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

end of thread, other threads:[~2021-08-13 22:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-13 17:12 [chrome-os:chromeos-5.10 63/85] sound/soc/codecs/rt5682-i2c.c:297:22: error: unused variable 'rt5682' kernel test robot
2021-08-13 22:45 ` Stephen Boyd

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.