From patchwork Tue Oct 25 10:18:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Curtin X-Patchwork-Id: 10711 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp924803wru; Tue, 25 Oct 2022 03:32:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM58ug4XhfzPto64NongnMI/lCbzUXGXfQLdKM4nnbbu0wrBm4aTUX/+QSTuce8LCogRq2v6 X-Received: by 2002:a63:1a45:0:b0:439:49b4:9672 with SMTP id a5-20020a631a45000000b0043949b49672mr31974339pgm.551.1666693921714; Tue, 25 Oct 2022 03:32:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666693921; cv=none; d=google.com; s=arc-20160816; b=RxcG2YqnPYl+/upD3cf0GVdU+JULF0S7ZEuK903DXJsK7kq3jQCK9elWKe0WPBUKlK GxgCXHmb+CmoM26Wrzwe9Xy36uF2ERtrQkXWA5L0+Xz9cKXRf3uYjJ/pPiREHGbiZjZj 8TViipWWXov2vjhQ0+zMrNEtFbBoV2BA1rXq1DoH9LCXqrnu/cppGJP2TAMk462wBbDa oHMeT4SnIAn8uq9I6npfdcYTn5QlK29DD7Ehfsat5mBNGq9P/6hcxgLrMvnZpDIgWEi1 dMDZoRS6HJihMUy7/n1HY87fvRr2Q7QHWLnTUeXvwuU3KJbPpOi9kLRaataa59urvhQR YoqQ== 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=SXA47cu2kRp4Fi4dLuQ4em2pKNdxxQ8Fg0d1TX3Qq34=; b=M5JM5ZBGbGu57mr16MJ5Mxu3zsHET2VaiZMV2aUYWiiykIDEjQyCJMUXGM7uiz61Y4 3vrGKbTOm1mbpSCTLCW3kKOcaKOUipHgIlI+xMyTdaP11a4bL0pEg4amVjT9Zv+MUh7V CE/XFi9i4ty+RvUxLLQx6P+FQAdFAqLvMaKZzKpDbecu4m3u2M61Tn1W3itQ8pxB61Ic YLSPeobua7Mvm0tYCiNIMdo06l+RZNLHRYCLDDfauB+QBrtL7/woiYX8E84KuEnRdEOM OMc+LjiBgrwOlyLOUedC2OVxRpJz4tsRvCOKwikIxFLXe4xK0+EjIg8Zb2/bmXlkdPD1 IwzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=N4T2RBJT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e8-20020a635448000000b0046ecd36adbasi2627089pgm.635.2022.10.25.03.31.49; Tue, 25 Oct 2022 03:32:01 -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=@redhat.com header.s=mimecast20190719 header.b=N4T2RBJT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229864AbiJYKWU (ORCPT + 99 others); Tue, 25 Oct 2022 06:22:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231772AbiJYKVe (ORCPT ); Tue, 25 Oct 2022 06:21:34 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64A221290AC for ; Tue, 25 Oct 2022 03:18:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666693131; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=SXA47cu2kRp4Fi4dLuQ4em2pKNdxxQ8Fg0d1TX3Qq34=; b=N4T2RBJTlEZV5ZRcxVlLEidUeDMHSGjgQNL0m9LHfKuuYUGS1c3t7jvbD/oEnqo/P8mO6L 5Gs494d50zqX16sWt4+dWgsDl9Mek7UxTFMLZ29wx6i8s5knzJ9q9L9zpY8LYLjx8avpV+ asChgPBDUdroqhqh6pNjX5BRWX6N9Tk= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-438-D5fbiyQzPcKxNoCBN36U-w-1; Tue, 25 Oct 2022 06:18:50 -0400 X-MC-Unique: D5fbiyQzPcKxNoCBN36U-w-1 Received: by mail-wm1-f72.google.com with SMTP id bg25-20020a05600c3c9900b003cf3ed7e27bso437372wmb.4 for ; Tue, 25 Oct 2022 03:18:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SXA47cu2kRp4Fi4dLuQ4em2pKNdxxQ8Fg0d1TX3Qq34=; b=aX42Zr/RTptHiy1Uo7XtNi1wp1KHj2aIDJZYoJZNubEnCUcuHUekxE9PVHL/fMbRt2 3jru85ciA7Dtcm7wfH8ZGjCsp8Q6x5X7elxgZ2+l5tXQMrkcgowTDpLXciu3YbUzU31k DjtfQWzG8ddmpJD5GRe1vx3mvxcYdxQRPzjPhgw2vLhbNMiMbzc2BbunSHdyB/5+YEuP Pcsgei8cbcGeoXz7H5VaGvSO10tEMMDYVYQ6KARuo32MsXZ5q7MvlE1Wg2p3pDNjHHPC cVT+FAaKpMQ3dxlNNv2VTKQelIbOWoUx3yaCYrSXsbsfH4P2/SXQQftF2XFAGj0hm6yq mMPQ== X-Gm-Message-State: ACrzQf2LMiVxGvG7v+7eIb53gVaBS7qalAy89RDqyKSKQ/7Gi1874qnX yvlcXwjf3tqK8PoJJhmaFCkwhQsoQ1GQwPuwnaPeqj7aBkAes1QGuqYYkWj/UAfOiM5uHKyMC3c 0/6l+6HcZhWS0D5nPL2datzQI X-Received: by 2002:a05:600c:468a:b0:3c6:f1ae:3e95 with SMTP id p10-20020a05600c468a00b003c6f1ae3e95mr25551266wmo.152.1666693129119; Tue, 25 Oct 2022 03:18:49 -0700 (PDT) X-Received: by 2002:a05:600c:468a:b0:3c6:f1ae:3e95 with SMTP id p10-20020a05600c468a00b003c6f1ae3e95mr25551249wmo.152.1666693128920; Tue, 25 Oct 2022 03:18:48 -0700 (PDT) Received: from p1.Home ([2001:8a0:672b:1200:af07:c9d2:aa37:4cdd]) by smtp.gmail.com with ESMTPSA id bo9-20020a056000068900b00228a6ce17b4sm2222525wrb.37.2022.10.25.03.18.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Oct 2022 03:18:48 -0700 (PDT) From: Eric Curtin To: gregkh@linuxfoundation.org Cc: Eric Curtin , William Hubbs , Chris Brannon , Kirk Reiser , Samuel Thibault , speakup@linux-speakup.org (open list:SPEAKUP CONSOLE SPEECH DRIVER), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] speakup: include types.h so u_char is a known type Date: Tue, 25 Oct 2022 11:18:24 +0100 Message-Id: <20221025101828.1626490-1-ecurtin@redhat.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747655245481551908?= X-GMAIL-MSGID: =?utf-8?q?1747655245481551908?= Fixes build of utils.h header file, occurred when building kernel on postmarketOS on Lenovo Duet Chromebook. drivers/accessibility/speakup/utils.h:57:9: error: unknown type name 'u_char'; did you mean 'char'? 57 | u_char *pn = (u_char *)name; | ^~~~~~ | char Fixes: 6a5c94d92699 ("speakup: Generate speakupmap.h automatically") Signed-off-by: Eric Curtin --- drivers/accessibility/speakup/utils.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/accessibility/speakup/utils.h b/drivers/accessibility/speakup/utils.h index 4bf2ee8ac246..f6fe477ecb28 100644 --- a/drivers/accessibility/speakup/utils.h +++ b/drivers/accessibility/speakup/utils.h @@ -7,6 +7,7 @@ */ #include +#include #define MAXKEYS 512 #define MAXKEYVAL 160