2020-05-14 11:05:16

by 王文虎

[permalink] [raw]
Subject: [PATCH] drivers: ipa: fix typos for ipa_smp2p structure doc

Remove the duplicate "mutex", and change "Motex" to "Mutex". Also I
recommend it's easier for understanding to make the "ready-interrupt"
a bundle for it is a parallel description as "shutdown" which is appended
after the slash.

Signed-off-by: Wang Wenhu <[email protected]>
Cc: Alex Elder <[email protected]>
---
drivers/net/ipa/ipa_smp2p.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ipa/ipa_smp2p.c b/drivers/net/ipa/ipa_smp2p.c
index 4d33aa7ebfbb..a5f7a79a1923 100644
--- a/drivers/net/ipa/ipa_smp2p.c
+++ b/drivers/net/ipa/ipa_smp2p.c
@@ -53,7 +53,7 @@
* @clock_on: Whether IPA clock is on
* @notified: Whether modem has been notified of clock state
* @disabled: Whether setup ready interrupt handling is disabled
- * @mutex mutex: Motex protecting ready interrupt/shutdown interlock
+ * @mutex: Mutex protecting ready-interrupt/shutdown interlock
* @panic_notifier: Panic notifier structure
*/
struct ipa_smp2p {
--
2.17.1


2020-05-15 01:24:08

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] drivers: ipa: fix typos for ipa_smp2p structure doc

From: Wang Wenhu <[email protected]>
Date: Thu, 14 May 2020 04:02:22 -0700

> Remove the duplicate "mutex", and change "Motex" to "Mutex". Also I
> recommend it's easier for understanding to make the "ready-interrupt"
> a bundle for it is a parallel description as "shutdown" which is appended
> after the slash.
>
> Signed-off-by: Wang Wenhu <[email protected]>
> Cc: Alex Elder <[email protected]>

Applied, thanks.

2020-05-18 15:13:16

by Alex Elder

[permalink] [raw]
Subject: Re: [PATCH] drivers: ipa: fix typos for ipa_smp2p structure doc

On 5/14/20 3:07 PM, David Miller wrote:
> From: Wang Wenhu <[email protected]>
> Date: Thu, 14 May 2020 04:02:22 -0700
>
>> Remove the duplicate "mutex", and change "Motex" to "Mutex". Also I
>> recommend it's easier for understanding to make the "ready-interrupt"
>> a bundle for it is a parallel description as "shutdown" which is appended
>> after the slash.
>>
>> Signed-off-by: Wang Wenhu <[email protected]>
>> Cc: Alex Elder <[email protected]>
>
> Applied, thanks.

Thank you. -Alex