Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp1629408imi; Sat, 23 Jul 2022 11:49:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t5opcICnDZQqB0HdvbXM1CfYl/Pxm8xjllkrHlLmQ5tdq+bx8VL5s717p+S4xuoj3HEFuC X-Received: by 2002:a05:6402:4516:b0:43b:c806:6346 with SMTP id ez22-20020a056402451600b0043bc8066346mr5516192edb.52.1658602150636; Sat, 23 Jul 2022 11:49:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658602150; cv=none; d=google.com; s=arc-20160816; b=I0PkxooTSLlaW8Auwp9apgTPaF/2GUMKG3bVzQulhq0ygET1QdvtZ/1RSLVhXQzklr a1Z2uL7z9wH2y2q4Gj9oQas2WcNkpodY92TY74kLfZJcsh+4+7sebfC70JwV9Xx8oItD 75WiJpFD5n9Lrx9AnXXhHuWwnjv7y9Vzjo1cPsJIev9ZV+jJMUlB+shA1xKZmfwhWrDy frQdt//QY/+Kxd3DYmfIsul/IVRzplCoLpq5gjPZPypHPaS1C/iWxPCB1bc42XleozHG J7sDZd2pWP633m6pB+GCMQzlU3vHMS3bUVOTGZt+Cwh2MY0XzsuHdo8CzY3Led8tXArY z0Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=4/NQVgmnqzmIbRWB+xrM4wc/pKgbgUMBt3Ieu10vaEg=; b=TFKYYxmtx/XiorXu2U71oqYyqIjRS7VYv+8rtcqrF8EM9n8ZLWAHsMJ1GKlotBOWAi sOpL0hk1TpkGT3tDdmLGjSHvW422s8H70eYv6c9+YbyWW8AO6/Y/jA04orASm42Qps8c sXgn0ipv5d6rR7dOuGhKh+milz3OpB/vr7gIcbA8Tvx5FnpzG8W1RSCAbRzMTD+LHPD3 a1bJquMLplfJvk3OPPjY89UAqebKh1cVTIAt9i+93gv3HllbrMmQzj/nBm7I80sYY0uz ObKi+MLm7lXBrQbRGc4wH/PmazPoQkRF3L3Sex67iFrSe8vKmulDa9/NJBXPh+jYINSn LNwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="AkVqVl/e"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt15-20020a170907728f00b0072aa56cd0a3si10065178ejc.28.2022.07.23.11.48.45; Sat, 23 Jul 2022 11:49:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="AkVqVl/e"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238222AbiGWShs (ORCPT + 99 others); Sat, 23 Jul 2022 14:37:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234991AbiGWShq (ORCPT ); Sat, 23 Jul 2022 14:37:46 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 162A818B2B for ; Sat, 23 Jul 2022 11:37:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658601466; x=1690137466; h=date:from:to:cc:subject:message-id:mime-version; bh=uQL5QhpeAoVHlgqTor7WE5xP814hbCKUtqsReiBGVLo=; b=AkVqVl/enlZp7GCpXCXDmpTsFc7rzyCD4mRsFAjgZsS2KdwfLL5A65jB acPgytQnnQtWK+WXhvRmsPi+9AcmawXtkO3w3igm5HoBhTr6PyFhtqMMf oSAadAswO5yR5eNDcuyvbbpdxBmzlDr4QjQTTuJV/ZAhpfZmx7dNgyA4T wpQxaszcpU8iyN1cgZLtDa6YmkUgn+MKboV7N1aZUjb/9PBY8xR4/RKxW VlUtUtlkLfZrFLR5+DAvhJKftC3+BlyF08CLmda/X88cpA4f89CV2X5z7 a5cYe/ICqhnbkoa0W85ifFpSdWrjrPVbMMNPsx5IhRq6WdragV1BflrAj Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10417"; a="274345253" X-IronPort-AV: E=Sophos;i="5.93,189,1654585200"; d="scan'208";a="274345253" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2022 11:37:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,189,1654585200"; d="scan'208";a="688608798" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 23 Jul 2022 11:37:44 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oFK0V-0002xl-0r; Sat, 23 Jul 2022 18:37:43 +0000 Date: Sun, 24 Jul 2022 02:37:15 +0800 From: kernel test robot To: Sean Wang Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Matthias Brugger , Jean Delvare Subject: drivers/regulator/mt6380-regulator.c:333:34: warning: 'mt6380_of_match' defined but not used Message-ID: <202207240252.ZY5hSCNB-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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: 515f71412bb73ebd7f41f90e1684fc80b8730789 commit: 31d7b359a94b8c96e54c6e3b438e6c7b65b9acb1 soc: mediatek: place Kconfig for all SoC drivers under menu date: 4 years, 9 months ago config: i386-buildonly-randconfig-r004-20220718 (https://download.01.org/0day-ci/archive/20220724/202207240252.ZY5hSCNB-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-3) 11.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=31d7b359a94b8c96e54c6e3b438e6c7b65b9acb1 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 31d7b359a94b8c96e54c6e3b438e6c7b65b9acb1 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/crypto/ drivers/i2c/busses/ drivers/mailbox/ drivers/misc/eeprom/ drivers/regulator/ drivers/soc/mediatek/ drivers/soc/qcom/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/regulator/mt6380-regulator.c:333:34: warning: 'mt6380_of_match' defined but not used [-Wunused-const-variable=] 333 | static const struct of_device_id mt6380_of_match[] = { | ^~~~~~~~~~~~~~~ -- >> drivers/soc/mediatek/mtk-pmic-wrap.c:1436:34: warning: 'of_pwrap_match_tbl' defined but not used [-Wunused-const-variable=] 1436 | static const struct of_device_id of_pwrap_match_tbl[] = { | ^~~~~~~~~~~~~~~~~~ >> drivers/soc/mediatek/mtk-pmic-wrap.c:1370:34: warning: 'of_slave_match_tbl' defined but not used [-Wunused-const-variable=] 1370 | static const struct of_device_id of_slave_match_tbl[] = { | ^~~~~~~~~~~~~~~~~~ vim +/mt6380_of_match +333 drivers/regulator/mt6380-regulator.c a551e27368dea2 Chenglin Xu 2017-08-15 332 a551e27368dea2 Chenglin Xu 2017-08-15 @333 static const struct of_device_id mt6380_of_match[] = { a551e27368dea2 Chenglin Xu 2017-08-15 334 { .compatible = "mediatek,mt6380-regulator", }, a551e27368dea2 Chenglin Xu 2017-08-15 335 { /* sentinel */ }, a551e27368dea2 Chenglin Xu 2017-08-15 336 }; a551e27368dea2 Chenglin Xu 2017-08-15 337 MODULE_DEVICE_TABLE(of, mt6380_of_match); a551e27368dea2 Chenglin Xu 2017-08-15 338 :::::: The code at line 333 was first introduced by commit :::::: a551e27368dea202cbef3e8861c21d965427cfe6 regulator: mt6380: Add support for MT6380 :::::: TO: Chenglin Xu :::::: CC: Mark Brown -- 0-DAY CI Kernel Test Service https://01.org/lkp