* [PATCH -next] clocksource/drivers/timer-ti-dm: Fix some kernel-doc comments
@ 2022-10-14 9:13 Yang Li
2022-10-14 13:09 ` Bagas Sanjaya
0 siblings, 1 reply; 3+ messages in thread
From: Yang Li @ 2022-10-14 9:13 UTC (permalink / raw)
To: daniel.lezcano; +Cc: tglx, linux-kernel, Yang Li, Abaci Robot
Fix some kernel-doc comments.
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2399
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
drivers/clocksource/timer-ti-dm.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource/timer-ti-dm.c
index cad29ded3a48..574c88584fbf 100644
--- a/drivers/clocksource/timer-ti-dm.c
+++ b/drivers/clocksource/timer-ti-dm.c
@@ -181,8 +181,7 @@ static inline u32 dmtimer_read(struct dmtimer *timer, u32 reg)
/**
* dmtimer_write - write timer registers in posted and non-posted mode
* @timer: timer pointer over which write operation is to perform
- * @reg: lowest byte holds the register offset
- * @value: data to write into the register
+ * @val: data to write into the register
*
* The posted mode bit is encoded in reg. Note that in posted mode, the write
* pending bit must be checked. Otherwise a write on a register which has a
@@ -925,7 +924,7 @@ static int omap_dm_timer_set_int_enable(struct omap_dm_timer *cookie,
/**
* omap_dm_timer_set_int_disable - disable timer interrupts
- * @timer: pointer to timer handle
+ * @cookie: pointer to omap dm timer handle
* @mask: bit mask of interrupts to be disabled
*
* Disables the specified timer interrupts for a timer.
--
2.20.1.7.g153144c
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next] clocksource/drivers/timer-ti-dm: Fix some kernel-doc comments
2022-10-14 9:13 [PATCH -next] clocksource/drivers/timer-ti-dm: Fix some kernel-doc comments Yang Li
@ 2022-10-14 13:09 ` Bagas Sanjaya
2022-10-14 20:49 ` Randy Dunlap
0 siblings, 1 reply; 3+ messages in thread
From: Bagas Sanjaya @ 2022-10-14 13:09 UTC (permalink / raw)
To: Yang Li; +Cc: daniel.lezcano, tglx, linux-kernel, Abaci Robot
[-- Attachment #1: Type: text/plain, Size: 2054 bytes --]
On Fri, Oct 14, 2022 at 05:13:57PM +0800, Yang Li wrote:
> Fix some kernel-doc comments.
>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2399
What fix are you doing below? Please describe (should contain warning
messages from bugzilla link above).
---- ranting ----
When I see social media posts, I often see "Link in bio" phrase. That
is, instead of posting the full link, the link is placed on URL section
of a poster's bio and a pointer to it is phrased in relevant posts. What
if such "link in bio" link changes? The older posts which points to
different link than in the bio become irrelevant.
I would rather just spell the full link in my posts instead for
posterity.
---- end ranting ----
> diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource/timer-ti-dm.c
> index cad29ded3a48..574c88584fbf 100644
> --- a/drivers/clocksource/timer-ti-dm.c
> +++ b/drivers/clocksource/timer-ti-dm.c
> @@ -181,8 +181,7 @@ static inline u32 dmtimer_read(struct dmtimer *timer, u32 reg)
> /**
> * dmtimer_write - write timer registers in posted and non-posted mode
> * @timer: timer pointer over which write operation is to perform
> - * @reg: lowest byte holds the register offset
> - * @value: data to write into the register
> + * @val: data to write into the register
> *
> * The posted mode bit is encoded in reg. Note that in posted mode, the write
> * pending bit must be checked. Otherwise a write on a register which has a
> @@ -925,7 +924,7 @@ static int omap_dm_timer_set_int_enable(struct omap_dm_timer *cookie,
>
> /**
> * omap_dm_timer_set_int_disable - disable timer interrupts
> - * @timer: pointer to timer handle
> + * @cookie: pointer to omap dm timer handle
> * @mask: bit mask of interrupts to be disabled
> *
> * Disables the specified timer interrupts for a timer.
Seems like two different fixes, right? These should be splitted into its
own patch.
Thanks.
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] clocksource/drivers/timer-ti-dm: Fix some kernel-doc comments
2022-10-14 13:09 ` Bagas Sanjaya
@ 2022-10-14 20:49 ` Randy Dunlap
0 siblings, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2022-10-14 20:49 UTC (permalink / raw)
To: Bagas Sanjaya, Yang Li; +Cc: daniel.lezcano, tglx, linux-kernel, Abaci Robot
On 10/14/22 06:09, Bagas Sanjaya wrote:
> On Fri, Oct 14, 2022 at 05:13:57PM +0800, Yang Li wrote:
>> Fix some kernel-doc comments.
>>
>> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2399
>
> What fix are you doing below? Please describe (should contain warning
> messages from bugzilla link above).
Yeah, we don't need that link, just the warning messages themselves.
> ---- ranting ----
> When I see social media posts, I often see "Link in bio" phrase. That
> is, instead of posting the full link, the link is placed on URL section
> of a poster's bio and a pointer to it is phrased in relevant posts. What
> if such "link in bio" link changes? The older posts which points to
> different link than in the bio become irrelevant.
>
> I would rather just spell the full link in my posts instead for
> posterity.
> ---- end ranting ----
>
>> diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource/timer-ti-dm.c
>> index cad29ded3a48..574c88584fbf 100644
>> --- a/drivers/clocksource/timer-ti-dm.c
>> +++ b/drivers/clocksource/timer-ti-dm.c
>> @@ -181,8 +181,7 @@ static inline u32 dmtimer_read(struct dmtimer *timer, u32 reg)
>> /**
>> * dmtimer_write - write timer registers in posted and non-posted mode
>> * @timer: timer pointer over which write operation is to perform
>> - * @reg: lowest byte holds the register offset
>> - * @value: data to write into the register
>> + * @val: data to write into the register
>> *
>> * The posted mode bit is encoded in reg. Note that in posted mode, the write
>> * pending bit must be checked. Otherwise a write on a register which has a
>> @@ -925,7 +924,7 @@ static int omap_dm_timer_set_int_enable(struct omap_dm_timer *cookie,
>>
>> /**
>> * omap_dm_timer_set_int_disable - disable timer interrupts
>> - * @timer: pointer to timer handle
>> + * @cookie: pointer to omap dm timer handle
>> * @mask: bit mask of interrupts to be disabled
>> *
>> * Disables the specified timer interrupts for a timer.
>
> Seems like two different fixes, right? These should be splitted into its
> own patch.
That's up to the maintainer IMO.
If I were making this patch, it would be as above, just one patch.
--
~Randy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-14 20:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-14 9:13 [PATCH -next] clocksource/drivers/timer-ti-dm: Fix some kernel-doc comments Yang Li
2022-10-14 13:09 ` Bagas Sanjaya
2022-10-14 20:49 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox