Hi Hui,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on sound/for-next]
[also build test ERROR on asoc/for-next v5.10-rc7 next-20201209]
[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/Hui-Wang/design-a-way-to-change-...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
config: powerpc64-randconfig-r035-20201209 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
1968804ac726e7674d5de22bc2204b45857da344)
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
# install powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
#
https://github.com/0day-ci/linux/commit/db33ddf3088e8952179c2908fa69c9e07...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Hui-Wang/design-a-way-to-change-audio-Jack-state-by-software/20201209-204735
git checkout db33ddf3088e8952179c2908fa69c9e0795a445d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> sound/core/jack.c:246:40: error: no member named 'type'
in 'struct snd_jack'
snd_jack_report(jack, enable ?
jack->type : 0, true);
~~~~ ^
1 error generated.
vim +246 sound/core/jack.c
232
233 static ssize_t
234 jackin_inject_store(struct device *dev, struct device_attribute *attr,
235 const char *buf, size_t count)
236 {
237 struct snd_card *card = container_of(dev, struct snd_card, card_dev);
238 struct snd_jack *jack;
239 unsigned long enable;
240
241 jack = parsing_jack_and_enable(card, buf, count, &enable);
242 if (!jack)
243 return -EINVAL;
244
245 if (jack->sw_inject_enable)
246 snd_jack_report(jack, enable ? jack->type : 0, true);
247
248 return count;
249 }
250 static DEVICE_ATTR_WO(jackin_inject);
251
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org