Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp252472rdf; Tue, 21 Nov 2023 01:24:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IEHGoytpOIkXuPRBitSQt7Z/JTyDSsZmuNGEbyVQ+rCNcgx9Sk8d3rxGl+Mvf7Qy7g8o8tH X-Received: by 2002:a17:902:ecc5:b0:1cc:5ac3:853f with SMTP id a5-20020a170902ecc500b001cc5ac3853fmr13059263plh.23.1700558694312; Tue, 21 Nov 2023 01:24:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700558694; cv=none; d=google.com; s=arc-20160816; b=O+EuMLU47qoRNRVz4JTySDB5pqUlCx9zYGyEppPyaHjhtSXBm9Ew7szRhfRD1I7XD4 yeDl8E7Icezyd7ieeoCJF1RmlkoRUf9BKDupcWcmYPE494wmmLaygBZywlh8hfth57sA RRhQcuRMLz6NET0TLhX1NVhW7ib/f3wqgM45XdlDpAyjeFrzD/D0MXxyNrdG4+20f/Vq D2TA0+vwSOXgSvepFtZQLHSmTpRBmnBoOPD6vDRLu85FkHxwICYiGffpBfygKB6bpGeX 8wyZ+9fKKC5LNxRIo9PRzs279BnIjgevkFJxzxqKBUECRWPxtRXcYGut/r83okll67IP d85Q== 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; bh=RaXDw3JsX3trYc5YLwqdrWtKFk8WD0NiySAJ2pOD360=; fh=y3fpn6iPtvsbejiwtiRVgQA/f5YGa5m61alZ8R9e3l4=; b=zeW/vQW5TsULVfHrNQLomqU4oLmUtVR+Bjfqak19gEErfbAeco48hg3mdKpVxLwVv8 +R2F31sfBIOMZVgcQ39E9M2jZI11WtUfAtDJGfBh3aGgMCh2wHKMFC2yXxnJAsCXbw8h ZEUYOi8Sf9UYsPr4+sUOvUmwhNKveFmsl1AmRAexOutHAUf1A28JSVFzYP+V6eoSeY8L f/A/82n4dxTiK+B87JlsQppW3gLD1anXCR9h77lFBWIsK5omNIOsproQRKwCYyCnJLuR t/hyE3UxAg9QfnJr1Kilbci4EH5OdZ2gXoRo/PCM1v9wp329GUW1PiDwTU+8a746gDZ2 90NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iwSgrfyt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id f5-20020a170902ce8500b001c07bac13d0si10238749plg.383.2023.11.21.01.24.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 01:24:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iwSgrfyt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 2B2A680BE866; Tue, 21 Nov 2023 01:24:44 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231923AbjKUJXJ (ORCPT + 99 others); Tue, 21 Nov 2023 04:23:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231936AbjKUJXH (ORCPT ); Tue, 21 Nov 2023 04:23:07 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2534DE8 for ; Tue, 21 Nov 2023 01:23:04 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 508DAC433C9; Tue, 21 Nov 2023 09:23:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700558583; bh=2JJEl9qZRNXTp7V/aOBIfQzLTFERSRdjiQ6fUrNoPtw=; h=From:To:Cc:Subject:Date:From; b=iwSgrfytuw8hnUaoDVzv7qtXXWU4WyVhfAxblRHJchTAK2tSuyagK2rZEAi4gBIQJ JdocksuBYkgUph7bj/c+wEoFOHcc3mx5yv0ulIMutaTqvd69qDJ3ls8ETbky0PqU0E 27lnClMCcoXqMRGdTmqr4DFb3ohg3WPkH6aRY6j8dwwx2B9S6AnrQROeGShCw+RJLR w55DkZMcZvy3rNVUXblSJBJX8OSJQ2yYlqaOtr9ZzqAQ5LmSVsO/3Vpw2l8IpAxzOc 2qy0KjAcwBxe+38uvGAZom6klSDhE7z+KWs85WHzIboLzUobKTeQsMSkOkMehbqfmj 0+91yF/EkPigg== From: "Jiri Slaby (SUSE)" To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , "David S. Miller" , Eric Dumazet , Ivan Kokshaysky , Jakub Kicinski , Jan Kara , Laurentiu Tudor , linux-alpha@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-usb@vger.kernel.org, Matt Turner , netdev@vger.kernel.org, Paolo Abeni , Richard Henderson Subject: [PATCH 00/17] tty: small cleanups and fixes Date: Tue, 21 Nov 2023 10:22:41 +0100 Message-ID: <20231121092258.9334-1-jirislaby@kernel.org> X-Mailer: git-send-email 2.42.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 fry.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 (fry.vger.email [0.0.0.0]); Tue, 21 Nov 2023 01:24:44 -0800 (PST) This is a series to fix/clean up some obvious issues I revealed during u8+size_t conversions (to be posted later). Cc: "David S. Miller" Cc: Eric Dumazet Cc: Ivan Kokshaysky Cc: Jakub Kicinski Cc: Jan Kara Cc: Laurentiu Tudor Cc: linux-alpha@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-usb@vger.kernel.org Cc: Matt Turner Cc: netdev@vger.kernel.org Cc: Paolo Abeni Cc: Richard Henderson Jiri Slaby (SUSE) (17): tty: deprecate tty_write_message() tty: remove unneeded mbz from tiocsti() tty: fix tty_operations types in documentation tty: move locking docs out of Returns for functions in tty.h tty: amiserial: return from receive_chars() without goto tty: amiserial: use bool and rename overrun flag in receive_chars() tty: ehv_bytecha: use memcpy_and_pad() in local_ev_byte_channel_send() tty: goldfish: drop unneeded temporary variables tty: hso: don't emit load/unload info to the log tty: hso: don't initialize global serial_table tty: hvc_console: use flexible array for outbuf tty: nozomi: remove unused debugging DUMP() tty: srmcons: use 'buf' directly in srmcons_do_write() tty: srmcons: use 'count' directly in srmcons_do_write() tty: srmcons: make srmcons_do_write() return void tty: srmcons: switch need_cr to bool tty: srmcons: make 'str_cr' const and non-array arch/alpha/kernel/srmcons.c | 29 +++++++++++++---------------- drivers/net/usb/hso.c | 11 ----------- drivers/tty/amiserial.c | 10 ++++------ drivers/tty/ehv_bytechan.c | 7 +++++-- drivers/tty/goldfish.c | 7 ++----- drivers/tty/hvc/hvc_console.c | 4 +--- drivers/tty/hvc/hvc_console.h | 2 +- drivers/tty/nozomi.c | 18 ------------------ drivers/tty/tty_io.c | 8 ++++++-- include/linux/tty.h | 12 +++++++----- include/linux/tty_driver.h | 5 ++--- 11 files changed, 41 insertions(+), 72 deletions(-) -- 2.42.1