From patchwork Wed Apr 12 22:37:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Pitre X-Patchwork-Id: 97348 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp471963qgf; Wed, 12 Apr 2017 15:38:23 -0700 (PDT) X-Received: by 10.99.96.2 with SMTP id u2mr65341pgb.96.1492036703189; Wed, 12 Apr 2017 15:38:23 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s68si21776452pgb.83.2017.04.12.15.38.22; Wed, 12 Apr 2017 15:38:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755480AbdDLWiS (ORCPT + 16 others); Wed, 12 Apr 2017 18:38:18 -0400 Received: from alt22.smtp-out.videotron.ca ([70.80.0.73]:56577 "EHLO alt22.smtp-out.videotron.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755360AbdDLWiP (ORCPT ); Wed, 12 Apr 2017 18:38:15 -0400 Received: from yoda.home ([96.23.157.65]) by Videotron with SMTP id yQtxcId2PzCgpyQtyc3wcd; Wed, 12 Apr 2017 18:38:14 -0400 X-Authority-Analysis: v=2.1 cv=QfzGxpvv c=1 sm=1 tr=0 a=keA3yYpnlypCNW5BNWqu+w==:117 a=keA3yYpnlypCNW5BNWqu+w==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=AzvcPWV-tVgA:10 a=cvZjqAxBu0kBS-vABKsA:9 Received: from xanadu.home (xanadu.home [192.168.2.2]) by yoda.home (Postfix) with ESMTP id 480D02DA053C; Wed, 12 Apr 2017 18:38:13 -0400 (EDT) From: Nicolas Pitre To: Greg Kroah-Hartman , Jiri Slaby Cc: linux-kernel@vger.kernel.org Subject: [PATCH 0/4] assorted TTY code cleanups Date: Wed, 12 Apr 2017 18:37:13 -0400 Message-Id: <20170412223717.20890-1-nicolas.pitre@linaro.org> X-Mailer: git-send-email 2.9.3 X-CMAE-Envelope: MS4wfNVAHJaBqWdQBOuDXubaLLqEtwvBjY5PpHotTXBw0Y+H9Jjg7kYBJ0+U7X0ERL+sbcEYlxZ6gmmnxZuOscv3x2hSMChGueI021m2XTyLfcas6ybUcEKt zqgxKk+09c7t1Uk6uwEr3j06aNFF4TWX1UMkKNGxL/o4fb6mDXx33DURemj8B3IOS+aAbueuhiVnxjX/Lqn11I2EBjUS/jZDVfYSILz+ADZxgDJ1zVGPC+Rp n+5O9HgvBh02o1OZb4pQRA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Those are, I hope, fairly uncontrovertial patches that should require very little review as they mostly do code movement providing nice cleanups. No logical changes are introduced by those patches. My minitty patch series is based on top of this, and given the timing, I don't expect it to go upstream just yet. However the following patches could be merged separately for the next merge window. Overall diffstat: drivers/tty/Makefile | 3 +- drivers/tty/serial/Makefile | 3 +- drivers/tty/tty_baudrate.c | 232 ++++++++++++++++++ drivers/tty/tty_io.c | 571 +------------------------------------------- drivers/tty/tty_ioctl.c | 222 ----------------- drivers/tty/tty_jobctrl.c | 554 ++++++++++++++++++++++++++++++++++++++++++ include/linux/console.h | 2 + include/linux/tty.h | 13 +- init/main.c | 2 +- kernel/printk/printk.c | 24 ++ 10 files changed, 838 insertions(+), 788 deletions(-)