From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D81DF481648; Thu, 7 May 2026 19:57:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778183863; cv=none; b=D65IQp+XCPizSeQFfM7UQVoNH0qqf2stCIE71ePLIyOMjgYYShyVZMZSgafG0fZHKxaaMWJFa4bzc/6j21fUIU+a+oGbezjyE/TCrw+ztKgYJ11dPTaEVwEgmi6MoErblaewSxNieVuC93v+ecj46OogMNYJdD/oD+sQuLLPIok= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778183863; c=relaxed/simple; bh=ombuqALRZnVrCVfvjOHkJ3E6+3YmOx7gXilRu2c6ilA=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=e6h1Zexi84l3w/oPQnkgHRYCeCV7sNHof0tG8Wx+IJJeu6stqSL3OkeZyZOxf1WSRz+SMAe+Q/1opIpD+EUNMr9yxqlOMmNPISVq8We5wtbpCw6vVWTHNJhCpzG6ZSHxAvVyXaNXpRW7dy4NE0Qukxzwsk4UFbcBXapkPj6Ir54= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=h0ZGaXS0; arc=none smtp.client-ip=192.198.163.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="h0ZGaXS0" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1778183862; x=1809719862; h=date:from:to:cc:subject:message-id:mime-version: content-transfer-encoding; bh=ombuqALRZnVrCVfvjOHkJ3E6+3YmOx7gXilRu2c6ilA=; b=h0ZGaXS0WS4LAiawVCSc6Y/8p3Rlm4QQL48JunqaXGisuO6b1piMy8KO /zLPloQtCmR8LcteRTTtlAs+oZyxQC9vMyLzPqE+h3lm4u8auATruzgMV sARHq4ds6bA0xPe5tIH9d0slLqcLjikqViE6wSKHVAx+uPQy46vEwel7D BQOsewkBD9G2cp961DXjjxmAIA3RR4Ov/yqxJjcQC2UTIQKw6vvLgb/jt +JXjp5kTQCcmqmBFdjniyLAZnMTRGjrFo5sPKUGnj7JLEIikg0ruBCQgR H2ClGhxNrhiU2RWBHNzdxU3rwWIEc1O6mxY8IK0pGEtVTk68+1gEFJNvl w==; X-CSE-ConnectionGUID: LBfF0yfjR6quHmQjDaGK+g== X-CSE-MsgGUID: K7ZfCPvxQ66vfmmuvbHAow== X-IronPort-AV: E=McAfee;i="6800,10657,11779"; a="89843719" X-IronPort-AV: E=Sophos;i="6.23,222,1770624000"; d="scan'208";a="89843719" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2026 12:57:39 -0700 X-CSE-ConnectionGUID: mI+Y/s4KS1az5SXv+/pWUA== X-CSE-MsgGUID: 1ia6bALmQWqHHbz0NlYgBQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,222,1770624000"; d="scan'208";a="240549813" Received: from lkp-server01.sh.intel.com (HELO d6e19f2f5857) ([10.239.97.150]) by orviesa003.jf.intel.com with ESMTP; 07 May 2026 12:57:37 -0700 Received: from kbuild by d6e19f2f5857 with local (Exim 4.98.2) (envelope-from ) id 1wL4ql-000000000Ph-0OWL; Thu, 07 May 2026 19:57:35 +0000 Date: Fri, 08 May 2026 03:56:55 +0800 From: kernel test robot To: "Rafael J. Wysocki" Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-acpi@vger.kernel.org, linux-pm@vger.kernel.org Subject: [rafael-pm:bleeding-edge 15/24] drivers/platform/x86/xo15-ebook.c:104:8: error: use of undeclared label 'err_free_input' Message-ID: <202605080302.B44KeE3z-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git= bleeding-edge head: 232e74ed0633787ae1258c7d33ef7599210396ce commit: f3f83acc4b2615dc2f4a25bc5bcca4af83cf0cae [15/24] platform/x86: xo15= -ebook: Register ACPI notify handler directly config: x86_64-buildonly-randconfig-004-20260507 (https://download.01.org/0= day-ci/archive/20260508/202605080302.B44KeE3z-lkp@intel.com/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f022= 7cb60147a26a1eeb4fb06e3b505e9c7261) rustc: rustc 1.88.0 (6b00bc388 2025-06-23) reproduce (this is a W=3D1 build): (https://download.01.org/0day-ci/archive= /20260508/202605080302.B44KeE3z-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new versio= n of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202605080302.B44KeE3z-lkp@i= ntel.com/ All errors (new ones prefixed by >>): >> drivers/platform/x86/xo15-ebook.c:104:8: error: use of undeclared label = 'err_free_input' 104 | goto err_free_input; | ^ 1 error generated. vim +/err_free_input +104 drivers/platform/x86/xo15-ebook.c 44cb98c48e19f50 Rafael J. Wysocki 2012-06-27 80 =20 89ca11771a4b50e Paul Fox 2011-02-03 81 static int ebook_switch_= add(struct acpi_device *device) 89ca11771a4b50e Paul Fox 2011-02-03 82 { 39789590cff4043 Andy Shevchenko 2023-10-10 83 const struct acpi_devic= e_id *id; 89ca11771a4b50e Paul Fox 2011-02-03 84 struct ebook_switch *bu= tton; 89ca11771a4b50e Paul Fox 2011-02-03 85 struct input_dev *input; 89ca11771a4b50e Paul Fox 2011-02-03 86 int error; 89ca11771a4b50e Paul Fox 2011-02-03 87 =20 bf4afc53b77aeaa Linus Torvalds 2026-02-21 88 button =3D kzalloc_obj(= struct ebook_switch); 89ca11771a4b50e Paul Fox 2011-02-03 89 if (!button) 89ca11771a4b50e Paul Fox 2011-02-03 90 return -ENOMEM; 89ca11771a4b50e Paul Fox 2011-02-03 91 =20 89ca11771a4b50e Paul Fox 2011-02-03 92 device->driver_data =3D = button; 89ca11771a4b50e Paul Fox 2011-02-03 93 =20 89ca11771a4b50e Paul Fox 2011-02-03 94 button->input =3D input= =3D input_allocate_device(); 89ca11771a4b50e Paul Fox 2011-02-03 95 if (!input) { 89ca11771a4b50e Paul Fox 2011-02-03 96 error =3D -ENOMEM; 89ca11771a4b50e Paul Fox 2011-02-03 97 goto err_free_button; 89ca11771a4b50e Paul Fox 2011-02-03 98 } 89ca11771a4b50e Paul Fox 2011-02-03 99 =20 39789590cff4043 Andy Shevchenko 2023-10-10 100 id =3D acpi_match_acpi_= device(ebook_device_ids, device); 39789590cff4043 Andy Shevchenko 2023-10-10 101 if (!id) { 39789590cff4043 Andy Shevchenko 2023-10-10 102 dev_err(&device->dev, = "Unsupported hid\n"); 89ca11771a4b50e Paul Fox 2011-02-03 103 error =3D -ENODEV; 89ca11771a4b50e Paul Fox 2011-02-03 @104 goto err_free_input; 89ca11771a4b50e Paul Fox 2011-02-03 105 } 89ca11771a4b50e Paul Fox 2011-02-03 106 =20 8625c4c06a79ddd Ilpo J=C3=A4rvinen 2025-04-07 107 strscpy(acpi_devic= e_name(device), XO15_EBOOK_DEVICE_NAME); 8625c4c06a79ddd Ilpo J=C3=A4rvinen 2025-04-07 108 strscpy(acpi_devic= e_class(device), XO15_EBOOK_CLASS "/" XO15_EBOOK_SUBCLASS); 89ca11771a4b50e Paul Fox 2011-02-03 109 =20 39789590cff4043 Andy Shevchenko 2023-10-10 110 snprintf(button->phys, = sizeof(button->phys), "%s/button/input0", id->id); 89ca11771a4b50e Paul Fox 2011-02-03 111 =20 8625c4c06a79ddd Ilpo J=C3=A4rvinen 2025-04-07 112 input->name =3D ac= pi_device_name(device); 89ca11771a4b50e Paul Fox 2011-02-03 113 input->phys =3D button-= >phys; 89ca11771a4b50e Paul Fox 2011-02-03 114 input->id.bustype =3D B= US_HOST; 89ca11771a4b50e Paul Fox 2011-02-03 115 input->dev.parent =3D &= device->dev; 89ca11771a4b50e Paul Fox 2011-02-03 116 =20 89ca11771a4b50e Paul Fox 2011-02-03 117 input->evbit[0] =3D BIT= _MASK(EV_SW); 89ca11771a4b50e Paul Fox 2011-02-03 118 set_bit(SW_TABLET_MODE,= input->swbit); 89ca11771a4b50e Paul Fox 2011-02-03 119 =20 89ca11771a4b50e Paul Fox 2011-02-03 120 error =3D input_registe= r_device(input); f3f83acc4b2615d Rafael J. Wysocki 2026-02-09 121 if (error) { f3f83acc4b2615d Rafael J. Wysocki 2026-02-09 122 input_free_device(inpu= t); f3f83acc4b2615d Rafael J. Wysocki 2026-02-09 123 goto err_free_button; f3f83acc4b2615d Rafael J. Wysocki 2026-02-09 124 } f3f83acc4b2615d Rafael J. Wysocki 2026-02-09 125 =20 f3f83acc4b2615d Rafael J. Wysocki 2026-02-09 126 error =3D acpi_dev_inst= all_notify_handler(device, ACPI_DEVICE_NOTIFY, f3f83acc4b2615d Rafael J. Wysocki 2026-02-09 127 ebook_switch_notif= y, device); 89ca11771a4b50e Paul Fox 2011-02-03 128 if (error) f3f83acc4b2615d Rafael J. Wysocki 2026-02-09 129 goto err_unregister_in= put; 89ca11771a4b50e Paul Fox 2011-02-03 130 =20 89ca11771a4b50e Paul Fox 2011-02-03 131 ebook_send_state(device= ); 89ca11771a4b50e Paul Fox 2011-02-03 132 =20 89ca11771a4b50e Paul Fox 2011-02-03 133 if (device->wakeup.flag= s.valid) { 89ca11771a4b50e Paul Fox 2011-02-03 134 /* Button's GPE is run= -wake GPE */ 89ca11771a4b50e Paul Fox 2011-02-03 135 acpi_enable_gpe(device= ->wakeup.gpe_device, 89ca11771a4b50e Paul Fox 2011-02-03 136 device->wakeup.gpe_n= umber); 89ca11771a4b50e Paul Fox 2011-02-03 137 device_set_wakeup_enab= le(&device->dev, true); 89ca11771a4b50e Paul Fox 2011-02-03 138 } 89ca11771a4b50e Paul Fox 2011-02-03 139 =20 89ca11771a4b50e Paul Fox 2011-02-03 140 return 0; 89ca11771a4b50e Paul Fox 2011-02-03 141 =20 f3f83acc4b2615d Rafael J. Wysocki 2026-02-09 142 err_unregister_input: f3f83acc4b2615d Rafael J. Wysocki 2026-02-09 143 input_unregister_device= (input); 89ca11771a4b50e Paul Fox 2011-02-03 144 err_free_button: 89ca11771a4b50e Paul Fox 2011-02-03 145 kfree(button); 89ca11771a4b50e Paul Fox 2011-02-03 146 return error; 89ca11771a4b50e Paul Fox 2011-02-03 147 } 89ca11771a4b50e Paul Fox 2011-02-03 148 =20 :::::: The code at line 104 was first introduced by commit :::::: 89ca11771a4b50ed616ab6c37e0ef333d02f1d47 OLPC XO-1.5 ebook switch dr= iver :::::: TO: Paul Fox :::::: CC: Matthew Garrett --=20 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki