Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1486308rwi; Mon, 10 Oct 2022 17:37:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7J1PdqnuN8lnQ0tNWfxvg8Pd9DJEJZU6ALjXVV6jaxzwMSQaMGLqI09LwYHK+kDuIP5UHH X-Received: by 2002:a17:907:3f13:b0:782:1266:8c10 with SMTP id hq19-20020a1709073f1300b0078212668c10mr16693807ejc.197.1665448654306; Mon, 10 Oct 2022 17:37:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665448654; cv=none; d=google.com; s=arc-20160816; b=tXxpl7tckp8fYgF6L4FlnCPfPp62FLLVSO8WI1PJkh4baU5wO6ra47/2FYg6SQqpdN kSimRznHqmmFjAYC067nUUpTSLaiXwUY3pzRCDdccV9zM0/N+6cvWmIQb9fKenKtWwwf 8ohZGPW/yTY0yQVlvQ+LehgYMGma7g/8GePRSn00AjTbe4GlZfhexlh/BEp1mOYAfjL/ M6/a9+QW3ZW2Jz5+uYFjSi4KTKMJR24kWRLlUTJG1Qf/WuP+2+pvVkSghmCpvBvm1tvY n6mtNr4riRupgADWIPgwiBIT1g5W56LNcRrJZ48S1vWN9oF5DZEPo2vEm0dzJSatAE1u cWpw== 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-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date; bh=y2Yh93pBHTKDpRFOpjrrgTOD1tlk7ExEcLZPqgDUptc=; b=bJvdINz/2H3avN9oLe4jqjFac5nH8ncRmEBSmcnlMnT3FGODADwHhuFpsQOqDtouOI f9PxnAHIqujDB+ryXqpptP7t1N2Nr5i21bU5FJ7u0IqErRmhX5y47JfctfFfB1W0TiBE ZmN1gQ9ARB3obwd8ZLSYSBo5BnU+WTWiqWsWJJ/jlL7Q7KPe0M6fNFstlbwwM8GMIpyH e79exHei8iu7gKwHq2Yy5m+b32dHq7ybsvOCrWufmc4um84IyBXLkQDS/jl4EWgJS1Qa +ULXxQenYLpyTy0xWbMe0sQ/ku53FmftwPq3oRxukJUgRDt+6Bs5bHi8O+C98+Wo5WxY oF3A== 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 cs10-20020a170906dc8a00b00774195db4e7si12249882ejc.117.2022.10.10.17.37.08; Mon, 10 Oct 2022 17:37:34 -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 S229507AbiJKAY6 (ORCPT + 99 others); Mon, 10 Oct 2022 20:24:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbiJKAY4 (ORCPT ); Mon, 10 Oct 2022 20:24:56 -0400 Received: from sonata.ens-lyon.org (domu-toccata.ens-lyon.fr [140.77.166.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCCDF175AE for ; Mon, 10 Oct 2022 17:24:53 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by sonata.ens-lyon.org (Postfix) with ESMTP id A8B0420166; Tue, 11 Oct 2022 02:24:51 +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 PG3SXhi9Mn50; Tue, 11 Oct 2022 02:24:50 +0200 (CEST) Received: from begin.home (lfbn-bor-1-376-208.w109-215.abo.wanadoo.fr [109.215.91.208]) (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 AF3E920165; Tue, 11 Oct 2022 02:24:50 +0200 (CEST) Received: from samy by begin.home with local (Exim 4.96) (envelope-from ) id 1oi34k-007ZK6-37; Tue, 11 Oct 2022 02:24:50 +0200 Date: Tue, 11 Oct 2022 02:24:50 +0200 From: Samuel Thibault To: Yureka Cc: w.d.hubbs@gmail.com, chris@the-brannons.com, gregkh@linuxfoundation.org, speakup@linux-speakup.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] speakup: remove usage of non-standard u_char Message-ID: <20221011002450.d25x3gvgu5snsozm@begin> Mail-Followup-To: Samuel Thibault , Yureka , w.d.hubbs@gmail.com, chris@the-brannons.com, gregkh@linuxfoundation.org, speakup@linux-speakup.org, linux-kernel@vger.kernel.org References: <9b7e4894-deec-39ba-bb7c-3c6d6427fa1d@yuka.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9b7e4894-deec-39ba-bb7c-3c6d6427fa1d@yuka.dev> Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS 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 Yureka, le mar. 11 oct. 2022 02:17:43 +0200, a ecrit: > From: Yureka Lilian > > This code is included in the build tools makemapdata and genmap, and it > expects that libc exposes a definition of u_char. But u_char is not > defined in either C or POSIX standards, and some systems don't have it. > Namely this breaks the build on hosts using musl libc, because musl only > exposes u_char if _GNU_SOURCE is defined. > > Signed-off-by: Yureka Lilian Reviewed-by: Samuel Thibault > --- >  drivers/accessibility/speakup/utils.h | 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/accessibility/speakup/utils.h b/drivers/accessibility/speakup/utils.h > index 4bf2ee8ac..4ce9a12f7 100644 > --- a/drivers/accessibility/speakup/utils.h > +++ b/drivers/accessibility/speakup/utils.h > @@ -54,7 +54,7 @@ static inline int oops(const char *msg, const char *info) >   >  static inline struct st_key *hash_name(char *name) >  { > -   u_char *pn = (u_char *)name; > +   unsigned char *pn = (unsigned char *)name; >     int hash = 0; >   >     while (*pn) { > -- > 2.37.3