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 4A5E0E567 for ; Mon, 20 Jan 2025 03:31:00 +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=1737343863; cv=none; b=tKWySnYy6ThL3NcagWWehoG7SOE7EYpg1YsONf/0TRv69Yedx+RMAJLfF9rOeX8J/McDjYs+G0/WUapJhfREhpDJZ92wvvf4Ee+l3zzzgxLeDFjffTKYx3rcJRcIzUW/YffqZg7I/MdgmVJ8jw+QtGKyt5FG/bRRdWWCujxI45I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737343863; c=relaxed/simple; bh=ZIxfPfJs/ZyhvRRxjjH9r5V3LUJffwXTUH3cg5Pk6+A=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=MZzY0IrlFLVZKZ/TfTy91TcK88XcBjSM2i0Z9jmaa7jaEeeM4RFouuMbEH3rLP4d3doX4VGGQTIJ0ZMcmVEw/vRCp4nTrvGJ9jm5ebKbwjqguR9IBVLtNye6hg91nCO69uL/TDDgddlORGhRSBzB9T7c7mEUheLCORtvRbmPwPw= 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=L6iNw/t+; 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="L6iNw/t+" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1737343861; x=1768879861; h=date:from:to:cc:subject:message-id:mime-version; bh=ZIxfPfJs/ZyhvRRxjjH9r5V3LUJffwXTUH3cg5Pk6+A=; b=L6iNw/t+NUTFFLOxq0AUfxc2ZpZGLri+ZREk7ghh38G9onjP5FZBPt+f eDoDF58BowYiFY81+23SfacicPiMWrXXYTR2gcO0YAvCfI3hOtZA6Ad3k YIHJvXgYCsM0A55gO9PkltmEkEDTXmVlAIefGzsnc2vU9lCtjn3QZq27D EZwhI62CA+zwJMG5p9M/shP1fvcl3JG++S9pDuXsBJzF7ZGZC8TUKEIzt lH2JwOwQjVxspKcOrdT/c9Cz8Dr8hpNfhMTztGmtGa3YwR5FDvOXcWDvU hvB/Jj/n8TRHQgbhrqvJK/z0SbU7etnU2PFQeDV868oSwS70oBBniUcLB A==; X-CSE-ConnectionGUID: 0GNq2l3tTgyx+cMF1I/Alw== X-CSE-MsgGUID: ngop0DjWSMqBmkBD3Ux04g== X-IronPort-AV: E=McAfee;i="6700,10204,11320"; a="48367184" X-IronPort-AV: E=Sophos;i="6.13,218,1732608000"; d="scan'208";a="48367184" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2025 19:31:01 -0800 X-CSE-ConnectionGUID: oow0NTZ2QZ6AGHVhSRxECg== X-CSE-MsgGUID: 7Q7e2cHNRwyz3uem+HPyLA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="129620552" Received: from lkp-server01.sh.intel.com (HELO d63d4d77d921) ([10.239.97.150]) by fmviesa002.fm.intel.com with ESMTP; 19 Jan 2025 19:30:59 -0800 Received: from kbuild by d63d4d77d921 with local (Exim 4.96) (envelope-from ) id 1tZiV7-000W85-15; Mon, 20 Jan 2025 03:30:57 +0000 Date: Mon, 20 Jan 2025 11:30:27 +0800 From: kernel test robot To: Enric Balletbo i Serra Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Lee Jones , Gwendal Grignou Subject: drivers/hid/hid-google-hammer.c:261:36: warning: 'cbas_ec_acpi_ids' defined but not used Message-ID: <202501201141.jctFH5eB-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Enric, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ffd294d346d185b70e28b1a28abe367bbfe53c04 commit: 47f11e0b40e97f373da4efbacee0a9526c816ed5 mfd / platform: cros_ec: Move cros-ec core driver out from MFD date: 5 years ago config: csky-randconfig-r026-20230823 (https://download.01.org/0day-ci/archive/20250120/202501201141.jctFH5eB-lkp@intel.com/config) compiler: csky-linux-gcc (GCC) 12.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250120/202501201141.jctFH5eB-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202501201141.jctFH5eB-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/hid/hid-google-hammer.c:261:36: warning: 'cbas_ec_acpi_ids' defined but not used [-Wunused-const-variable=] 261 | static const struct acpi_device_id cbas_ec_acpi_ids[] = { | ^~~~~~~~~~~~~~~~ vim +/cbas_ec_acpi_ids +261 drivers/hid/hid-google-hammer.c eb1aac4c8744f7 Dmitry Torokhov 2018-10-05 260 eb1aac4c8744f7 Dmitry Torokhov 2018-10-05 @261 static const struct acpi_device_id cbas_ec_acpi_ids[] = { eb1aac4c8744f7 Dmitry Torokhov 2018-10-05 262 { "GOOG000B", 0 }, eb1aac4c8744f7 Dmitry Torokhov 2018-10-05 263 { } eb1aac4c8744f7 Dmitry Torokhov 2018-10-05 264 }; eb1aac4c8744f7 Dmitry Torokhov 2018-10-05 265 MODULE_DEVICE_TABLE(acpi, cbas_ec_acpi_ids); eb1aac4c8744f7 Dmitry Torokhov 2018-10-05 266 :::::: The code at line 261 was first introduced by commit :::::: eb1aac4c8744f75460c34d71b0c73bebf3e8ee5c HID: google: add support tablet mode switch for Whiskers :::::: TO: Dmitry Torokhov :::::: CC: Jiri Kosina -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki