From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 248B2C4167B for ; Sun, 5 Nov 2023 20:08:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229620AbjKEUIW (ORCPT ); Sun, 5 Nov 2023 15:08:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjKEUIU (ORCPT ); Sun, 5 Nov 2023 15:08:20 -0500 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 305E9D8 for ; Sun, 5 Nov 2023 12:08:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699214899; x=1730750899; h=date:from:to:cc:subject:message-id:mime-version; bh=NGpjNOcUdNfKKPZmQwJ0wXjVnDEj0YLKt17JpwCIfkQ=; b=LyAhOsN8GNqY3aIYyKR+f94wJsIER1T/jQJTYozTzdEwy9Q00gP3dqYu fpNKukcByfpmdEEAerFenZYsp7M9xX4F8xHlSsJeH9B6S4vXdGq8LB71W kppjrTWUVMtIOHGMbrwFDQzEwEtcW9fcKMwDf5SBXyx8FG19Nc3EpoDEx rl01V4kVG8vaH4+xyTrVwchxzJq/t7HeeLTjR9EbBiqQxN+XGL+mgmEzX wMu0KqqqK+kmJV+kL90qnIe6YaNypmJF2e/8qNmUUU7xr/OLqRoqcpNHH +Kvt+dqEZ7IzIKhSwaUDV6a3ZvpJvQUeku6yoZMMi7rO0s5vPAi2i99hf g==; X-IronPort-AV: E=McAfee;i="6600,9927,10885"; a="2155069" X-IronPort-AV: E=Sophos;i="6.03,279,1694761200"; d="scan'208";a="2155069" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Nov 2023 12:08:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10885"; a="762127937" X-IronPort-AV: E=Sophos;i="6.03,279,1694761200"; d="scan'208";a="762127937" Received: from lkp-server01.sh.intel.com (HELO 17d9e85e5079) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 05 Nov 2023 12:08:15 -0800 Received: from kbuild by 17d9e85e5079 with local (Exim 4.96) (envelope-from ) id 1qzjPp-0005lA-1g; Sun, 05 Nov 2023 20:08:13 +0000 Date: Mon, 6 Nov 2023 04:06:55 +0800 From: kernel test robot To: Mathieu Othacehe Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Jonathan Cameron Subject: drivers/iio/proximity/isl29501.c:1009:34: warning: 'isl29501_i2c_matches' defined but not used Message-ID: <202311060413.MoUX2fHF-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 77fa2fbe87fc605c4bfa87dff87be9bfded0e9a3 commit: 1c28799257bca28cd5ba715e33157500d6239333 iio: light: isl29501: Add support for the ISL29501 ToF sensor. date: 5 years ago config: x86_64-randconfig-r025-20230725 (https://download.01.org/0day-ci/archive/20231106/202311060413.MoUX2fHF-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231106/202311060413.MoUX2fHF-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/202311060413.MoUX2fHF-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/iio/proximity/isl29501.c:1009:34: warning: 'isl29501_i2c_matches' defined but not used [-Wunused-const-variable=] 1009 | static const struct of_device_id isl29501_i2c_matches[] = { | ^~~~~~~~~~~~~~~~~~~~ vim +/isl29501_i2c_matches +1009 drivers/iio/proximity/isl29501.c 1007 1008 #if defined(CONFIG_OF) > 1009 static const struct of_device_id isl29501_i2c_matches[] = { 1010 { .compatible = "renesas,isl29501" }, 1011 { } 1012 }; 1013 MODULE_DEVICE_TABLE(of, isl29501_i2c_matches); 1014 #endif 1015 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki