Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp7784606ioo; Fri, 3 Jun 2022 13:30:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2Tc19q8CpnuP2poPYoAn2irdNwGlyUgP5AVookvTjMj3qkngvfRZXJ0dCjZTsfSJ3jRCq X-Received: by 2002:a17:90a:4414:b0:1df:9b8f:c3cc with SMTP id s20-20020a17090a441400b001df9b8fc3ccmr47335968pjg.56.1654288243940; Fri, 03 Jun 2022 13:30:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654288243; cv=none; d=google.com; s=arc-20160816; b=rJmvCQXS8zr7ZN7CbYJxUEUziKE5FmDsi2JR/lN3Rvnq/sJG7qwUpA3p6U7YSZBfcD HA1GJv9bTncA5+3CUY7ennd2M6NshQjFXDOXqr7Y5XdE+8cWpe7+kjKv8RKKnJKeTY0b ahiLFIaIWurUMUvzqNPh5hRNlrBZor40o1teZkMKKyW+2Z5KgGihvIT878yxop8NSGP9 evyJ8Qz2VtQ9Ya6ypoHC9Frbe5fhcCJrblIFU5a2khKifGiFOQusj+jtGiUlKm2JISjE bv4vbYtKfTHJhrRK7ShuYsdaPFTv19EPAf2Vcq5oUk1uWeV+JlGD3IaldRVmCAxVP22Q goFQ== 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:dkim-signature; bh=5mZl3ZNZZwSu+jBdshpeM5NmyVR6o4sDm1B5v32GAbw=; b=z9WHqup6R0qzi/+7ROzSBJuoUk3KcWpat1HMRZY80UAiuyNDQdauXs2nxojOBtIe2M C7PWgZwntTbMoLXJGiO5ADLr2uvwwLw/a04z6pE/62XDVnc28pKguVoGiuXWBlqwbdQB 9+lxRxYIK+o5sJgVzUC96G2meRb/2M5B7t7FB5dnCHwnpmoNm9CnPb1XZTTTIe/bPxcp Yer0YlP7FvCx0XyBEc6uQlBR4uEICyPJgDk0Mb7RumXFHxM+SPp2uKZZQDZHrjTuzEuG oEX34mByOn4yB6/TkaJo9/esqsguixZbcoJyblKMjuoxO7jXFbfSsN5Cr52KLLcj1D2J +J1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=owOnrPDJ; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 bo15-20020a056a000e8f00b0051ba768d329si9294851pfb.240.2022.06.03.13.30.30; Fri, 03 Jun 2022 13:30:43 -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=@suse.cz header.s=susede2_rsa header.b=owOnrPDJ; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 S232470AbiFBIbj (ORCPT + 99 others); Thu, 2 Jun 2022 04:31:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232435AbiFBIbd (ORCPT ); Thu, 2 Jun 2022 04:31:33 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E2E8138B6F; Thu, 2 Jun 2022 01:31:30 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 26FA421AFA; Thu, 2 Jun 2022 08:31:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1654158689; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=5mZl3ZNZZwSu+jBdshpeM5NmyVR6o4sDm1B5v32GAbw=; b=owOnrPDJm9uioMTlKiJMEHF9FqkITMeWdIoHmUN7IGzuQo/vVtOrOwruNYHJYUV9c7v0tk V8hy1q09Sal5d/EZNiq0ReaqKFfe09qfHdkWP1qzSAXh72imZtlFItch3yUusYDPL9Z03+ vAjCQHA75Yq+X7Pm+9TrYgTc4DlGJ3I= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1654158689; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=5mZl3ZNZZwSu+jBdshpeM5NmyVR6o4sDm1B5v32GAbw=; b=0xFQcCmnbvbcbf6vzSderaeCeGU37f6FJDL6jBfszFi9ciIREtxgdmfWWifhJm06SYCdnN V7gBOkk93bI28aBg== Received: from localhost.localdomain (unknown [10.100.208.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id E69DD2C141; Thu, 2 Jun 2022 08:31:28 +0000 (UTC) From: Jiri Slaby To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby Subject: [PATCH 1/2] tty/vt: defkeymap.c_shipped, little unification with loadkeys Date: Thu, 2 Jun 2022 10:31:27 +0200 Message-Id: <20220602083128.22540-1-jslaby@suse.cz> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 loadkeys 2.4.0 currently: * notes the use of --unicode to the output, and * uses "unsigned short" for key_maps instead of "ushort". So make our shipped file consistent with the generated output in this regard. Signed-off-by: Jiri Slaby --- drivers/tty/vt/defkeymap.c_shipped | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/tty/vt/defkeymap.c_shipped b/drivers/tty/vt/defkeymap.c_shipped index 094d95bf0005..0c043e4f292e 100644 --- a/drivers/tty/vt/defkeymap.c_shipped +++ b/drivers/tty/vt/defkeymap.c_shipped @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 -/* Do not edit this file! It was automatically generated by */ -/* loadkeys --mktable defkeymap.map > defkeymap.c */ +/* Do not edit this file! It was automatically generated by */ +/* loadkeys --mktable --unicode defkeymap.map > defkeymap.c */ #include #include @@ -139,7 +139,7 @@ static unsigned short ctrl_alt_map[NR_KEYS] = { 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, 0xf200, }; -ushort *key_maps[MAX_NR_KEYMAPS] = { +unsigned short *key_maps[MAX_NR_KEYMAPS] = { plain_map, shift_map, altgr_map, NULL, ctrl_map, shift_ctrl_map, NULL, NULL, alt_map, NULL, NULL, NULL, -- 2.36.1