* [PATCH 0/2] staging: speakup fix code styling
@ 2018-11-06 2:20 Ioannis Valasakis
2018-11-06 2:20 ` [PATCH 1/2] staging: speakup: add spaces around minus Ioannis Valasakis
2018-11-06 2:20 ` [PATCH 2/2] staging: speakup: move arguments to reduce 80 chars limit Ioannis Valasakis
0 siblings, 2 replies; 3+ messages in thread
From: Ioannis Valasakis @ 2018-11-06 2:20 UTC (permalink / raw)
To: outreachy-kernel; +Cc: gregkh
Fix code styling reported by checkpatch.
Ioannis Valasakis (2):
staging: speakup: add spaces around minus
staging: speakup: move arguments to reduce 80 chars limit
drivers/staging/speakup/speakup_acntpc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
2.19.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] staging: speakup: add spaces around minus
2018-11-06 2:20 [PATCH 0/2] staging: speakup fix code styling Ioannis Valasakis
@ 2018-11-06 2:20 ` Ioannis Valasakis
2018-11-06 2:20 ` [PATCH 2/2] staging: speakup: move arguments to reduce 80 chars limit Ioannis Valasakis
1 sibling, 0 replies; 3+ messages in thread
From: Ioannis Valasakis @ 2018-11-06 2:20 UTC (permalink / raw)
To: outreachy-kernel; +Cc: gregkh
Add spaces around minus operator. Reported by checkpatch.
Signed-off-by: Ioannis Valasakis <code@wizofe.uk>
---
drivers/staging/speakup/speakup_acntpc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/speakup/speakup_acntpc.c b/drivers/staging/speakup/speakup_acntpc.c
index 28519754b2f0..d44ada9869ae 100644
--- a/drivers/staging/speakup/speakup_acntpc.c
+++ b/drivers/staging/speakup/speakup_acntpc.c
@@ -298,7 +298,7 @@ static void accent_release(void)
{
spk_stop_serial_interrupt();
if (speakup_info.port_tts)
- synth_release_region(speakup_info.port_tts-1, SYNTH_IO_EXTENT);
+ synth_release_region(speakup_info.port_tts - 1, SYNTH_IO_EXTENT);
speakup_info.port_tts = 0;
}
--
2.19.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] staging: speakup: move arguments to reduce 80 chars limit
2018-11-06 2:20 [PATCH 0/2] staging: speakup fix code styling Ioannis Valasakis
2018-11-06 2:20 ` [PATCH 1/2] staging: speakup: add spaces around minus Ioannis Valasakis
@ 2018-11-06 2:20 ` Ioannis Valasakis
1 sibling, 0 replies; 3+ messages in thread
From: Ioannis Valasakis @ 2018-11-06 2:20 UTC (permalink / raw)
To: outreachy-kernel; +Cc: gregkh
Move the arguments one line below to remove the warning of the 80 chars
limit. Reported by checkpatch.
Signed-off-by: Ioannis Valasakis <code@wizofe.uk>
---
drivers/staging/speakup/speakup_acntpc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/speakup/speakup_acntpc.c b/drivers/staging/speakup/speakup_acntpc.c
index d44ada9869ae..c94328a5bd4a 100644
--- a/drivers/staging/speakup/speakup_acntpc.c
+++ b/drivers/staging/speakup/speakup_acntpc.c
@@ -298,7 +298,8 @@ static void accent_release(void)
{
spk_stop_serial_interrupt();
if (speakup_info.port_tts)
- synth_release_region(speakup_info.port_tts - 1, SYNTH_IO_EXTENT);
+ synth_release_region(speakup_info.port_tts - 1,
+ SYNTH_IO_EXTENT);
speakup_info.port_tts = 0;
}
--
2.19.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-06 2:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-06 2:20 [PATCH 0/2] staging: speakup fix code styling Ioannis Valasakis
2018-11-06 2:20 ` [PATCH 1/2] staging: speakup: add spaces around minus Ioannis Valasakis
2018-11-06 2:20 ` [PATCH 2/2] staging: speakup: move arguments to reduce 80 chars limit Ioannis Valasakis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.