From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 439B519E73 for ; Tue, 16 May 2023 06:01:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684216876; x=1715752876; h=date:from:to:cc:subject:message-id:mime-version; bh=8VEKYA38dKoRRJb0SgxehtThztANKSBzjhJe4qKwW7E=; b=CPjU7ukjs51Nd3d7MkcgPT/udtj5DSOk7LakjIBzpwFChvIvivbQQlNM dLJQZSB2ibtDB/Az8LKr8kdnAFAAMXf3FXKTeIj8hFS0AKcvn76QWZnEM grWcrFFEgIZz0un+qTHnW7f1H9B+54z7zrM4FCRvr5qne/TG9LEAJdbq9 fQZdXl1/oKP567jPU5ANdLdplZGUpARgHGCI5S0naQ2uaRGN3uo/1w93n R2qYBubZTmRPb/Cqmd1xK5+mr3l/qP6VxTaVChbpooMlEFepE3w64ldhn 3H5zE9xI+funniYQbEIKUXz+NOo8j8qAlO2Hvxcy1CuSm3xat3oHOaJQm Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10711"; a="340755935" X-IronPort-AV: E=Sophos;i="5.99,277,1677571200"; d="scan'208";a="340755935" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 May 2023 23:01:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10711"; a="947709819" X-IronPort-AV: E=Sophos;i="5.99,277,1677571200"; d="scan'208";a="947709819" Received: from lkp-server01.sh.intel.com (HELO dea6d5a4f140) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 15 May 2023 23:01:02 -0700 Received: from kbuild by dea6d5a4f140 with local (Exim 4.96) (envelope-from ) id 1pynk0-00073M-1U; Tue, 16 May 2023 06:00:56 +0000 Date: Tue, 16 May 2023 14:00:18 +0800 From: kernel test robot To: Neeraj Sanjay Kale Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Luiz Augusto von Dentz , Ilpo =?iso-8859-1?Q?J=E4rvinen?= Subject: drivers/bluetooth/btnxpuart.c:1277:34: warning: 'nxpuart_of_match_table' defined but not used Message-ID: <202305161345.eClvTYQ9-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6 commit: 689ca16e523278470c38832a3010645a78c544d8 Bluetooth: NXP: Add protocol support for NXP Bluetooth chipsets date: 3 weeks ago config: i386-randconfig-i085 (https://download.01.org/0day-ci/archive/20230516/202305161345.eClvTYQ9-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=689ca16e523278470c38832a3010645a78c544d8 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 689ca16e523278470c38832a3010645a78c544d8 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 olddefconfig make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/bluetooth/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202305161345.eClvTYQ9-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/bluetooth/btnxpuart.c:1277:34: warning: 'nxpuart_of_match_table' defined but not used [-Wunused-const-variable=] 1277 | static const struct of_device_id nxpuart_of_match_table[] = { | ^~~~~~~~~~~~~~~~~~~~~~ vim +/nxpuart_of_match_table +1277 drivers/bluetooth/btnxpuart.c 1276 > 1277 static const struct of_device_id nxpuart_of_match_table[] = { 1278 { .compatible = "nxp,88w8987-bt", .data = &w8987_data }, 1279 { .compatible = "nxp,88w8997-bt", .data = &w8997_data }, 1280 { } 1281 }; 1282 MODULE_DEVICE_TABLE(of, nxpuart_of_match_table); 1283 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests