* [PATCH -next] rtc: sysfs: Correct function name hctosys_show()
@ 2021-05-17 4:59 Yang Yingliang
2021-06-20 20:20 ` Alexandre Belloni
0 siblings, 1 reply; 2+ messages in thread
From: Yang Yingliang @ 2021-05-17 4:59 UTC (permalink / raw)
To: linux-kernel, linux-rtc; +Cc: a.zummo, alexandre.belloni
Fix the following make W=1 kernel build warning:
drivers/rtc/sysfs.c:115: warning: expecting prototype for rtc_sysfs_show_hctosys(). Prototype was for hctosys_show() instead
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
drivers/rtc/sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/rtc/sysfs.c b/drivers/rtc/sysfs.c
index 74026f67fdfb..00f1945bcb7e 100644
--- a/drivers/rtc/sysfs.c
+++ b/drivers/rtc/sysfs.c
@@ -102,7 +102,7 @@ max_user_freq_store(struct device *dev, struct device_attribute *attr,
static DEVICE_ATTR_RW(max_user_freq);
/**
- * rtc_sysfs_show_hctosys - indicate if the given RTC set the system time
+ * hctosys_show - indicate if the given RTC set the system time
* @dev: The device that the attribute belongs to.
* @attr: The attribute being read.
* @buf: The result buffer.
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] rtc: sysfs: Correct function name hctosys_show()
2021-05-17 4:59 [PATCH -next] rtc: sysfs: Correct function name hctosys_show() Yang Yingliang
@ 2021-06-20 20:20 ` Alexandre Belloni
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2021-06-20 20:20 UTC (permalink / raw)
To: linux-rtc, linux-kernel, Yang Yingliang; +Cc: Alexandre Belloni, a.zummo
On Mon, 17 May 2021 12:59:01 +0800, Yang Yingliang wrote:
> Fix the following make W=1 kernel build warning:
>
> drivers/rtc/sysfs.c:115: warning: expecting prototype for rtc_sysfs_show_hctosys(). Prototype was for hctosys_show() instead
Applied, thanks!
[1/1] rtc: sysfs: Correct function name hctosys_show()
commit: a8fdbefd75f660b471112d7d0bf583adf78f5c34
Best regards,
--
Alexandre Belloni <alexandre.belloni@bootlin.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-20 20:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17 4:59 [PATCH -next] rtc: sysfs: Correct function name hctosys_show() Yang Yingliang
2021-06-20 20:20 ` Alexandre Belloni
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).