Received: by 10.223.185.116 with SMTP id b49csp1590636wrg; Wed, 21 Feb 2018 23:03:48 -0800 (PST) X-Google-Smtp-Source: AH8x227fLVGMxpnmq0cSqDyAmWzZYDQCMYLy21BZAg7y1xohSnNXRCbXODlUNNiJ6yPJ8JE7GppN X-Received: by 10.98.220.207 with SMTP id c76mr5843332pfl.159.1519283028368; Wed, 21 Feb 2018 23:03:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519283028; cv=none; d=google.com; s=arc-20160816; b=lEBbqtHDk0O9lvGfYIKRam4NJ5kB5fK495kj3UxX0qczkY8sevL6LZrYNk34eSw4es 58+G9rSPk03lTdT+tk7PW2T1GhaAQ3yCHAKJGpMDnhVEDfzBF0d+vKIYioPJaMexlM/M ZMyreBg5XJW+Z853xZ6W0C6nh+sWUay/NhAtJT47qK4LIYrC5fla2Sx9b4YCO/BQixAY EcQ+39zcW2Rx6CanLB7Vi0jlZvpns1+tr4UPrUN1ayKYSuBZiEtFOx8wbBbnef6D+3la 42Hq0u3WH5iNC9zmJ9QIvzLr2tCd4maqpKCJ3Xl6WREQKTiH6Pp8nbAf1e+8neDGJdvd vm7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=ljLfTVYNCMSU3x5DQZkRCHOxalp1pGhRCZ2vlnXeNds=; b=UihWrEUm8BpVI7/HnwUDx+ejz8eCrHMgTqpDcPRw0Kje+vt7pvWxA+Bz9zIk8EW2mf jgCVAvWYwcZRKY7ojYnvAftyo5Ip8VCcYvfj2NDsWMF0hr0MsqpLLyrOCoifcD85oTnw 6aTijKQePWz4e7WdfxHP3SbJ/nbPT8dvk2KboZBK0pBS+t8PNAWtoI1VFZ04yN5xcYnF U6ETxTRNYwC5k2FT3EG73h7ZncZ1wp+Lb75O3ay9vwmAE70RwOxrmDpsitU1MtpQ7ATb /AlG9pgphKGAQ/7Rldas++oQcfaYOawLprxdIK8m4m0dgf2huwNUGVrx4sQoe371rtuC THiQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f69si780908pfd.211.2018.02.21.23.03.34; Wed, 21 Feb 2018 23:03:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751886AbeBVHCL (ORCPT + 99 others); Thu, 22 Feb 2018 02:02:11 -0500 Received: from mga14.intel.com ([192.55.52.115]:31082 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751217AbeBVHCI (ORCPT ); Thu, 22 Feb 2018 02:02:08 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Feb 2018 23:02:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,377,1515484800"; d="scan'208";a="28939083" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by FMSMGA003.fm.intel.com with ESMTP; 21 Feb 2018 23:02:05 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1eoktS-0009Sy-Ti; Thu, 22 Feb 2018 15:02:14 +0800 Date: Thu, 22 Feb 2018 15:01:11 +0800 From: kbuild test robot To: Jae Hyun Yoo Cc: kbuild-all@01.org, joel@jms.id.au, andrew@aj.id.au, arnd@arndb.de, gregkh@linuxfoundation.org, jdelvare@suse.com, linux@roeck-us.net, benh@kernel.crashing.org, andrew@lunn.ch, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-arm-kernel@lists.infradead.org, openbmc@lists.ozlabs.org, Jae Hyun Yoo Subject: [RFC PATCH] drivers/peci: peci_match_id() can be static Message-ID: <20180222070111.GA22310@lkp-ne02> References: <20180221161606.32247-2-jae.hyun.yoo@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180221161606.32247-2-jae.hyun.yoo@linux.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes: 99f5d2b99ecd ("drivers/peci: Add support for PECI bus driver core") Signed-off-by: Fengguang Wu --- peci-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/peci/peci-core.c b/drivers/peci/peci-core.c index d976c73..4709b8c 100644 --- a/drivers/peci/peci-core.c +++ b/drivers/peci/peci-core.c @@ -770,8 +770,8 @@ peci_of_match_device(const struct of_device_id *matches, } #endif -const struct peci_device_id *peci_match_id(const struct peci_device_id *id, - struct peci_client *client) +static const struct peci_device_id *peci_match_id(const struct peci_device_id *id, + struct peci_client *client) { if (!(id && client)) return NULL;