public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hrtimer/trivial: Fix comment text in hrtimer.c
@ 2013-03-13 19:20 David Daney
  2013-03-25  9:57 ` [tip:timers/core] " tip-bot for David Daney
  0 siblings, 1 reply; 2+ messages in thread
From: David Daney @ 2013-03-13 19:20 UTC (permalink / raw)
  To: Jiri Kosina, Thomas Gleixner; +Cc: linux-kernel, David Daney

From: David Daney <david.daney@cavium.com>

The comments mention HRTIMER_ABS and HRTIMER_REL, these symbols don't
exist, the proper names are HRTIMER_MODE_ABS and HRTIMER_MODE_REL.

Signed-off-by: David Daney <david.daney@cavium.com>
---
 kernel/hrtimer.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index 6db7a5e..f749bb9 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -1008,7 +1008,8 @@ int __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim,
  * @timer:	the timer to be added
  * @tim:	expiry time
  * @delta_ns:	"slack" range for the timer
- * @mode:	expiry mode: absolute (HRTIMER_ABS) or relative (HRTIMER_REL)
+ * @mode:	expiry mode: absolute (HRTIMER_MODE_ABS) or
+ *		relative (HRTIMER_MODE_REL)
  *
  * Returns:
  *  0 on success
@@ -1025,7 +1026,8 @@ EXPORT_SYMBOL_GPL(hrtimer_start_range_ns);
  * hrtimer_start - (re)start an hrtimer on the current CPU
  * @timer:	the timer to be added
  * @tim:	expiry time
- * @mode:	expiry mode: absolute (HRTIMER_ABS) or relative (HRTIMER_REL)
+ * @mode:	expiry mode: absolute (HRTIMER_MODE_ABS) or
+ *		relative (HRTIMER_MODE_REL)
  *
  * Returns:
  *  0 on success
-- 
1.7.11.7


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [tip:timers/core] hrtimer/trivial: Fix comment text in hrtimer.c
  2013-03-13 19:20 [PATCH] hrtimer/trivial: Fix comment text in hrtimer.c David Daney
@ 2013-03-25  9:57 ` tip-bot for David Daney
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for David Daney @ 2013-03-25  9:57 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, hpa, mingo, trivial, ddaney.cavm, david.daney, tglx

Commit-ID:  8ffbc7d9ff0064ce000788272a609fa79d06ead1
Gitweb:     http://git.kernel.org/tip/8ffbc7d9ff0064ce000788272a609fa79d06ead1
Author:     David Daney <ddaney.cavm@gmail.com>
AuthorDate: Wed, 13 Mar 2013 12:20:38 -0700
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Mon, 25 Mar 2013 10:46:59 +0100

hrtimer/trivial: Fix comment text in hrtimer.c

The comments mention HRTIMER_ABS and HRTIMER_REL, these symbols don't
exist, the proper names are HRTIMER_MODE_ABS and HRTIMER_MODE_REL.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: Jiri Kosina <trivial@kernel.org>
Link: http://lkml.kernel.org/r/1363202438-21234-1-git-send-email-ddaney.cavm@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 kernel/hrtimer.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index cc47812..031184e 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -1010,7 +1010,8 @@ int __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim,
  * @timer:	the timer to be added
  * @tim:	expiry time
  * @delta_ns:	"slack" range for the timer
- * @mode:	expiry mode: absolute (HRTIMER_ABS) or relative (HRTIMER_REL)
+ * @mode:	expiry mode: absolute (HRTIMER_MODE_ABS) or
+ *		relative (HRTIMER_MODE_REL)
  *
  * Returns:
  *  0 on success
@@ -1027,7 +1028,8 @@ EXPORT_SYMBOL_GPL(hrtimer_start_range_ns);
  * hrtimer_start - (re)start an hrtimer on the current CPU
  * @timer:	the timer to be added
  * @tim:	expiry time
- * @mode:	expiry mode: absolute (HRTIMER_ABS) or relative (HRTIMER_REL)
+ * @mode:	expiry mode: absolute (HRTIMER_MODE_ABS) or
+ *		relative (HRTIMER_MODE_REL)
  *
  * Returns:
  *  0 on success

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-25  9:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-13 19:20 [PATCH] hrtimer/trivial: Fix comment text in hrtimer.c David Daney
2013-03-25  9:57 ` [tip:timers/core] " tip-bot for David Daney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox