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@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@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cros-kernel-buildreports/202108140146.r8jNerNt-lkp%40intel.com.