From patchwork Thu Aug 8 10:35:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jiri Slaby X-Patchwork-Id: 13757240 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3FCC018A6AB; Thu, 8 Aug 2024 10:35:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723113355; cv=none; b=sQl3EI0QEmlCl63OGfSre5c+lwgrRSJzq3igGyczQ+a6PEkjs4rS+uS6bzKyS4gAB/TCYmmWjCEqW5upKmXcvq97dDbjCpPjIqvRuxtzjYhV6ieMG3IUGJR1X22qDtJY1EsNTsBZcrb13ZVDVW2HvvcQzdT64ToDq1VMuWQMHec= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723113355; c=relaxed/simple; bh=xgT1DTrtS2BTALYpnpNPT2qA7RzEiYYzMnGwhu3460I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=CilIk1H67SfPGNg1bhsUaH1dYgO4ZZCSp3s/cu5UFQvZ4/MYd59IyL4YK6sUoy4tcGp7hxpJfxexOw9PggAILgPai2DLJvAqmCgbzERezJBbvsNz1fDTApBrMcz9fYbYfEKBwiYp5hCFDzPGaSWu4ueu9OLlGBysKnqPYUVukdU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NtgrOA9O; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NtgrOA9O" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 11096C32782; Thu, 8 Aug 2024 10:35:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1723113354; bh=xgT1DTrtS2BTALYpnpNPT2qA7RzEiYYzMnGwhu3460I=; h=From:To:Cc:Subject:Date:From; b=NtgrOA9ORtqANBtpOLvL4sIBlnwGU2RFKIwD3bT0JuROWBRwZEfC5133Gsh5C8dAx jzeMh8+uMfIkfcY8SqWTFgDY1sYv8zXMVcn7dJUOtus16LLM8oh/xY9e8mhmor4SFH pF4T7BDjWZn6QT9g1QSH6g00Qpri0biOW1iWE96k/CAtduTpXvQXjSkuYGZCEuDpGt 1ZCUPPRf9ofjIHBZqPYZI/Xe5sK6TNPrBVj4AfW4+Udbz7shOAt93PX4qgN2RHDjiZ I/iYxMMiHL5mdRYpIu68+/dtHxLTwf9ZnIySEpM7wC3MquStgfNSHYAEwCJOF5gonl jhTrUN0ea0Dgw== From: "Jiri Slaby (SUSE)" To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , Andreas Koensgen , Andy Shevchenko , "David S. Miller" , Douglas Anderson , Eric Dumazet , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Jakub Kicinski , Jeremy Kerr , linux-hams@vger.kernel.org, Matt Johnston , netdev@vger.kernel.org, Paolo Abeni , Peter Hurley , linux-usb@vger.kernel.org, Mathias Nyman Subject: [PATCH v2 00/11] tty: random fixes and cleanups Date: Thu, 8 Aug 2024 12:35:36 +0200 Message-ID: <20240808103549.429349-1-jirislaby@kernel.org> X-Mailer: git-send-email 2.46.0 Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi, this is a series of locally accumulated patches over past months. The series: * makes mctp and 6pack use u8s, * cleans up 6pack a bit, * fixes two coverity reports, * uses guard() to make some of the tty function easier to follow. Cc: Andreas Koensgen Cc: Andy Shevchenko Cc: "David S. Miller" Cc: Douglas Anderson Cc: Eric Dumazet Cc: Greg Kroah-Hartman Cc: "Ilpo Järvinen" Cc: Jakub Kicinski Cc: Jeremy Kerr Cc: linux-hams@vger.kernel.org Cc: Matt Johnston Cc: netdev@vger.kernel.org Cc: Paolo Abeni Cc: Peter Hurley Cc: linux-usb@vger.kernel.org Cc: Mathias Nyman [v2] * fixed "serial: use guards for simple mutex locks" * added also previously missed xhci dbgtty patches Jiri Slaby (SUSE) (11): serial: use guards for simple mutex locks mxser: remove stale comment mxser: remove doubled sets of close times xhci: dbgtty: remove kfifo_out() wrapper xhci: dbgtty: use kfifo from tty_port struct mctp: serial: propagage new tty types 6pack: remove sixpack::rbuff 6pack: drop sixpack::mtu 6pack: drop sixpack::buffsize 6pack: remove global strings 6pack: propagage new tty types drivers/net/hamradio/6pack.c | 60 ++++++---------- drivers/net/mctp/mctp-serial.c | 23 ++++--- drivers/tty/mxser.c | 5 -- drivers/tty/serial/serial_core.c | 113 +++++++++++++------------------ drivers/usb/host/xhci-dbgcap.h | 1 - drivers/usb/host/xhci-dbgtty.c | 30 +++----- 6 files changed, 88 insertions(+), 144 deletions(-)