Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3570873imm; Sun, 13 May 2018 14:49:36 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqc/fFDOe2JP+iRHQ9NOTy1PAWWMyZnOjDYiHP2PqvYEya6FNanUd6NXc98WOY93KdUwJTA X-Received: by 2002:a65:5183:: with SMTP id h3-v6mr6193949pgq.58.1526248176368; Sun, 13 May 2018 14:49:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526248176; cv=none; d=google.com; s=arc-20160816; b=Wg4cG1r5JID4kMI8UKGnxjuqjmdmpjyosLi00QSvSl/L0jvLAm2rtd6KMK06Xt6iuI 34yxt5EcMD8TR87vpVnR08i/EHMbvWUAgeqQwInYXcIr2+J1kkT7+F/IhsCESAtpMM9Y xqZ14npejQ/r+hWDZN8OVTLzGSewS72HBSd8RHaMXYRBTWsQSdxhuDkgfRRmgtlqJY/x yTs5misn/sTd4s3JuC81c26z9imFwPFtL2P+etjnRmUhelmmg6wkq/vqqBHqC7i4LvzP tzIS4etIQNrPmLz7gWkR83OzpbpQsyC5amlyi5M9GKpYLlEX0msbJ4e7NCWVugN7yb6b IDUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=Mwj07RDV+AMacP6hsbuANl6GrUXUHjUpc8gpVJnDzHI=; b=PO0l/7PvXAM062rC0FJY5qUnYUqYHtrHqnJW2FA7F0ivvczxyPDlkk8YPvzOYKEf0B lHZmqo019wLS4xPThv3ErVw7rrm7qW6fg/TwR2kTlMFaSVYo3uCZgjv+TYUnWLknaR/H FVi2slB2oZJ7rsRxanWcA2WnQMzkn/NSjGZLCsGoImL+WroKMTexuICavVlp73nH9xrN 8kCSJMPwumHsVBQz/IN2rK8kUOfcKeh5kzxtob8EgRfdewyPVN7OxXG58U0rjsMZqyl6 JhBFBmSQLZ3xorsXlHySWBNML6ZWuxalI7YcZPQE/SNk2Vj74WbxsZuGKmq7N9v3hMaF h8RA== 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 c20-v6si8044602pls.557.2018.05.13.14.49.21; Sun, 13 May 2018 14:49:36 -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 S1751961AbeEMVtL (ORCPT + 99 others); Sun, 13 May 2018 17:49:11 -0400 Received: from smtprelay0072.hostedemail.com ([216.40.44.72]:58962 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751219AbeEMVtK (ORCPT ); Sun, 13 May 2018 17:49:10 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 600CD837F242; Sun, 13 May 2018 21:49:09 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::,RULES_HIT:41:355:379:541:599:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:4321:4384:5007:10004:10400:10848:11026:11658:11914:12294:12296:12740:12760:12895:13069:13311:13357:13439:14659:14721:21080:21627:30054:30070:30091,0,RBL:47.151.150.235:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:21,LUA_SUMMARY:none X-HE-Tag: feast87_158587d0c9534 X-Filterd-Recvd-Size: 1780 Received: from XPS-9350.home (unknown [47.151.150.235]) (Authenticated sender: joe@perches.com) by omf08.hostedemail.com (Postfix) with ESMTPA; Sun, 13 May 2018 21:49:07 +0000 (UTC) Message-ID: <039ab80bd6a653505e606bf87fceae156fe127e1.camel@perches.com> Subject: Re: [PATCH] staging: speakup: Fix coding style From: Joe Perches To: Samuel Thibault , 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 Date: Sun, 13 May 2018 14:49:06 -0700 In-Reply-To: <20180513093830.lwspfmjaxjixpaew@var.youpi.perso.aquilenet.fr> References: <20180513093830.lwspfmjaxjixpaew@var.youpi.perso.aquilenet.fr> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2018-05-13 at 11:38 +0200, Samuel Thibault wrote: [] > @@ -68,7 +68,7 @@ int spk_punc_level, spk_reading_punc; > char spk_str_caps_start[MAXVARLEN + 1] = "\0"; > char spk_str_caps_stop[MAXVARLEN + 1] = "\0"; > char spk_str_pause[MAXVARLEN + 1] = "\0"; > -bool spk_paused = 0; > +bool spk_paused; > const struct st_bits_data spk_punc_info[] = { > {"none", "", 0}, > {"some", "/$%&@", SOME}, > @@ -1782,8 +1782,7 @@ static void speakup_con_update(struct vc > /* Speakup output, discard */ > return; > speakup_date(vc); > - if (vc->vc_mode == KD_GRAPHICS && !spk_paused && spk_str_pause[0]) > - { > + if (vc->vc_mode == KD_GRAPHICS && !spk_paused && spk_str_pause[0]) { > synth_printf("%s", spk_str_pause); > spk_paused = 1; probably nice to change the assignments of spk_paused to true&false too