From: kbuild test robot <lkp@intel.com>
To: Daniel Lezcano <daniel.lezcano@linaro.org>, 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 <linux-kernel@vger.kernel.org>
Subject: [RFC PATCH] thermal: core: thermal_genl_sampling_temp() can be static
Date: Sat, 16 May 2020 20:55:05 +0800 [thread overview]
Message-ID: <20200516125505.GA16652@aae4cc650884> (raw)
In-Reply-To: <20200515141034.19154-4-daniel.lezcano@linaro.org>
Signed-off-by: kbuild test robot <lkp@intel.com>
---
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;
next prev parent reply other threads:[~2020-05-16 12:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-15 14:10 [PATCH 1/4] thermal: core: Add helpers to browse the cdev, tz and governor list Daniel Lezcano
2020-05-15 14:10 ` [PATCH 2/4] thermal: core: Get thermal zone by id Daniel Lezcano
2020-05-15 14:10 ` [PATCH 3/4] thermal: core: Remove old uapi generic netlink Daniel Lezcano
2020-05-15 14:10 ` [PATCH 4/4] thermal: core: genetlink support for events/cmd/sampling Daniel Lezcano
2020-05-15 14:42 ` Srinivas Pandruvada
2020-05-15 14:43 ` Srinivas Pandruvada
2020-05-15 15:09 ` Daniel Lezcano
2020-05-16 12:55 ` kbuild test robot [this message]
2020-05-19 18:11 ` kbuild test robot
2020-05-27 22:04 ` Ram Chandrasekar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200516125505.GA16652@aae4cc650884 \
--to=lkp@intel.com \
--cc=amit.kucheria@verdurent.com \
--cc=arnd@arndb.de \
--cc=daniel.lezcano@linaro.org \
--cc=ilina@codeaurora.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rkumbako@codeaurora.org \
--cc=rui.zhang@intel.com \
--cc=srinivas.pandruvada@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).