From: kernel test robot <lkp@intel.com>
To: derek.fang@realtek.com, broonie@kernel.org, lgirdwood@gmail.com
Cc: oder_chiou@realtek.com, jack.yu@realtek.com,
alsa-devel@alsa-project.org, lars@metafoo.de,
kbuild-all@lists.01.org, albertchen@realtek.com,
Derek Fang <derek.fang@realtek.com>,
shumingf@realtek.com, flove@realtek.com
Subject: Re: [PATCH 1/2] ASoC: rt5682s: Add driver for ALC5682I-VS codec
Date: Fri, 27 Aug 2021 05:25:52 +0800 [thread overview]
Message-ID: <202108270512.lC8TF7Im-lkp@intel.com> (raw)
In-Reply-To: <20210826080938.14872-1-derek.fang@realtek.com>
[-- Attachment #1: Type: text/plain, Size: 4852 bytes --]
Hi,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on asoc/for-next]
[also build test WARNING on v5.14-rc7 next-20210826]
[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/derek-fang-realtek-com/ASoC-rt5682s-Add-driver-for-ALC5682I-VS-codec/20210826-161340
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: sparc64-randconfig-p002-20210826 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 11.2.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/3d7b4fdb7110791febbe2878e436192952b2cd5b
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review derek-fang-realtek-com/ASoC-rt5682s-Add-driver-for-ALC5682I-VS-codec/20210826-161340
git checkout 3d7b4fdb7110791febbe2878e436192952b2cd5b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=sparc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> sound/soc/codecs/rt5682s.c:64:6: warning: no previous prototype for 'rt5682s_apply_patch_list' [-Wmissing-prototypes]
64 | void rt5682s_apply_patch_list(struct rt5682s_priv *rt5682s,
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/codecs/rt5682s.c:441:6: warning: no previous prototype for 'rt5682s_volatile_register' [-Wmissing-prototypes]
441 | bool rt5682s_volatile_register(struct device *dev, unsigned int reg)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/codecs/rt5682s.c:483:6: warning: no previous prototype for 'rt5682s_readable_register' [-Wmissing-prototypes]
483 | bool rt5682s_readable_register(struct device *dev, unsigned int reg)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/codecs/rt5682s.c:623:6: warning: no previous prototype for 'rt5682s_reset' [-Wmissing-prototypes]
623 | void rt5682s_reset(struct rt5682s_priv *rt5682s)
| ^~~~~~~~~~~~~
>> sound/soc/codecs/rt5682s.c:735:5: warning: no previous prototype for 'rt5682s_headset_detect' [-Wmissing-prototypes]
735 | int rt5682s_headset_detect(struct snd_soc_component *component, int jack_insert)
| ^~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/codecs/rt5682s.c:822:6: warning: no previous prototype for 'rt5682s_jack_detect_handler' [-Wmissing-prototypes]
822 | void rt5682s_jack_detect_handler(struct work_struct *work)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/codecs/rt5682s.c:2907:5: warning: no previous prototype for 'rt5682s_parse_dt' [-Wmissing-prototypes]
2907 | int rt5682s_parse_dt(struct rt5682s_priv *rt5682s, struct device *dev)
| ^~~~~~~~~~~~~~~~
>> sound/soc/codecs/rt5682s.c:2936:6: warning: no previous prototype for 'rt5682s_calibrate' [-Wmissing-prototypes]
2936 | void rt5682s_calibrate(struct rt5682s_priv *rt5682s)
| ^~~~~~~~~~~~~~~~~
In file included from sound/soc/codecs/rt5682s.c:26:
sound/soc/codecs/rt5682s.c:1014:29: warning: 'rt5682s_sar_mode_enum' defined but not used [-Wunused-const-variable=]
1014 | static SOC_ENUM_SINGLE_DECL(rt5682s_sar_mode_enum, 0, 0,
| ^~~~~~~~~~~~~~~~~~~~~
include/sound/soc.h:352:31: note: in definition of macro 'SOC_ENUM_DOUBLE_DECL'
352 | const struct soc_enum name = SOC_ENUM_DOUBLE(xreg, xshift_l, xshift_r, \
| ^~~~
sound/soc/codecs/rt5682s.c:1014:8: note: in expansion of macro 'SOC_ENUM_SINGLE_DECL'
1014 | static SOC_ENUM_SINGLE_DECL(rt5682s_sar_mode_enum, 0, 0,
| ^~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SND_SOC_MT6359
Depends on SOUND && !UML && SND && SND_SOC && MTK_PMIC_WRAP
Selected by
- SND_SOC_MT8195_MT6359_RT1019_RT5682 && SOUND && !UML && SND && SND_SOC && I2C && SND_SOC_MT8195
vim +/rt5682s_apply_patch_list +64 sound/soc/codecs/rt5682s.c
63
> 64 void rt5682s_apply_patch_list(struct rt5682s_priv *rt5682s,
65 struct device *dev)
66 {
67 int ret;
68
69 ret = regmap_multi_reg_write(rt5682s->regmap, patch_list, ARRAY_SIZE(patch_list));
70 if (ret)
71 dev_warn(dev, "Failed to apply regmap patch: %d\n", ret);
72 }
73
---
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: 44915 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 1/2] ASoC: rt5682s: Add driver for ALC5682I-VS codec
Date: Fri, 27 Aug 2021 05:25:52 +0800 [thread overview]
Message-ID: <202108270512.lC8TF7Im-lkp@intel.com> (raw)
In-Reply-To: <20210826080938.14872-1-derek.fang@realtek.com>
[-- Attachment #1: Type: text/plain, Size: 4942 bytes --]
Hi,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on asoc/for-next]
[also build test WARNING on v5.14-rc7 next-20210826]
[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/derek-fang-realtek-com/ASoC-rt5682s-Add-driver-for-ALC5682I-VS-codec/20210826-161340
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: sparc64-randconfig-p002-20210826 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 11.2.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/3d7b4fdb7110791febbe2878e436192952b2cd5b
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review derek-fang-realtek-com/ASoC-rt5682s-Add-driver-for-ALC5682I-VS-codec/20210826-161340
git checkout 3d7b4fdb7110791febbe2878e436192952b2cd5b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=sparc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> sound/soc/codecs/rt5682s.c:64:6: warning: no previous prototype for 'rt5682s_apply_patch_list' [-Wmissing-prototypes]
64 | void rt5682s_apply_patch_list(struct rt5682s_priv *rt5682s,
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/codecs/rt5682s.c:441:6: warning: no previous prototype for 'rt5682s_volatile_register' [-Wmissing-prototypes]
441 | bool rt5682s_volatile_register(struct device *dev, unsigned int reg)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/codecs/rt5682s.c:483:6: warning: no previous prototype for 'rt5682s_readable_register' [-Wmissing-prototypes]
483 | bool rt5682s_readable_register(struct device *dev, unsigned int reg)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/codecs/rt5682s.c:623:6: warning: no previous prototype for 'rt5682s_reset' [-Wmissing-prototypes]
623 | void rt5682s_reset(struct rt5682s_priv *rt5682s)
| ^~~~~~~~~~~~~
>> sound/soc/codecs/rt5682s.c:735:5: warning: no previous prototype for 'rt5682s_headset_detect' [-Wmissing-prototypes]
735 | int rt5682s_headset_detect(struct snd_soc_component *component, int jack_insert)
| ^~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/codecs/rt5682s.c:822:6: warning: no previous prototype for 'rt5682s_jack_detect_handler' [-Wmissing-prototypes]
822 | void rt5682s_jack_detect_handler(struct work_struct *work)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> sound/soc/codecs/rt5682s.c:2907:5: warning: no previous prototype for 'rt5682s_parse_dt' [-Wmissing-prototypes]
2907 | int rt5682s_parse_dt(struct rt5682s_priv *rt5682s, struct device *dev)
| ^~~~~~~~~~~~~~~~
>> sound/soc/codecs/rt5682s.c:2936:6: warning: no previous prototype for 'rt5682s_calibrate' [-Wmissing-prototypes]
2936 | void rt5682s_calibrate(struct rt5682s_priv *rt5682s)
| ^~~~~~~~~~~~~~~~~
In file included from sound/soc/codecs/rt5682s.c:26:
sound/soc/codecs/rt5682s.c:1014:29: warning: 'rt5682s_sar_mode_enum' defined but not used [-Wunused-const-variable=]
1014 | static SOC_ENUM_SINGLE_DECL(rt5682s_sar_mode_enum, 0, 0,
| ^~~~~~~~~~~~~~~~~~~~~
include/sound/soc.h:352:31: note: in definition of macro 'SOC_ENUM_DOUBLE_DECL'
352 | const struct soc_enum name = SOC_ENUM_DOUBLE(xreg, xshift_l, xshift_r, \
| ^~~~
sound/soc/codecs/rt5682s.c:1014:8: note: in expansion of macro 'SOC_ENUM_SINGLE_DECL'
1014 | static SOC_ENUM_SINGLE_DECL(rt5682s_sar_mode_enum, 0, 0,
| ^~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SND_SOC_MT6359
Depends on SOUND && !UML && SND && SND_SOC && MTK_PMIC_WRAP
Selected by
- SND_SOC_MT8195_MT6359_RT1019_RT5682 && SOUND && !UML && SND && SND_SOC && I2C && SND_SOC_MT8195
vim +/rt5682s_apply_patch_list +64 sound/soc/codecs/rt5682s.c
63
> 64 void rt5682s_apply_patch_list(struct rt5682s_priv *rt5682s,
65 struct device *dev)
66 {
67 int ret;
68
69 ret = regmap_multi_reg_write(rt5682s->regmap, patch_list, ARRAY_SIZE(patch_list));
70 if (ret)
71 dev_warn(dev, "Failed to apply regmap patch: %d\n", ret);
72 }
73
---
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: 44915 bytes --]
next prev parent reply other threads:[~2021-08-26 21:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-26 8:09 [PATCH 1/2] ASoC: rt5682s: Add driver for ALC5682I-VS codec derek.fang
2021-08-26 8:09 ` [PATCH 2/2] ASoC: dt-bindings: rt5682s: add bindings for rt5682s derek.fang
2021-08-26 11:34 ` Mark Brown
2021-08-26 12:14 ` [PATCH 1/2] ASoC: rt5682s: Add driver for ALC5682I-VS codec Mark Brown
[not found] ` <e2ad57c54ea0422d8083bbf2b116563c@realtek.com>
2021-09-03 12:30 ` Mark Brown
2021-08-26 16:57 ` kernel test robot
2021-08-26 16:57 ` kernel test robot
2021-08-26 16:57 ` kernel test robot
2021-08-26 21:25 ` kernel test robot [this message]
2021-08-26 21:25 ` kernel test robot
2021-08-31 10:56 ` Bard liao
2021-08-31 12:37 ` Derek [方德義]
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=202108270512.lC8TF7Im-lkp@intel.com \
--to=lkp@intel.com \
--cc=albertchen@realtek.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=derek.fang@realtek.com \
--cc=flove@realtek.com \
--cc=jack.yu@realtek.com \
--cc=kbuild-all@lists.01.org \
--cc=lars@metafoo.de \
--cc=lgirdwood@gmail.com \
--cc=oder_chiou@realtek.com \
--cc=shumingf@realtek.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 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.