Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp501742pxf; Thu, 8 Apr 2021 07:26:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBg8XOZwd9PWlEWFQGfWYW7N6FqfkysP4p0UhMeJVMXbelmPJNt58sxYLOq4dX7w8MAR5k X-Received: by 2002:a05:6402:3c7:: with SMTP id t7mr11839926edw.196.1617892012010; Thu, 08 Apr 2021 07:26:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617892012; cv=none; d=google.com; s=arc-20160816; b=EHW0OZ5h8UQF7hxGyb12Pp9mzP6bw07PavtFPEAv6eQ7RYjlQiguaM0KOnj7Jpa6N7 Uh6/gIVrQQfcCb4ParOuffSOfVriiOGuQsUSP6rW1xMv75A38fY0tcBOzxQ9EGqUNxMW uej1Lqi0X7FUIZoxpg/pWccCVuJ6RoThTJnIy0MbRSyi6YhK+j5WGzk1z/PphJUY2HZ7 m6Oswb9gjVFDi8faXhry0iH+VOQDliMK2Sqc1tFYJhQIvoDXuvjKfT8cbCxL8l+kfH3B p02Sv67Fy8BJODbvMypjjDuYhMUe+m0dQU3Ob63O/aHrokWSf0wm5wlNtaHdGbiALnyV JO2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=53ybGgLdxCs/LCzWs6b44nbs3/EmwsIgNZ31VFRy2VQ=; b=Yl5yRNBwFaI6jgxBb9239D4TGIuc5Jd7MJsSkP/LktNsVgVN46Wqzmp5zWuqiZqPc1 hL/Y9LxdfmkVhpa0vMNNalXXLJl7rrNN/ZhhCgI+IKrHbV9oTashvOnOQKvO0ddwmk01 pKRI+fupEqjW46BpHofeH2QzKbxJau+l9kxAir7a6B2z/wWylhyj0Uve8U8CvPgCKH3H 8mI67XpjS2R7heBZhe/6n/1E3lZgZB+xMAAwnSI9q3NgI4fVB3tLVLlj8WEXBsw3G6Bf fBlQF0fJQb8SeVMFaHN13mbGLTSYI2MHTH9GwAiSsN2kkhoGu3pC0Z2g5T38NJVGyogV bQAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="nF/5+Q+j"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hc40si21236447ejc.276.2021.04.08.07.26.27; Thu, 08 Apr 2021 07:26:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="nF/5+Q+j"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231698AbhDHOZi (ORCPT + 99 others); Thu, 8 Apr 2021 10:25:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:34882 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231672AbhDHOZi (ORCPT ); Thu, 8 Apr 2021 10:25:38 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B46C36101B; Thu, 8 Apr 2021 14:25:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617891926; bh=sn2hDfKA8eJUAzhWw+QV3wjK0yJ9Bf1IhQlXuedPuro=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nF/5+Q+jTpcthesIyTGtzGT3v1THKcDRyfCg+NFfn3bY/TV3MWiTSP3NjMTcInP/7 O9R29lPRxzFDdmOam7nHy/YALC7lc+Yw5PpOgEotESdlfue/QTLGFI0sVqvkKCOO9L xRdST6WrMF7BaYo6DYb1cM4blMpBuvIqtV0NZhazgmzW7bWb8UWJ7XHNFwfS7D+qmb VY+RlaDb//0KGS6PkxQnfy8gFbyVnD6Q0fc+XfUGSllhQI9VzoK/JNKshLsLtWqTpd dC24ZfGSWvpWAeezkpVz4GfKX7PhSdG8EbKWPyKxg5S3FllyeBXaIeL8jc/i0bEIgY 2rbreDxzkGOkg== Received: from johan by xi.lan with local (Exim 4.93.0.4) (envelope-from ) id 1lUVb0-0001AX-EM; Thu, 08 Apr 2021 16:25:22 +0200 Date: Thu, 8 Apr 2021 16:25:22 +0200 From: Johan Hovold To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Tetsuo Handa , Jiri Slaby Subject: Re: [PATCH 00/13] tty.h cleanups Message-ID: References: <20210408125134.3016837-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210408125134.3016837-1-gregkh@linuxfoundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 08, 2021 at 02:51:21PM +0200, Greg Kroah-Hartman wrote: > Turns out there is a lot of tty-internal stuff in include/linux/tty.h > that do not belong there. Create a internal-to-the-tty-layer .h file > for these types of things and move function prototypes to it instead of > being in the system-wide header file. > > Along the way clean up the use of some old tty-only debugging macros and > use the in-kernel dev_*() calls instead. I'm afraid that's not a good idea since not all ttys have a corresponding class device. Notable exception include pseudo terminals and serdev. While dev_printk() can handle a NULL device argument without crashing, we'll actually lose log information by removing the tty printk helpers. Johan