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 X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71295C433DB for ; Tue, 30 Mar 2021 09:11:31 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 12BC56195D for ; Tue, 30 Mar 2021 09:11:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 12BC56195D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 846DD6B0085; Tue, 30 Mar 2021 05:11:30 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7F7436B0087; Tue, 30 Mar 2021 05:11:30 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 699FD6B0088; Tue, 30 Mar 2021 05:11:30 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0109.hostedemail.com [216.40.44.109]) by kanga.kvack.org (Postfix) with ESMTP id 4944C6B0085 for ; Tue, 30 Mar 2021 05:11:30 -0400 (EDT) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 098A18249980 for ; Tue, 30 Mar 2021 09:11:30 +0000 (UTC) X-FDA: 77975972340.15.E25964D Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by imf19.hostedemail.com (Postfix) with ESMTP id 8955190009EA for ; Tue, 30 Mar 2021 09:11:21 +0000 (UTC) IronPort-SDR: mpswhPPiBWhF6gquS5MjJyTmiMr4GsWYjTaiIQZ/vfA9IsS3OocwnN+gPH2KXx/IlxXcYm79KE p8MyAr7yGwXg== X-IronPort-AV: E=McAfee;i="6000,8403,9938"; a="171130587" X-IronPort-AV: E=Sophos;i="5.81,290,1610438400"; d="scan'208";a="171130587" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2021 02:11:28 -0700 IronPort-SDR: O0sJ8Xyqkh70WaHzZKdmtJsXz3DLYaQQNQSefRmwVolhxJHoG4DTwSmhiJJJ3rISvRnCwbmro/ cIlGf3oyt+Mw== X-IronPort-AV: E=Sophos;i="5.81,290,1610438400"; d="scan'208";a="376768019" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2021 02:11:26 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1lRAPD-00HHjH-2v; Tue, 30 Mar 2021 12:11:23 +0300 Date: Tue, 30 Mar 2021 12:11:23 +0300 From: Andy Shevchenko To: kernel test robot Cc: Bartosz Golaszewski , kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, Linux Memory Management List , Linus Walleij Subject: Re: [linux-next:master 7313/8469] drivers/gpio/gpio-sim.c:388:34: warning: unused variable 'gpio_sim_of_match' Message-ID: References: <202103301259.dhlOOcXV-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202103301259.dhlOOcXV-lkp@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Rspamd-Queue-Id: 8955190009EA X-Stat-Signature: rnd51g434tftoa971ipzs5ekghireyui X-Rspamd-Server: rspam02 Received-SPF: none (linux.intel.com>: No applicable sender policy available) receiver=imf19; identity=mailfrom; envelope-from=""; helo=mga12.intel.com; client-ip=192.55.52.136 X-HE-DKIM-Result: none/none X-HE-Tag: 1617095481-134405 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Mar 30, 2021 at 12:15:04PM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 9d49ed9ca93b8c564033c1d6808017bc9052b5db > commit: 3f0279eb9e3767f37939358a42054c226503233a [7313/8469] gpio: sim: new testing module > config: arm-randconfig-r001-20210330 (attached as .config) > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 482283042f795ecc27838a3b2f76b5494991401c) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # install arm cross compiling tool for clang build > # apt-get install binutils-arm-linux-gnueabi > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3f0279eb9e3767f37939358a42054c226503233a > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 3f0279eb9e3767f37939358a42054c226503233a > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> drivers/gpio/gpio-sim.c:388:34: warning: unused variable 'gpio_sim_of_match' [-Wunused-const-variable] > static const struct of_device_id gpio_sim_of_match[] = { > ^ > 1 warning generated. of_match_ptr() should be removed AFAIU the case. > vim +/gpio_sim_of_match +388 drivers/gpio/gpio-sim.c > > 387 > > 388 static const struct of_device_id gpio_sim_of_match[] = { > 389 { .compatible = "gpio-simulator" }, > 390 { } > 391 }; > 392 MODULE_DEVICE_TABLE(of, gpio_sim_of_match); > 393 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org -- With Best Regards, Andy Shevchenko