Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5036643iob; Mon, 9 May 2022 07:23:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGy8VT4UstRNnCfSREzGzP2+O7rquO3iJi5M2jWtwo0p5sIRXULj4TK/5stq1hgcUBU0U7 X-Received: by 2002:a17:902:c14a:b0:15b:9c29:935a with SMTP id 10-20020a170902c14a00b0015b9c29935amr16407088plj.2.1652106184154; Mon, 09 May 2022 07:23:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652106184; cv=none; d=google.com; s=arc-20160816; b=IlzMAt/vWLp5acC5M9hgWV4BefdYlY17wgb7NoWqsMRGcboI3jksIgcfcbxEhzV+SM HqCfSJKTJLAYm23FIWPL89UpKSJ8q2jV2lqO0aYofjkI1JknVDD0s4JOt2sV6n6C+6nn qzttOjMNpdzPz/9+RnB8Xdadq7Oj2whYnYzdsaXtQgkwPQ1U2tLQsxL38o92TNFRfTL8 A69md+RsmhdxjXFL54miG4hFy0Cjont0/0i58dN7BQA1EAQVhTQ+TOqB6XW6X9f/41OC z+hLNYddKWQ9nbroBRUa/Z1RfxxeqBlImDTKK5E4KXgFArfQfy3bVT66+8jsqr+W3WQi e4oQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:to:from:date:dkim-signature; bh=CTo8VWS7QDAJknBAYzHMm7wlIF7ev/aMrfHod6/M+c4=; b=X+BHHH/wPIwqprSG1K1MRnMV2RpfEPviUNVpeTekg62uXDAXr/Ce9NhLbJcU2qOG/t H6OQB/ncyAABSyVLpLdMgRsA1MSjp/tLYHPtDAj1O4Cy66+p6u1Har8wyPnFzjp0m4OF 9fwbxJ7JaXU51MvMrFqavCd+KtXY0ms5UJUO5GaMTRy6d+Y/NclrbdZ17XbZfGe1VufA lQzc+kwzi7acbh/MVKHZGrTMn1PZ9X5LL0o6dYQ/4WRXXpGD8wGCcL7JgiKIz3VKUQYE xuSQGivPX8C1VweEAEiDJz4eLb1zE2dOmNXAbOmJ+dSCAPTESlk1eRdQjFKwV8bo6uNV av7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LC7QNEF1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y16-20020a056a00191000b0050dd5a66df1si15464452pfi.181.2022.05.09.07.23.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 07:23:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LC7QNEF1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BAB0E1271A1; Mon, 9 May 2022 07:19:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236978AbiEIOXG (ORCPT + 99 others); Mon, 9 May 2022 10:23:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236600AbiEIOXD (ORCPT ); Mon, 9 May 2022 10:23:03 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33352119496 for ; Mon, 9 May 2022 07:19:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E6C2FB81629 for ; Mon, 9 May 2022 14:19:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C59CC385A8; Mon, 9 May 2022 14:19:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1652105946; bh=4qGn3+fVwMLzp2o2L0iSnbyEG8ZLLh1SAcJkQrV1hnc=; h=Date:From:To:Subject:References:In-Reply-To:From; b=LC7QNEF1Jus1fHw3r0qpGHITcdyew7pH8WVk94Ak+VrRhB/ZCwXFnUrdmnr/RipXs j0rXo7KyG8pLS156XpoKWfJm4neq5VazKt0asb0YxvQQWH4t8Zg8tk0j5jMr3GDtPE dqb0CPAuAqNLCUdEAn35KqbhnGTpCR37AtF3vVEM= Date: Mon, 9 May 2022 16:19:03 +0200 From: Greg KH To: Samuel Thibault , linux-kernel@vger.kernel.org, speakup@linux-speakup.org Subject: Re: [PATCHv2] speakup: Generate speakupmap.h automatically Message-ID: References: <20220430003934.fkua7vwoz6heigrp@begin> <20220430073321.6b4lvrrt7buzh7dp@begin> <20220509140705.n3eei4r5ko6bbex4@begin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220509140705.n3eei4r5ko6bbex4@begin> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On Mon, May 09, 2022 at 04:07:05PM +0200, Samuel Thibault wrote: > Hello, > > Greg KH, le lun. 09 mai 2022 16:04:43 +0200, a ecrit: > > Any reason you can't add the code in utils.c into genmap.c and then > > merge into makemapdata.c to make this a single .c file that does both > > things? > > Yes: genmap is a tool that end-users can use without needing the Linux > source code, while makemapdata needs it. But who will run genmap? Also you could just put the 90 lines of code into the .h file as inline functions to get rid of the utils.c to make it a bit simpler. thanks, greg k-h