Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5027902iob; Mon, 9 May 2022 07:12:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRhb7I5xMBg9GvOWm2Rwwgi5rSksvK82Lu32YdsNYmsOggxSST1g4YpjbAPRDT3+G+9RIa X-Received: by 2002:a63:3409:0:b0:3ab:4d72:1f0a with SMTP id b9-20020a633409000000b003ab4d721f0amr13190695pga.420.1652105541185; Mon, 09 May 2022 07:12:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652105541; cv=none; d=google.com; s=arc-20160816; b=oGC2CbodY3fafwPvZDmwqFdTrqWn9FfIk1pl3ADsnSgaETlZCWPaGFlRbOaJipqOg3 OQyDixiDOKGBiYi43dyweCjRawHxleKeuWD5Ce262syHNEe6dc5MywT8IhLCgfiS4wSU 60/sEM8y+Dd+fLMhLxt7g/TutlBz/woMoODE5emu87vaJ5sWWZjae/NN50VWAvU0/JkL uHA5uPXTUKUKHHgA3phpCcnzov8gcllyXc5h0lBBsRiYmYUXzlFCNADVCjjzIFttXX0T gTMEMPIZpRgWzdo8nDjHNAJB4S+FEJ62BYj8OM8wHJjqn6NdhMtB4z2ZwQZVF4JxA+B3 T6wg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:to :from:date:dkim-signature; bh=zylrF8l5VtBXg/ILImmotOzul9c6gWnIkz35pSoAqNQ=; b=iFrefD///vGBo2KB8zsLx5DBnCa/1DmKTSVC9t9VVdacfrCBU9YM8BppRTzdG+f+xu us7Ubg27ckgEeSpRHelrpPngjzJnnCeL1VWsyivIdzUpiC0+gCvLQx+iTwvWU9853cSD FkQla0/itfNb6Y2wzRqj+wUvxLSGGSDxotpQtjsf1cSF/O6wZNVdNFKPz5UvPk0qnWLl nf50hlFxRYCcw/8DYviOlr9AIhavV97P19TVecPeNSiJWQaWV04SQjBOWdYrFh/HV8IM 99l3SlMty5R5Iy+b5IcfC6kepPBZRhYw9PTL5h3xL210/P0eUaGhyaQW+4XqtU6NFt7h felg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rfDMchSn; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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. [23.128.96.19]) by mx.google.com with ESMTPS id y30-20020a056a001c9e00b0050df2e4ba29si12888146pfw.139.2022.05.09.07.12.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 07:12:21 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rfDMchSn; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 99F96BC1C; Mon, 9 May 2022 07:04:56 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236609AbiEIOIp (ORCPT + 99 others); Mon, 9 May 2022 10:08:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236600AbiEIOIk (ORCPT ); Mon, 9 May 2022 10:08:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E8D1296BDA for ; Mon, 9 May 2022 07:04:47 -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 dfw.source.kernel.org (Postfix) with ESMTPS id AA63F6158D for ; Mon, 9 May 2022 14:04:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96A6EC385A8; Mon, 9 May 2022 14:04:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1652105086; bh=y8ZYGkkbMyz3QZYuRXnMzVpiBxq4eFVPDLsunhL+Sqk=; h=Date:From:To:Subject:References:In-Reply-To:From; b=rfDMchSnZglYZxT/1QsriPLZqxhxQ1aX5KOwYSCSk/MMZ7uamQjYe8Pgi3gqrHm43 rhJvHN9B+79O3D+ghpj0X2zfSbXihQDyGntJRzV1F/VV0VbNmKyagSVeOydFjpE7hP m0NZENoGVQ38Wh2Ua3GKQyTtx4kDTLUoQ1Hi6t9I= Date: Mon, 9 May 2022 16:04:43 +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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220430073321.6b4lvrrt7buzh7dp@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 Sat, Apr 30, 2022 at 09:33:21AM +0200, Samuel Thibault wrote: > speakupmap.h was not actually intended to be source code, speakupmap.map > is. > > This resurrects the makemapdata.c and genmap.c tools to generate > speakupmap.h automatically from the input and speakup headers, and the > speakupmap.map keyboard mapping source file. > > Signed-off-by: Samuel Thibault > > --- > difference with v1: > - Add missing dependency between main.c and speakupmap.h > > drivers/accessibility/speakup/Makefile | 28 ++++ > drivers/accessibility/speakup/genmap.c | 162 ++++++++++++++++++++++++++++ > drivers/accessibility/speakup/makemapdata.c | 125 +++++++++++++++++++++ > drivers/accessibility/speakup/speakupmap.h | 66 ----------- > drivers/accessibility/speakup/utils.c | 92 +++++++++++++++ > drivers/accessibility/speakup/utils.h | 33 +++++ > 6 files changed, 440 insertions(+), 66 deletions(-) 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? And when this is applied, I get the following "extra" files in the tree that need to be properly ignored, so I couldn't take this as-is anyway: ❯ git status On branch work-testing Untracked files: (use "git add ..." to include in what will be committed) drivers/accessibility/speakup/genmap drivers/accessibility/speakup/makemapdata drivers/accessibility/speakup/mapdata.h drivers/accessibility/speakup/speakupmap.h nothing added to commit but untracked files present (use "git add" to track) thanks, greg k-h