Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1722310rwb; Thu, 17 Nov 2022 00:36:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf4zSV7UV4vEPZoXEja8haUdcigdWrIyB13elPfcPTNSH8F92fN15gBj6XwUAH4Cmtx9excV X-Received: by 2002:a17:906:9d12:b0:78a:d075:98d8 with SMTP id fn18-20020a1709069d1200b0078ad07598d8mr1301616ejc.324.1668674166491; Thu, 17 Nov 2022 00:36:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668674166; cv=none; d=google.com; s=arc-20160816; b=NoSy7ZH0TgxpuM5sWAgeKP8PIlxijvVweEweedE8qUiFB63SnY9R/rVYJHpHahzZ54 TqxYAtBG0hV8r09m3/fhBMmHV4Ew9GQGEqOiQ6mfBN+z3EzvjqL0hUzMp5WpAZpbpDCA HmcA6YSE57PSpSLdL4qeicZWG3XSKEYq9XOHq9gPwOdO0fHKHt/ROiKTos7pOPZRqH6n RZ0V111JAJNo79WQRHK//MRp3iX7Z0gk6lDwCgotBXVtPthdZM6UJ0oLSSmROuICyaOO qND1QjbE+yTjUdI6sASDyqGzPt5GG4N1IWm5afPI5sg+oQgrPyv9zm4qqFSrE+7dx+JZ hDZw== 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=V3WnmWZLkQJfybrJUhQ0vFviduC6JDC0Wg3OmV1eUMA=; b=0xwF+ZxPrqV8lZRch4539E/S8acmf0mscuJfmUtRIi8z0yAsZnRXGV34gwBKrtEOvT wbevHKLN3nvCGAoLSmR4yo6zD4ngOaQqVblIChgTa1J8B+MH7RwnuBtkd3pjVPrghilu 7aknqVBtrgoIDpfCuleyquSB9m7qC7L8zieOjEVoP9E+Va8uFGPQIO41Q9Csw/C/N9fC 2r+gJ40kJ0vXI1WHdEpfjnHYkkEr8dOYnBwG0c678z9pv7nPiPL4MIF899Fkl361FaC7 9ZTvfpv6o7QnoWh/wR1fjL+kcDPc2g86Fqkq/e0N4U2o837AbFbOKc33dX2Ant4MHPdX uY8g== 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 w22-20020a05640234d600b0045b293121f1si467946edc.12.2022.11.17.00.35.43; Thu, 17 Nov 2022 00:36:06 -0800 (PST) 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 S234816AbiKQIU4 (ORCPT + 94 others); Thu, 17 Nov 2022 03:20:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233958AbiKQIUy (ORCPT ); Thu, 17 Nov 2022 03:20:54 -0500 Received: from sonata.ens-lyon.org (sonata.ens-lyon.org [140.77.166.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81F036DCE7 for ; Thu, 17 Nov 2022 00:20:53 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by sonata.ens-lyon.org (Postfix) with ESMTP id 8C54220134; Thu, 17 Nov 2022 09:20:51 +0100 (CET) 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 F_4vo_GaCFsi; Thu, 17 Nov 2022 09:20:51 +0100 (CET) Received: from begin (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 CE49D20119; Thu, 17 Nov 2022 09:20:50 +0100 (CET) Received: from samy by begin with local (Exim 4.96) (envelope-from ) id 1ova8g-002zbq-0j; Thu, 17 Nov 2022 09:20:50 +0100 Date: Thu, 17 Nov 2022 09:20:50 +0100 From: Samuel Thibault To: Yureka Lilian Cc: gregkh@linuxfoundation.org, chris@the-brannons.com, linux-kernel@vger.kernel.org, speakup@linux-speakup.org, w.d.hubbs@gmail.com Subject: Re: [PATCH v2] speakup: remove usage of non-standard u_char Message-ID: <20221117082050.54uhm54udqatdlru@begin> Mail-Followup-To: Samuel Thibault , Yureka Lilian , gregkh@linuxfoundation.org, chris@the-brannons.com, linux-kernel@vger.kernel.org, speakup@linux-speakup.org, w.d.hubbs@gmail.com References: <20221117001244.212047-1-yuka@yuka.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221117001244.212047-1-yuka@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 Lilian, le jeu. 17 nov. 2022 01:12:44 +0100, a ecrit: > 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 > Cc: stable@vger.kernel.org Reviewed-by: Samuel Thibault thanks! > --- > Content is unchanged compared to v1, but hopefully the patch is not > corrupted this time and I added a cc: stable > --- > 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 4bf2ee8ac246..4ce9a12f7664 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.38.1 > -- Samuel --- Pour une évaluation indépendante, transparente et rigoureuse ! Je soutiens la Commission d'Évaluation de l'Inria.