Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1256969ybk; Sat, 16 May 2020 05:59:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoolYkJDi6ZQ4qRjxnPrW2sNTiuqDkHUGd6CvTTPGX7YTFv6w5yzP5io4LvMzjNmdwYo9Q X-Received: by 2002:a50:88c6:: with SMTP id d64mr6910419edd.324.1589633996246; Sat, 16 May 2020 05:59:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589633996; cv=none; d=google.com; s=arc-20160816; b=ooMnKZFjZadY/PuyZ85WekvOoGanC2Kv5UfxqBvvsIUcm/ReK5zfWo1TE6UR5jhTHP kGXJsmptlJVOeN26XRn1T4DaeWdTZ3AUD8sLWPV8P5S3w5LLTCPGqQEt4KbinmKCnIa/ Szx63XtlcYVpBYsOYC3X+ocmn9mvaCeHdaacCz05EYQoJbqk9fVK+T7N+tBc67UfAiV3 B+JecfEM1dCkfppJPtiHomjAD+ON0L2BsQiAgRc89tbSSNgGvheDxNfEkZvMiaGVEuIg lFeeiuLyZSr0hTHdW63almzDsf4QmdiyNbNfrMF+pxEbPEFhDsYGhi7rZ1gsVMMB/sIS BL3w== 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:ironport-sdr:ironport-sdr; bh=G7JfTplHi1+6FbZPiupCfdiVzhYS4zd7xnyINhfx0HA=; b=QWp0gHGcDQ5MF+MDulQG5QPo81LO2uW6ezIAHbGH985f18YnJH/1KRRXWmO5Y713lv LaFAkzIuDEldEDm7OwriS8sb3mEtDRg7hvih6gEcsBHarvF4feG0cwCkq+VB/3AjutZq pY+M+n6jRdRVQKKeYx3SgsWyW62DawiABSR1PcNVHhS2AdOLvH8iLHKmbPP2FN575JP7 YorxOyU/HzbK7tuhIQzQkexLe/otm+ZR+y8SXXr4Em69fUo3HGyITv8nMSCAyZZCxacf rOx53AJExJygWFQKsYDvzoDFohvMdDqnz/GZxcmIk90eqV30n8tgOCbzDduwoOU+9u1O y/1w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m7si2787034edv.557.2020.05.16.05.59.33; Sat, 16 May 2020 05:59:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726425AbgEPMzn (ORCPT + 99 others); Sat, 16 May 2020 08:55:43 -0400 Received: from mga09.intel.com ([134.134.136.24]:44093 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726237AbgEPMzm (ORCPT ); Sat, 16 May 2020 08:55:42 -0400 IronPort-SDR: 5VDLdr00A4ic7OpXSkaNZdKMh7MD0FHLH/HZXDERePDS7SbSoiCF0jXjJSw0sjyp/Z1M7IEapf rbirqJPnelqQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2020 05:55:42 -0700 IronPort-SDR: yvN0SmOZJHqQmoYtjm5IXoaI46heARkHG7baRSf11Og0i45uTzKHgSDrNEzfOajO8f78C1Q4Kq YnuBNvBDDdlQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,398,1583222400"; d="scan'208";a="410756982" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 16 May 2020 05:55:39 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1jZwLr-000AZ3-5p; Sat, 16 May 2020 20:55:39 +0800 Date: Sat, 16 May 2020 20:55:05 +0800 From: kbuild test robot To: Daniel Lezcano , rui.zhang@intel.com Cc: kbuild-all@lists.01.org, amit.kucheria@verdurent.com, srinivas.pandruvada@linux.intel.com, arnd@arndb.de, rkumbako@codeaurora.org, ilina@codeaurora.org, linux-pm@vger.kernel.org, open list Subject: [RFC PATCH] thermal: core: thermal_genl_sampling_temp() can be static Message-ID: <20200516125505.GA16652@aae4cc650884> References: <20200515141034.19154-4-daniel.lezcano@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200515141034.19154-4-daniel.lezcano@linaro.org> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: kbuild test robot --- thermal_netlink.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/thermal/thermal_netlink.c b/drivers/thermal/thermal_netlink.c index a2bce846771e4..851db26e66465 100644 --- a/drivers/thermal/thermal_netlink.c +++ b/drivers/thermal/thermal_netlink.c @@ -66,7 +66,7 @@ static struct genl_family thermal_gnl_family; /************************** Sampling encoding *******************************/ -int thermal_genl_sampling_temp(int id, int temp) +static int thermal_genl_sampling_temp(int id, int temp) { struct sk_buff *skb; void *hdr; @@ -506,7 +506,7 @@ static cb_t cmd_cb[] = { [THERMAL_GENL_CMD_CDEV_GET] = thermal_genl_cmd_cdev_get, }; -int thermal_genl_cmd_dumpit(struct sk_buff *skb, struct netlink_callback *cb) +static int thermal_genl_cmd_dumpit(struct sk_buff *skb, struct netlink_callback *cb) { struct param p = { .msg = skb }; const struct genl_dumpit_info *info = genl_dumpit_info(cb); @@ -532,7 +532,7 @@ int thermal_genl_cmd_dumpit(struct sk_buff *skb, struct netlink_callback *cb) return ret; } -int thermal_genl_cmd_doit(struct sk_buff *skb, struct genl_info *info) +static int thermal_genl_cmd_doit(struct sk_buff *skb, struct genl_info *info) { struct param p = { .attrs = info->attrs }; struct sk_buff *msg;