Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4930068rwr; Sun, 30 Apr 2023 19:04:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6EwU7pacxXGCD9JFU7HELyX95hydGzQtXBibXE8OQu3R40nqEtIncr2YbEBXd5IS4qYoLW X-Received: by 2002:a17:90a:8a09:b0:247:14ac:4d3a with SMTP id w9-20020a17090a8a0900b0024714ac4d3amr14832438pjn.20.1682906698660; Sun, 30 Apr 2023 19:04:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682906698; cv=none; d=google.com; s=arc-20160816; b=iyqrBO4oxJmeqUlTQaoDzHJ3lHpji8OrdRj/KSSNXRY6kMuSihnQOIJnSyuIZNOW+p x16wIKPsy9SqGCw9iaMaEFNlaMuMqh6yVFDGIRupak/QY5I8iT8pxVUIyIoL+pBGCg91 xyRRWhsPM+SxZbe8DUeHDWptf8ei2jtChDpMP9xG0jyn8MR5uf7LI4+igjhgsC3ND4MP kgtdelIuZxMOXEJOa8y45PDRl5H/qgXHlfIQISf7Y4MVtS+mBjOyfngIg9loxETyNwlI GNzXY75oIIUTQgdDrVZSkzRH3l9ZzIkwxEiPbwXPWkvHLzAg8fBn92O5NL7e7qfEIgqW EyVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:organization:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date; bh=+8DqjcA83xlVNiEHrietGqytAfwQhXYhgEWES9aMUkU=; b=HY5B/ZubYMyaXGxZeQrs03cf7qFlRpyqxcxS2m5cg8qH+6maDm0+Up9ZRVBHiOWepn cgYjQQNMjXmUOFVw235tinWtHBJpoBZjLcNqCBcrL1xdrZKMV1JFmjJHRD55+GLW1JdG zrviyVi2RdTh5YDu2BGOKEqfLabtWf49hPqqy0vFjv/qGthmtAVQiWaDLwlpjtcPWCWX HqiJrpIKVguQQzjBz4M0iazVjDzAkQQzZNlrn+uG0jhsp3a/GonEf2HLDxkpNjITD6+I yTZsXS7uR4smqFtZIvmVU76Q2BwIKPz8hxxUiz0Cjc3lFPvvJDsUFcOVzoFOfb3g6ABl J7Hw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nn17-20020a17090b38d100b002478bba4da2si8014554pjb.127.2023.04.30.19.04.35; Sun, 30 Apr 2023 19:04:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229688AbjEABc0 (ORCPT + 99 others); Sun, 30 Apr 2023 21:32:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbjEABcZ (ORCPT ); Sun, 30 Apr 2023 21:32:25 -0400 Received: from sonata.ens-lyon.org (domu-toccata.ens-lyon.fr [140.77.166.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53E00F7 for ; Sun, 30 Apr 2023 18:32:23 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by sonata.ens-lyon.org (Postfix) with ESMTP id C9D642014C; Mon, 1 May 2023 03:32:20 +0200 (CEST) Received: from sonata.ens-lyon.org ([127.0.0.1]) by localhost (sonata.ens-lyon.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TEH3NvUQEhpT; Mon, 1 May 2023 03:32:20 +0200 (CEST) Received: from begin (lfbn-bor-1-1163-184.w92-158.abo.wanadoo.fr [92.158.138.184]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by sonata.ens-lyon.org (Postfix) with ESMTPSA id 2A1F020146; Mon, 1 May 2023 03:32:20 +0200 (CEST) Received: from samy by begin with local (Exim 4.96) (envelope-from ) id 1ptIOp-00EpS0-2S; Mon, 01 May 2023 03:32:19 +0200 Date: Mon, 1 May 2023 03:32:19 +0200 From: Samuel Thibault To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, Mushahid Hussain , William Hubbs , Chris Brannon , Kirk Reiser , speakup@linux-speakup.org, Greg Kroah-Hartman Subject: Re: [PATCH] accessibility: use C99 array init Message-ID: <20230501013219.e4ekzxgoequdlmsu@begin> Mail-Followup-To: Samuel Thibault , Randy Dunlap , linux-kernel@vger.kernel.org, Mushahid Hussain , William Hubbs , Chris Brannon , Kirk Reiser , speakup@linux-speakup.org, Greg Kroah-Hartman References: <20230501001617.9152-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230501001617.9152-1-rdunlap@infradead.org> Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Randy Dunlap, le dim. 30 avril 2023 17:16:17 -0700, a ecrit: > Use C99 array initializer syntax for consistency with other array > initializers around it and to eliminate a sparse warning: > > drivers/accessibility/speakup/main.c:1290:26: sparse: warning: obsolete array initializer, use C99 syntax > > Fixes: f43241aafedb ("accessibility: speakup: Specify spk_vars among module parameters") > Signed-off-by: Randy Dunlap > Cc: Mushahid Hussain > Cc: William Hubbs > Cc: Chris Brannon > Cc: Kirk Reiser > Cc: Samuel Thibault > Cc: speakup@linux-speakup.org > Cc: Greg Kroah-Hartman Reviewed-by: Samuel Thibault Thanks! > --- > drivers/accessibility/speakup/main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -- a/drivers/accessibility/speakup/main.c b/drivers/accessibility/speakup/main.c > --- a/drivers/accessibility/speakup/main.c > +++ b/drivers/accessibility/speakup/main.c > @@ -1287,7 +1287,7 @@ static struct var_t spk_vars[NB_ID] = { > [PUNC_LEVEL_ID] = { PUNC_LEVEL, .u.n = {NULL, 1, 0, 4, 0, 0, NULL} }, > [READING_PUNC_ID] = { READING_PUNC, .u.n = {NULL, 1, 0, 4, 0, 0, NULL} }, > [CURSOR_TIME_ID] = { CURSOR_TIME, .u.n = {NULL, 120, 50, 600, 0, 0, NULL} }, > - [SAY_CONTROL_ID] { SAY_CONTROL, TOGGLE_0}, > + [SAY_CONTROL_ID] = { SAY_CONTROL, TOGGLE_0}, > [SAY_WORD_CTL_ID] = {SAY_WORD_CTL, TOGGLE_0}, > [NO_INTERRUPT_ID] = { NO_INTERRUPT, TOGGLE_0}, > [KEY_ECHO_ID] = { KEY_ECHO, .u.n = {NULL, 1, 0, 2, 0, 0, NULL} }, >