From: kernel test robot <lkp@intel.com>
To: "Martin Povišer" <povik+lin@cutebit.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org, Hector Martin <marcan@marcan.st>
Subject: [asahilinux:bits/070-audio 9/16] sound/soc/apple/macaudio.c:627:15: error: too many arguments to function call, expected 4, have 6
Date: Tue, 16 Aug 2022 11:49:06 +0800 [thread overview]
Message-ID: <202208161128.ck05kP2v-lkp@intel.com> (raw)
tree: https://github.com/AsahiLinux/linux bits/070-audio
head: 54b20e361303307d4ed9f2903ad7b1f41caf8bea
commit: ca97cfa4728cf208e9d53e17f5ff54cc08e804b3 [9/16] ASoC: apple: Add macaudio machine driver
config: arm64-randconfig-r015-20220815 (https://download.01.org/0day-ci/archive/20220816/202208161128.ck05kP2v-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project aed5e3bea138ce581d682158eb61c27b3cfdd6ec)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/AsahiLinux/linux/commit/ca97cfa4728cf208e9d53e17f5ff54cc08e804b3
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux bits/070-audio
git checkout ca97cfa4728cf208e9d53e17f5ff54cc08e804b3
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash sound/soc/apple/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> sound/soc/apple/macaudio.c:627:15: error: too many arguments to function call, expected 4, have 6
&ma->jack, &ma->pin, 1);
^~~~~~~~~~~
include/sound/soc-card.h:18:5: note: 'snd_soc_card_jack_new' declared here
int snd_soc_card_jack_new(struct snd_soc_card *card, const char *id, int type,
^
1 error generated.
vim +627 sound/soc/apple/macaudio.c
614
615 static int macaudio_probe(struct snd_soc_card *card)
616 {
617 struct macaudio_snd_data *ma = snd_soc_card_get_drvdata(card);
618 int ret;
619
620 ma->pin.pin = "Headphones";
621 ma->pin.mask = SND_JACK_HEADSET | SND_JACK_HEADPHONE;
622 ret = snd_soc_card_jack_new(card, ma->pin.pin,
623 SND_JACK_HEADSET |
624 SND_JACK_HEADPHONE |
625 SND_JACK_BTN_0 | SND_JACK_BTN_1 |
626 SND_JACK_BTN_2 | SND_JACK_BTN_3,
> 627 &ma->jack, &ma->pin, 1);
628
629 if (ret < 0) {
630 dev_err(card->dev, "jack creation failed: %d\n", ret);
631 return ret;
632 }
633
634 snd_soc_jack_notifier_register(&ma->jack, &macaudio_jack_nb);
635
636 return ret;
637 }
638
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-08-16 3:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202208161128.ck05kP2v-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=marcan@marcan.st \
--cc=povik+lin@cutebit.org \
/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.