[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180514205725.hamsvxkhic2gvnfn@var.youpi.perso.aquilenet.fr>
Date: Mon, 14 May 2018 22:57:25 +0200
From: Samuel Thibault <samuel.thibault@...-lyon.org>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: w.d.hubbs@...il.com, chris@...-brannons.com, kirk@...sers.ca,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
speakup@...ux-speakup.org
Subject: [PATCH] staging: speakup: use true/false instead of 1/0
Signed-off-by: Samuel Thibault <samuel.thibault@...-lyon.org>
---
drivers/staging/speakup/buffers.c | 2 +-
drivers/staging/speakup/main.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/staging/speakup/buffers.c
+++ b/drivers/staging/speakup/buffers.c
@@ -80,7 +80,7 @@ void synth_buffer_add(u16 ch)
/* We have written something to the speech synthesis, so we are not
* paused any more.
*/
- spk_paused = 0;
+ spk_paused = false;
}
u16 synth_buffer_getc(void)
--- a/drivers/staging/speakup/main.c
+++ b/drivers/staging/speakup/main.c
@@ -1784,7 +1784,7 @@ static void speakup_con_update(struct vc
speakup_date(vc);
if (vc->vc_mode == KD_GRAPHICS && !spk_paused && spk_str_pause[0]) {
synth_printf("%s", spk_str_pause);
- spk_paused = 1;
+ spk_paused = true;
}
spin_unlock_irqrestore(&speakup_info.spinlock, flags);
}
Powered by blists - more mailing lists