Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp741599pxm; Thu, 3 Mar 2022 03:49:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJy99RPmuyk7js3XPTdqHrk2YyZ+WSwXYNVmAA033nmiy99iH6UwiwC96SYAq7iq3O9W996+ X-Received: by 2002:a17:902:f785:b0:14d:d2b6:b7c with SMTP id q5-20020a170902f78500b0014dd2b60b7cmr34768559pln.68.1646308165247; Thu, 03 Mar 2022 03:49:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646308165; cv=none; d=google.com; s=arc-20160816; b=0o/zY1iHB6mv6eLleM46L4e1CJJm1/U/NHP0HAIjbYyL0U7MI/rgQc3zsvW9zxnSAW cebMex+H8X5DMTPa8uFfAxeUeQu/bqDUKv4QaApQhUlJAzLJnlpAo0AY3Xj+bQyOD9T8 z5symYfwZP0TIEpGJlzeCV7n8yeaQUDtsx+Zm7frJHUNEDitgFQyUGzUwlsT6Mji6CYx xlpmBNOlaqPkEsnSs2jazNTOi0AuJ8AyNwHtcgQBc+KzEg/tJJkXZsUiI3ilHw5W2ElK KZ19nbM+ZCe6W3I+2AU2eFqNpnADA6aXULDGkEBgPEaummW/ilw4oPwGkv5zmx6W2hcK fIMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=IDiQKJrDpIO7+2X0qZBOWb0f8AHNA+AoPBY4gI4/LKk=; b=bprWkigX3RdY9FyvRypvTu1R68F2Rdn5CKpvrMNywYBtj36SjShGTsMAQ2vcWGRJR1 cpq4XB985XO2zY5CdfX+Kiryb+WUK1kWZGieCIORl0t52ZOPTOClDraGb1IoEq4XlS6q Mv+ZnDuq6L6NQLuSr56gCU4xMXdVOr2c2coU6U66SPTg+KiLgfvuWdgzeRljo35YEZus HWZhLp2VlDH0SZt0LBxGqxLs/hUq4FTRQN4cnRhmJPIzLIRw7D5jPC9E1CvDfrYdvlB1 1C97gKlBsmkcno2k1EHE7aD5ewmR5YTL/hnm5ew347el4QJDSqvss/44YGpBGVrXMPVl L29w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=cTmRBz8F; dkim=neutral (no key) header.i=@suse.cz; 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 l6-20020a17090270c600b0014f8cf7c729si1680885plt.190.2022.03.03.03.49.09; Thu, 03 Mar 2022 03:49:25 -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; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=cTmRBz8F; dkim=neutral (no key) header.i=@suse.cz; 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 S232829AbiCCLhI (ORCPT + 99 others); Thu, 3 Mar 2022 06:37:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233147AbiCCLg6 (ORCPT ); Thu, 3 Mar 2022 06:36:58 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05B8B4B840; Thu, 3 Mar 2022 03:36:01 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 6434D218E6; Thu, 3 Mar 2022 11:36:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1646307360; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IDiQKJrDpIO7+2X0qZBOWb0f8AHNA+AoPBY4gI4/LKk=; b=cTmRBz8F83E1yHKbJThlcDmx0Lhn1CoJRik6ZO46mItJ1F5211m4z4XagQoi77clhsZ/2s 19gDh0lYUziEm1ws5oWGZtcDbixOaAYNtzHlpJZ7pofO44JLPEev1jkNPVmJ3JxCc6dVxf wSlPR9WgwPVswQXZS5n/Pogpec3NxRQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1646307360; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IDiQKJrDpIO7+2X0qZBOWb0f8AHNA+AoPBY4gI4/LKk=; b=AkhkNvd5C2h4CZs/sf+t+jQr9jypWdfbeSbPkPQLh7oD4tOmAFR1GgkQk4UPjn/mjVm0I7 7uF6GmQZdb3BmKCg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 4566813AB4; Thu, 3 Mar 2022 11:35:59 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id NFGoDx+oIGLmJAAAMHmgww (envelope-from ); Thu, 03 Mar 2022 11:35:59 +0000 Message-ID: <67a0df7a-aa19-e323-3af5-00fda7e7dd62@suse.cz> Date: Thu, 3 Mar 2022 12:35:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH v3] serial: make uart_console_write->putchar()'s character an unsigned char Content-Language: en-US To: "Maciej W. Rozycki" , Paul Cercueil Cc: David Laight , =?UTF-8?Q?=27Uwe_Kleine-K=c3=b6nig=27?= , gregkh@linuxfoundation.org, Alexandre Belloni , Mateusz Holenko , Neil Armstrong , Benjamin Herrenschmidt , Liviu Dudau , Baruch Siach , linux-kernel@vger.kernel.org, Paul Mackerras , Michael Ellerman , Michal Simek , Karol Gugala , Jerome Brunet , Peter Korsgaard , Florian Fainelli , Alexander Shiyan , Krzysztof Kozlowski , Alexandre Torgue , Fabio Estevam , Russell King , Ludovic Desroches , Andy Gross , bcm-kernel-feedback-list@broadcom.com, NXP Linux Team , linux-serial@vger.kernel.org, Vineet Gupta , Orson Zhai , Tobias Klauser , Patrice Chotard , Albert Ou , Maxime Coquelin , Manivannan Sadhasivam , Martin Blumenstingl , Sascha Hauer , Takao Orito , Vladimir Zapolskiy , Lorenzo Pieralisi , Paul Walmsley , Bjorn Andersson , Sudeep Holla , Richard Genoud , Chunyan Zhang , Nicolas Ferre , "David S. Miller" , Taichi Sugaya , Palmer Dabbelt , Pengutronix Kernel Team , Kevin Hilman , Baolin Wang , Shawn Guo , =?UTF-8?Q?Andreas_F=c3=a4rber?= References: <20220302072732.1916-1-jslaby@suse.cz> <20220302175242.ejiaf36vszr4xvou@pengutronix.de> <5c7045c1910143e08ced432d938b5825@AcuMS.aculab.com> <84ad3854-28b9-e450-f0a2-f1448f32f137@suse.cz> From: Jiri Slaby In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 03. 03. 22, 12:30, Maciej W. Rozycki wrote: > It does, but, oh dear, it's a "solution" to a problem we have created in > the first place. Why do we ever want to have signed characters in the TTY > layer, We don't. We use char, which is signed or unsigned, depending on arch. After all, this is text coming from printk layer, i.e. char * by convention coming from the standard. thanks, -- js suse labs