From: kernel test robot <lkp@intel.com>
To: cujomalainey@chromium.org, alsa-devel@alsa-project.org
Cc: oe-kbuild-all@lists.linux.dev,
"Curtis Malainey" <cujomalainey@chromium.org>,
"Jaroslav Kysela" <perex@perex.cz>,
"Takashi Iwai" <tiwai@suse.com>,
"Thierry Reding" <treding@nvidia.com>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Ivan Orlov" <ivan.orlov0322@gmail.com>
Subject: Re: [PATCH 1/2] ALSA: core: add snd_device_init
Date: Fri, 25 Aug 2023 06:23:58 +0800 [thread overview]
Message-ID: <202308250609.8A2yaCZs-lkp@intel.com> (raw)
In-Reply-To: <20230824210339.1126993-2-cujomalainey@chromium.org>
Hi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on tiwai-sound/for-next]
[also build test WARNING on next-20230824]
[cannot apply to tiwai-sound/for-linus broonie-sound/for-next linus/master v6.5-rc7]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/cujomalainey-chromium-org/ALSA-core-add-snd_device_init/20230825-050745
base: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
patch link: https://lore.kernel.org/r/20230824210339.1126993-2-cujomalainey%40chromium.org
patch subject: [PATCH 1/2] ALSA: core: add snd_device_init
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20230825/202308250609.8A2yaCZs-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230825/202308250609.8A2yaCZs-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308250609.8A2yaCZs-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> sound/core/init.c:149: warning: Function parameter or member 'dev' not described in 'snd_device_init'
>> sound/core/init.c:149: warning: Excess function parameter 'dev_p' description in 'snd_device_init'
vim +149 sound/core/init.c
140
141 /**
142 * snd_device_init - Initialize struct device for sound devices
143 * @dev_p: pointer to store the allocated device
144 * @card: card to assign, optional
145 *
146 * For releasing the allocated device, call put_device().
147 */
148 void snd_device_init(struct device *dev, struct snd_card *card)
> 149 {
150 device_initialize(dev);
151 if (card)
152 dev->parent = &card->card_dev;
153 dev->class = &sound_class;
154 dev->release = default_release_alloc;
155 }
156 EXPORT_SYMBOL_GPL(snd_device_init);
157
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-08-24 22:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-24 21:02 [PATCH 0/2][RFC] Refactor snd primitives refcounters cujomalainey
2023-08-24 21:02 ` [PATCH 1/2] ALSA: core: add snd_device_init cujomalainey
2023-08-24 22:23 ` kernel test robot [this message]
2023-08-25 10:46 ` Takashi Iwai
2023-08-24 21:02 ` [PATCH 2/2] ALSA: core: split control primitives out of snd_card cujomalainey
2023-08-24 21:15 ` Mark Brown
2023-08-25 10:57 ` Takashi Iwai
2023-09-03 22:38 ` kernel test robot
2023-08-25 11:15 ` [PATCH 0/2][RFC] Refactor snd primitives refcounters Takashi Iwai
2023-08-25 17:42 ` Curtis Malainey
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=202308250609.8A2yaCZs-lkp@intel.com \
--to=lkp@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=cujomalainey@chromium.org \
--cc=ivan.orlov0322@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
--cc=treding@nvidia.com \
--cc=u.kleine-koenig@pengutronix.de \
/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.