Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp804681rdb; Tue, 5 Dec 2023 23:38:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IFSNzk54bmIMpMDp2X29T6N5tvYXhXuEkMNTUxLDx2sA4AWefKnVvneXeKl+5+V8tmgw0Sc X-Received: by 2002:a05:6358:2919:b0:16f:f32c:1d97 with SMTP id y25-20020a056358291900b0016ff32c1d97mr856718rwb.16.1701848296372; Tue, 05 Dec 2023 23:38:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701848296; cv=none; d=google.com; s=arc-20160816; b=D+hcQx7fd5P4f//kAPWmCMRq5r0oEccClsE18y/2SSyTXlvYL5BVxPBz+0LpJBcSdR zS7DC3dWNV9gKO4sT/fdnpnIVlGSTKTeRFRyF7eqbEZB1/jrJheQlzUBRV6kj07PxRDP gKTke4j/YRCZPvMlekAiTBP8evCm79KFd6Ow7QacsYZGStcGUyP0rxafwMl9cEvd7JMo XzkocrSeZvNuJU43AcGHDuSUb7zrE9YPDUIyHheMJGM5M/qBCFoEHnhc/cHpmr78qMve fkTJ/vrsXsdYUoRVAMNscpIH1r/Y2O8j/KRxGYVBMZA6fmOiz0aXJNOxLQH1pBwRSPAU pqWw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mVX/tPPVMLCJ3xJlOPewnlXuJ9pL+ss5PkGVcGES/l8=; fh=1YNwm5KBWetjB3qGkhgLqh/dZnCTsWuqRk83JW6hjgE=; b=uiDswEaUWJypPTgRc69AveD/DfHSKzW/vELJnjMpMZKuEpiryqwMkzv65hKyJGh0tO tujf4qctz4cjl6BdDGQm2ejJPp9h7oPnd4u4J/MF4YYY0iAfHTMm0Okxwuq+hXndyLxI JWOY4GI3P44NnSUoO7T6GLgKU14D8LACR04Rb1xXmij45wgYvwTIkEmY5Uw6C9LtFWP6 ZAMeKVYQH/QZxqU1pKgAlRpWfSH6VPL5jmknm2zrdXsLzVENNIH+NY/thcDmSlvMgu+c wiOIJXm17pOwSJ/+UjfJSuafbNfYeSL5r6MmrU4ZPRtDtIGIS77LixOtIenio65fZNpl LZNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F9lyJr8g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id bi3-20020a056a02024300b005b57aa8517bsi11846281pgb.91.2023.12.05.23.38.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 23:38:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F9lyJr8g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id EF1778221797; Tue, 5 Dec 2023 23:38:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235178AbjLFHhp (ORCPT + 99 others); Wed, 6 Dec 2023 02:37:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232273AbjLFHhh (ORCPT ); Wed, 6 Dec 2023 02:37:37 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFA0D10C7 for ; Tue, 5 Dec 2023 23:37:32 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 622C2C433D9; Wed, 6 Dec 2023 07:37:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701848252; bh=1JMsbibgL+koo57Qg90X/yljRQK0lCI9j2/54D8BLQ4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F9lyJr8gR2xeB12ZCu6+xxyLMvX+7v9xLxohJzx8unyb4QSgkyZ1v9cWggNjMYQmi MVUoc+TiWLlvN5oonNBGV3GwvFR8PQwdBq0rF17Sx28cA6pNod2GfHsBmNqWANmRsd d+YvHDv128K3cNACr7QtrDJJCBDrkU+LqW0PX/J+XSWIXkfIVvN4ILlB/j/Bzhk3VN CkHL6OI97iBsiNOMR6j3bOivNyBgLZSzz6vzVB5C935C5xjvMdDhwqtn42bJ+m+yDW CPOF4oZPxi2/3cdyhHy+3IXSNn1rhVh1uqskK2oluKbvDFmaSWGV8A9yfTvaZjCjzw /6m6SlV2YS9ag== From: "Jiri Slaby (SUSE)" To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" Subject: [PATCH 06/27] tty: ami: use u8 for characters and flag Date: Wed, 6 Dec 2023 08:36:51 +0100 Message-ID: <20231206073712.17776-7-jirislaby@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231206073712.17776-1-jirislaby@kernel.org> References: <20231206073712.17776-1-jirislaby@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 05 Dec 2023 23:38:14 -0800 (PST) Switch character types to u8. To conform to characters in the rest of the tty layer. Signed-off-by: Jiri Slaby (SUSE) --- drivers/tty/amiserial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/amiserial.c b/drivers/tty/amiserial.c index a30dc054ffbf..7716ce0d35bc 100644 --- a/drivers/tty/amiserial.c +++ b/drivers/tty/amiserial.c @@ -81,7 +81,7 @@ struct serial_state { int quot; int IER; /* Interrupt Enable Register */ int MCR; /* Modem control register */ - int x_char; /* xon/xoff character */ + u8 x_char; /* xon/xoff character */ }; static struct tty_driver *serial_driver; @@ -178,7 +178,7 @@ static void receive_chars(struct serial_state *info) { int status; int serdatr; - unsigned char ch, flag; + u8 ch, flag; struct async_icount *icount; bool overrun = false; -- 2.43.0