All of lore.kernel.org
 help / color / mirror / Atom feed
* [sashal-stable:pending-5.14 74/149] drivers/platform/x86/dell/dell-laptop.c:2212: undefined reference to `dell_privacy_has_mic_mute'
@ 2021-09-30 11:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-30 11:07 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 15058 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git pending-5.14
head:   0b2d949bae31b8e95b42dbe24d17245343115056
commit: 72edcff93d4a85bb725b1468ef6e9cf934a8d381 [74/149] platform/x86: dell: fix DELL_WMI_PRIVACY dependencies & build error
config: i386-randconfig-c021-20210930 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/commit/?id=72edcff93d4a85bb725b1468ef6e9cf934a8d381
        git remote add sashal-stable https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
        git fetch --no-tags sashal-stable pending-5.14
        git checkout 72edcff93d4a85bb725b1468ef6e9cf934a8d381
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   ld: drivers/platform/x86/dell/dell-laptop.o: in function `dell_init':
>> drivers/platform/x86/dell/dell-laptop.c:2212: undefined reference to `dell_privacy_has_mic_mute'


vim +2212 drivers/platform/x86/dell/dell-laptop.c

44319ab7e0ed13 drivers/platform/x86/dell-laptop.c      Michał Kępień     2017-02-17  2166  
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2167  static int __init dell_init(void)
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2168  {
f951d6e6faedce drivers/platform/x86/dell-laptop.c      Michał Kępień     2016-01-22  2169  	struct calling_interface_token *token;
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2170  	int max_intensity = 0;
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2171  	int ret;
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2172  
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2173  	if (!dmi_check_system(dell_device_table))
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2174  		return -ENODEV;
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2175  
2d8b90be4f1cad drivers/platform/x86/dell-laptop.c      AceLan Kao        2011-10-04  2176  	quirks = NULL;
2d8b90be4f1cad drivers/platform/x86/dell-laptop.c      AceLan Kao        2011-10-04  2177  	/* find if this machine support other functions */
2d8b90be4f1cad drivers/platform/x86/dell-laptop.c      AceLan Kao        2011-10-04  2178  	dmi_check_system(dell_quirks);
2d8b90be4f1cad drivers/platform/x86/dell-laptop.c      AceLan Kao        2011-10-04  2179  
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2180  	ret = platform_driver_register(&platform_driver);
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2181  	if (ret)
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2182  		goto fail_platform_driver;
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2183  	platform_device = platform_device_alloc("dell-laptop", -1);
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2184  	if (!platform_device) {
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2185  		ret = -ENOMEM;
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2186  		goto fail_platform_device1;
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2187  	}
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2188  	ret = platform_device_add(platform_device);
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2189  	if (ret)
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2190  		goto fail_platform_device2;
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2191  
4cc8a57425c623 drivers/platform/x86/dell-laptop.c      Hans de Goede     2013-11-17  2192  	ret = dell_setup_rfkill();
4cc8a57425c623 drivers/platform/x86/dell-laptop.c      Hans de Goede     2013-11-17  2193  
4cc8a57425c623 drivers/platform/x86/dell-laptop.c      Hans de Goede     2013-11-17  2194  	if (ret) {
4cc8a57425c623 drivers/platform/x86/dell-laptop.c      Hans de Goede     2013-11-17  2195  		pr_warn("Unable to setup rfkill\n");
4cc8a57425c623 drivers/platform/x86/dell-laptop.c      Hans de Goede     2013-11-17  2196  		goto fail_rfkill;
4cc8a57425c623 drivers/platform/x86/dell-laptop.c      Hans de Goede     2013-11-17  2197  	}
4cc8a57425c623 drivers/platform/x86/dell-laptop.c      Hans de Goede     2013-11-17  2198  
2d8b90be4f1cad drivers/platform/x86/dell-laptop.c      AceLan Kao        2011-10-04  2199  	if (quirks && quirks->touchpad_led)
2d8b90be4f1cad drivers/platform/x86/dell-laptop.c      AceLan Kao        2011-10-04  2200  		touchpad_led_init(&platform_device->dev);
2d8b90be4f1cad drivers/platform/x86/dell-laptop.c      AceLan Kao        2011-10-04  2201  
6cff8d60aa0aba drivers/platform/x86/dell-laptop.c      Gabriele Mazzotta 2015-02-19  2202  	kbd_led_init(&platform_device->dev);
6cff8d60aa0aba drivers/platform/x86/dell-laptop.c      Gabriele Mazzotta 2015-02-19  2203  
037accfa14b28e drivers/platform/x86/dell-laptop.c      Keng-Yu Lin       2010-09-28  2204  	dell_laptop_dir = debugfs_create_dir("dell_laptop", NULL);
4cc8a57425c623 drivers/platform/x86/dell-laptop.c      Hans de Goede     2013-11-17  2205  	debugfs_create_file("rfkill", 0444, dell_laptop_dir, NULL,
4cc8a57425c623 drivers/platform/x86/dell-laptop.c      Hans de Goede     2013-11-17  2206  			    &dell_debugfs_fops);
037accfa14b28e drivers/platform/x86/dell-laptop.c      Keng-Yu Lin       2010-09-28  2207  
9c656b07997f51 drivers/platform/x86/dell-laptop.c      Hans de Goede     2017-03-16  2208  	dell_laptop_register_notifier(&dell_laptop_notifier);
9c656b07997f51 drivers/platform/x86/dell-laptop.c      Hans de Goede     2017-03-16  2209  
257e03a334ccb9 drivers/platform/x86/dell-laptop.c      Koba Ko           2020-05-11  2210  	if (dell_smbios_find_token(GLOBAL_MIC_MUTE_DISABLE) &&
8af9fa37b8a363 drivers/platform/x86/dell/dell-laptop.c Perry Yuan        2021-05-06  2211  	    dell_smbios_find_token(GLOBAL_MIC_MUTE_ENABLE) &&
8af9fa37b8a363 drivers/platform/x86/dell/dell-laptop.c Perry Yuan        2021-05-06 @2212  	    !dell_privacy_has_mic_mute()) {
d00fa46e0a2c67 drivers/platform/x86/dell-laptop.c      Takashi Iwai      2018-11-26  2213  		micmute_led_cdev.brightness = ledtrig_audio_get(LED_AUDIO_MICMUTE);
d00fa46e0a2c67 drivers/platform/x86/dell-laptop.c      Takashi Iwai      2018-11-26  2214  		ret = led_classdev_register(&platform_device->dev, &micmute_led_cdev);
d00fa46e0a2c67 drivers/platform/x86/dell-laptop.c      Takashi Iwai      2018-11-26  2215  		if (ret < 0)
d00fa46e0a2c67 drivers/platform/x86/dell-laptop.c      Takashi Iwai      2018-11-26  2216  			goto fail_led;
8af9fa37b8a363 drivers/platform/x86/dell/dell-laptop.c Perry Yuan        2021-05-06  2217  		micmute_led_registered = true;
257e03a334ccb9 drivers/platform/x86/dell-laptop.c      Koba Ko           2020-05-11  2218  	}
d00fa46e0a2c67 drivers/platform/x86/dell-laptop.c      Takashi Iwai      2018-11-26  2219  
ee4cfe28ca2969 drivers/platform/x86/dell-laptop.c      Hans de Goede     2015-06-16  2220  	if (acpi_video_get_backlight_type() != acpi_backlight_vendor)
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2221  		return 0;
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2222  
f951d6e6faedce drivers/platform/x86/dell-laptop.c      Michał Kępień     2016-01-22  2223  	token = dell_smbios_find_token(BRIGHTNESS_TOKEN);
f951d6e6faedce drivers/platform/x86/dell-laptop.c      Michał Kępień     2016-01-22  2224  	if (token) {
9862b43624a545 drivers/platform/x86/dell-laptop.c      Mario Limonciello 2018-01-31  2225  		struct calling_interface_buffer buffer;
9862b43624a545 drivers/platform/x86/dell-laptop.c      Mario Limonciello 2018-01-31  2226  
9862b43624a545 drivers/platform/x86/dell-laptop.c      Mario Limonciello 2018-01-31  2227  		dell_fill_request(&buffer, token->location, 0, 0, 0);
9862b43624a545 drivers/platform/x86/dell-laptop.c      Mario Limonciello 2018-01-31  2228  		ret = dell_send_request(&buffer,
9862b43624a545 drivers/platform/x86/dell-laptop.c      Mario Limonciello 2018-01-31  2229  					CLASS_TOKEN_READ, SELECT_TOKEN_AC);
2502e5a025935b drivers/platform/x86/dell-laptop.c      Damien Thébault   2018-07-18  2230  		if (ret == 0)
9862b43624a545 drivers/platform/x86/dell-laptop.c      Mario Limonciello 2018-01-31  2231  			max_intensity = buffer.output[3];
715d0cdd5a4599 drivers/platform/x86/dell-laptop.c      Pali Rohár        2015-07-06  2232  	}
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2233  
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2234  	if (max_intensity) {
a19a6ee6cad2b2 drivers/platform/x86/dell-laptop.c      Matthew Garrett   2010-02-17  2235  		struct backlight_properties props;
a19a6ee6cad2b2 drivers/platform/x86/dell-laptop.c      Matthew Garrett   2010-02-17  2236  		memset(&props, 0, sizeof(struct backlight_properties));
bb7ca747f8d624 drivers/platform/x86/dell-laptop.c      Matthew Garrett   2011-03-22  2237  		props.type = BACKLIGHT_PLATFORM;
a19a6ee6cad2b2 drivers/platform/x86/dell-laptop.c      Matthew Garrett   2010-02-17  2238  		props.max_brightness = max_intensity;
a19a6ee6cad2b2 drivers/platform/x86/dell-laptop.c      Matthew Garrett   2010-02-17  2239  		dell_backlight_device = backlight_device_register("dell_backlight",
a19a6ee6cad2b2 drivers/platform/x86/dell-laptop.c      Matthew Garrett   2010-02-17  2240  								  &platform_device->dev,
a19a6ee6cad2b2 drivers/platform/x86/dell-laptop.c      Matthew Garrett   2010-02-17  2241  								  NULL,
a19a6ee6cad2b2 drivers/platform/x86/dell-laptop.c      Matthew Garrett   2010-02-17  2242  								  &dell_ops,
a19a6ee6cad2b2 drivers/platform/x86/dell-laptop.c      Matthew Garrett   2010-02-17  2243  								  &props);
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2244  
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2245  		if (IS_ERR(dell_backlight_device)) {
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2246  			ret = PTR_ERR(dell_backlight_device);
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2247  			dell_backlight_device = NULL;
71e9dc73cb6b13 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2248  			goto fail_backlight;
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2249  		}
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2250  
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2251  		dell_backlight_device->props.brightness =
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2252  			dell_get_intensity(dell_backlight_device);
90a864b965e452 drivers/platform/x86/dell-laptop.c      Arvind Yadav      2017-03-09  2253  		if (dell_backlight_device->props.brightness < 0) {
90a864b965e452 drivers/platform/x86/dell-laptop.c      Arvind Yadav      2017-03-09  2254  			ret = dell_backlight_device->props.brightness;
90a864b965e452 drivers/platform/x86/dell-laptop.c      Arvind Yadav      2017-03-09  2255  			goto fail_get_brightness;
90a864b965e452 drivers/platform/x86/dell-laptop.c      Arvind Yadav      2017-03-09  2256  		}
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2257  		backlight_update_status(dell_backlight_device);
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2258  	}
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2259  
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2260  	return 0;
71e9dc73cb6b13 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2261  
90a864b965e452 drivers/platform/x86/dell-laptop.c      Arvind Yadav      2017-03-09  2262  fail_get_brightness:
90a864b965e452 drivers/platform/x86/dell-laptop.c      Arvind Yadav      2017-03-09  2263  	backlight_device_unregister(dell_backlight_device);
71e9dc73cb6b13 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2264  fail_backlight:
8af9fa37b8a363 drivers/platform/x86/dell/dell-laptop.c Perry Yuan        2021-05-06  2265  	if (micmute_led_registered)
d00fa46e0a2c67 drivers/platform/x86/dell-laptop.c      Takashi Iwai      2018-11-26  2266  		led_classdev_unregister(&micmute_led_cdev);
d00fa46e0a2c67 drivers/platform/x86/dell-laptop.c      Takashi Iwai      2018-11-26  2267  fail_led:
4cc8a57425c623 drivers/platform/x86/dell-laptop.c      Hans de Goede     2013-11-17  2268  	dell_cleanup_rfkill();
4cc8a57425c623 drivers/platform/x86/dell-laptop.c      Hans de Goede     2013-11-17  2269  fail_rfkill:
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2270  	platform_device_del(platform_device);
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2271  fail_platform_device2:
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2272  	platform_device_put(platform_device);
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2273  fail_platform_device1:
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2274  	platform_driver_unregister(&platform_driver);
ada3248a5d3865 drivers/platform/x86/dell-laptop.c      Alan Jenkins      2009-08-19  2275  fail_platform_driver:
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2276  	return ret;
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2277  }
ad8f07ccaddca1 drivers/misc/dell-laptop.c              Matthew Garrett   2009-01-07  2278  

:::::: The code at line 2212 was first introduced by commit
:::::: 8af9fa37b8a3637832cbf8fdd9bd828bd5f0de66 platform/x86: dell-privacy: Add support for Dell hardware privacy

:::::: TO: Perry Yuan <perry_yuan@dell.com>
:::::: CC: Hans de Goede <hdegoede@redhat.com>

---
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: 29164 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-30 11:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-30 11:07 [sashal-stable:pending-5.14 74/149] drivers/platform/x86/dell/dell-laptop.c:2212: undefined reference to `dell_privacy_has_mic_mute' kernel test robot

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.