linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] alarmtimer: fixed comments describing structure fields
@ 2016-06-14  9:00 Pratyush Patel
  2016-06-17 20:53 ` John Stultz
  0 siblings, 1 reply; 2+ messages in thread
From: Pratyush Patel @ 2016-06-14  9:00 UTC (permalink / raw)
  To: john.stultz; +Cc: tglx, linux-kernel, kernel-janitors

Updated struct alarm and struct alarm_timer descriptions.

Signed-off-by: Pratyush Patel <pratyushpatel.1995@gmail.com>
---
 include/linux/alarmtimer.h | 6 +++---
 kernel/time/alarmtimer.c   | 1 -
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/include/linux/alarmtimer.h b/include/linux/alarmtimer.h
index 52f3b7d..9d80312 100644
--- a/include/linux/alarmtimer.h
+++ b/include/linux/alarmtimer.h
@@ -26,10 +26,10 @@ enum alarmtimer_restart {
  * struct alarm - Alarm timer structure
  * @node:	timerqueue node for adding to the event list this value
  *		also includes the expiration time.
- * @period:	Period for recuring alarms
+ * @timer:	hrtimer used to schedule events while running
  * @function:	Function pointer to be executed when the timer fires.
- * @type:	Alarm type (BOOTTIME/REALTIME)
- * @enabled:	Flag that represents if the alarm is set to fire or not
+ * @type:	Alarm type (BOOTTIME/REALTIME).
+ * @state:	Flag that represents if the alarm is set to fire or not.
  * @data:	Internal data value.
  */
 struct alarm {
diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c
index e840ed8..c3aad68 100644
--- a/kernel/time/alarmtimer.c
+++ b/kernel/time/alarmtimer.c
@@ -30,7 +30,6 @@
  * struct alarm_base - Alarm timer bases
  * @lock:		Lock for syncrhonized access to the base
  * @timerqueue:		Timerqueue head managing the list of events
- * @timer: 		hrtimer used to schedule events while running
  * @gettime:		Function to read the time correlating to the base
  * @base_clockid:	clockid for the base
  */
-- 
2.7.4

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

* Re: [PATCH] alarmtimer: fixed comments describing structure fields
  2016-06-14  9:00 [PATCH] alarmtimer: fixed comments describing structure fields Pratyush Patel
@ 2016-06-17 20:53 ` John Stultz
  0 siblings, 0 replies; 2+ messages in thread
From: John Stultz @ 2016-06-17 20:53 UTC (permalink / raw)
  To: Pratyush Patel; +Cc: Thomas Gleixner, lkml, kernel-janitors

On Tue, Jun 14, 2016 at 2:00 AM, Pratyush Patel
<pratyushpatel.1995@gmail.com> wrote:
> Updated struct alarm and struct alarm_timer descriptions.
>
> Signed-off-by: Pratyush Patel <pratyushpatel.1995@gmail.com>


Queued. Thanks for submitting this!
-john

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

end of thread, other threads:[~2016-06-17 20:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-14  9:00 [PATCH] alarmtimer: fixed comments describing structure fields Pratyush Patel
2016-06-17 20:53 ` John Stultz

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).