[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202305080037.fiQIAfoP-lkp@intel.com>
Date: Mon, 8 May 2023 00:47:36 +0800
From: kernel test robot <lkp@...el.com>
To: jack1989s@...il.com, perex@...ex.cz, tiwai@...e.com
Cc: oe-kbuild-all@...ts.linux.dev, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org,
Federico Di Lembo <jack1989s@...il.com>
Subject: Re: [PATCH] Sound:last.c: fix code syle trailing white space -
modify printk()->netdev_dbg() - Possible unnecessary KERN_INFO removed
Hi,
kernel test robot noticed the following build errors:
[auto build test ERROR on tiwai-sound/for-next]
[also build test ERROR on tiwai-sound/for-linus linus/master v6.3 next-20230505]
[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/jack1989s-gmail-com/Sound-last-c-fix-code-syle-trailing-white-space-modify-printk-netdev_dbg-Possible-unnecessary-KERN_INFO-removed/20230507-210152
base: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
patch link: https://lore.kernel.org/r/20230507130021.48112-1-jack1989s%40gmail.com
patch subject: [PATCH] Sound:last.c: fix code syle trailing white space - modify printk()->netdev_dbg() - Possible unnecessary KERN_INFO removed
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20230508/202305080037.fiQIAfoP-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/intel-lab-lkp/linux/commit/467a3e6b911964a967ad7ce544c4426e4d95b14f
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review jack1989s-gmail-com/Sound-last-c-fix-code-syle-trailing-white-space-modify-printk-netdev_dbg-Possible-unnecessary-KERN_INFO-removed/20230507-210152
git checkout 467a3e6b911964a967ad7ce544c4426e4d95b14f
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 olddefconfig
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305080037.fiQIAfoP-lkp@intel.com/
All errors (new ones prefixed by >>):
sound/last.c: In function 'alsa_sound_last_init':
>> sound/last.c:15:9: error: implicit declaration of function 'netdev_dbg'; did you mean 'dev_dbg'? [-Werror=implicit-function-declaration]
15 | netdev_dbg("ALSA device list:\n");
| ^~~~~~~~~~
| dev_dbg
cc1: some warnings being treated as errors
vim +15 sound/last.c
9
10 static int __init alsa_sound_last_init(void)
11 {
12 struct snd_card *card;
13 int idx, ok = 0;
14
> 15 netdev_dbg("ALSA device list:\n");
16 for (idx = 0; idx < SNDRV_CARDS; idx++) {
17 card = snd_card_ref(idx);
18 if (card) {
19 netdev_dbg(" #%i: %s\n", idx, card->longname);
20 snd_card_unref(card);
21 ok++;
22 }
23 }
24 if (ok == 0)
25 netdev_dbg(" No soundcards found.\n");
26 return 0;
27 }
28
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
Powered by blists - more mailing lists