Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4828464imm; Mon, 14 May 2018 13:58:02 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp8hdsozpU6JuWoh9ntjRk38Cf7i/O/J1+SBGqfO9hc9ewCFFXzFRVrZA/NXoBJ+YjAUXAP X-Received: by 2002:a17:902:ab93:: with SMTP id f19-v6mr11599075plr.392.1526331482200; Mon, 14 May 2018 13:58:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526331482; cv=none; d=google.com; s=arc-20160816; b=NWH2kd0N6bz8hG3opAZx5bs4EJQvOfluNgsamjXlnWb7Rk14X5YcPjy6MTsMDK53WQ btO/bbSKtDQfvCyW6vyCP2XhJgh30lQe++J8Chne4JgKmeo3ggHAGCSbxlMFKFY1ev3o EPQCvE7j8UhVAVx0Njn095XNKiaHVYqdr8RUFT/Yg5vA1g7RgL0eCR18kbvEygmw/io0 ZWZhActE1NxxJmPOZPDwJ8BZzUYKBbGimNQTyZp2Ih+Kqw57bKxD6y1BoRtuTuvTLjRN t+CKpv0NMhRrNShPFZaLuK98uycNmi74PwbZYQRwlZ584aAVymiGtMMWnnyYFJCvKY5a 2Mzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:mail-followup-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=K/blzqwm9QXN2nMDVyImqKZl0QBnOcNNrin13wKClwg=; b=a/qTRmuqoFtzdU6v6NJN95iyTlZPWfGvYDur28FhsElZoLwd9vGVjyZar9xwHvUZEr u7SfdoI5i5ucf3DwtVUmqXOa5D9s3TMgipG23Pa6q1Bj4qsuImSmOhgjeTN77gUXJQOm L+fXq79lcVX/ooKIfiZE5aR9Uv2w9dWeSLo3CMEoAgMX17pqfijy6GmERHRmE5xTpvqQ x7jAuJ3Smu3iUuhCxfGhYx59oha3RoLVYKYolKLONI+YLKKPZ0PaNgUq1SmINja2AcHq UNKzjVOymI3xR3Mm0LIvbp1GQ+m8K5yNzdTGa6OLV1KHtzbsu/on+gggYRGUOkNKWXMv QE7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m14-v6si8258385pgs.178.2018.05.14.13.57.47; Mon, 14 May 2018 13:58:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752160AbeENU5d (ORCPT + 99 others); Mon, 14 May 2018 16:57:33 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:40902 "EHLO hera.aquilenet.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751978AbeENU5c (ORCPT ); Mon, 14 May 2018 16:57:32 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 80B58192A5; Mon, 14 May 2018 22:57:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0JAzYd8qPncy; Mon, 14 May 2018 22:57:29 +0200 (CEST) Received: from var.youpi.perso.aquilenet.fr (static-176-158-111-12.ftth.abo.bbox.fr [176.158.111.12]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 3F7021929B; Mon, 14 May 2018 22:57:26 +0200 (CEST) Received: from samy by var.youpi.perso.aquilenet.fr with local (Exim 4.91) (envelope-from ) id 1fIKX7-0007OQ-8y; Mon, 14 May 2018 22:57:25 +0200 Date: Mon, 14 May 2018 22:57:25 +0200 From: Samuel Thibault To: Greg KH Cc: w.d.hubbs@gmail.com, chris@the-brannons.com, kirk@reisers.ca, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, speakup@linux-speakup.org Subject: [PATCH] staging: speakup: use true/false instead of 1/0 Message-ID: <20180514205725.hamsvxkhic2gvnfn@var.youpi.perso.aquilenet.fr> Mail-Followup-To: Samuel Thibault , Greg KH , w.d.hubbs@gmail.com, chris@the-brannons.com, kirk@reisers.ca, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, speakup@linux-speakup.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Samuel Thibault --- 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); }