Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4876453rwr; Sun, 30 Apr 2023 17:46:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ75SrD8E68FlevjR6dIkdt8wuoLXI6Gfu6WG7e1pfHObE/OJ4dVP6NXr0WlLXYzbwKJByKG X-Received: by 2002:a05:6a20:3c8b:b0:fa:841a:94 with SMTP id b11-20020a056a203c8b00b000fa841a0094mr4126243pzj.47.1682901982685; Sun, 30 Apr 2023 17:46:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682901982; cv=none; d=google.com; s=arc-20160816; b=TwX5vQxHCFYBXX0dC7QQb2RvgEyVxPsVw1Uqkv6YVOvTijf2MvBiFVSHlwWTC/opZz WX2Kgtotir6zN+vscp/s0/CgxDU6OYPOmso31qLuQg0PPWo5BmL+2KIwNjkuuQrexbhK Vy8qxiBP6oRc+byBLLfsiKHSdBAnlbxJesImBFOdc6uqavpZScOupPZagEuYZbzpc8iA DQxZYTfwGEl/inZPm/ydPqXNpEcAAxVRdsepOOXt6Y8DJ1KluCOCnpzEW2ulLt8GbM5Z d4MumtME3D0HLGyalPxzus5sA9kmHaGx5JD8dqf4ermeJJA7J6KK8WiB85lVUbPC1KhA W7dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=bwVD7xPPmW0/T4pDo3syWV+u10HS4qWZOkLHQ50Qrms=; b=Jc9JCmJM+/np3aIw0dLox/caD9MEtgcA/ch1L9JIEkVvCzIdpJDn8sV0gWpqEzAum6 pDQ86d/MhCoPVdLkcRCGkJ68WYhac52VA0W3NB5fcrHzAdH1dg/bH/ONd1+dAwDeW+qS Kx8eCHOQIyBtSRMW4qPqibZwX2ULkFm4qzIpMM/QvZ3IslF9cHbbtGCudowYN8PO4Lpt rKhmD6egIGxtFPoDgVRzAM5VNQZylY8/dkHgNcH0hntjK1DG19O6Xdj6RqaKpkB4cSSH 8MrHGcpWRlUEMfjxr95KkLYmQtR9PaiP06fUXgds4fvhwTstavLLx+KC6YZqPqxWwxWo BAvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="CSVo1/Wt"; 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 g192-20020a636bc9000000b0050fad5c0e52si26274182pgc.830.2023.04.30.17.46.09; Sun, 30 Apr 2023 17:46:22 -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; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="CSVo1/Wt"; 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 S230391AbjEAAQ3 (ORCPT + 99 others); Sun, 30 Apr 2023 20:16:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229995AbjEAAQ1 (ORCPT ); Sun, 30 Apr 2023 20:16:27 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8B50E4E for ; Sun, 30 Apr 2023 17:16:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=bwVD7xPPmW0/T4pDo3syWV+u10HS4qWZOkLHQ50Qrms=; b=CSVo1/WtywdxUAaaP6gtA736bu 7yzvBIyzmc4s9fXFlk/bEyqKsDSk54DNEvhGHgyJoHKRh1y+cpwIH/NR6RQ9pHYsRN3psZ7FHs26u CpCg08Il51etplABWTVrv0tRgwayrEamkHch/yQGPbd4y5XOCTLF9YlNLJFRzYx8wgl/8z9xME886 gPsfaCUjupucSl+wB/ytgVWK8at8p7BEU2DMZlbb2vhbQc+kmPlOngTrtYNcsd1nNQlOmwBu4JNdL O5ftH0NzfqocHM7LKoveIRn/etLVUTvkugVGDYoUP1vOkurJ0kEPAWHohgccduraaoTkvZYrw4TGG z1UpS97A==; Received: from [2601:1c2:980:9ec0::2764] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1ptHDH-00EwtV-0y; Mon, 01 May 2023 00:16:21 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Mushahid Hussain , William Hubbs , Chris Brannon , Kirk Reiser , Samuel Thibault , speakup@linux-speakup.org, Greg Kroah-Hartman Subject: [PATCH] accessibility: use C99 array init Date: Sun, 30 Apr 2023 17:16:17 -0700 Message-Id: <20230501001617.9152-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,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 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 --- 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} },