From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932093Ab1EXM5f (ORCPT ); Tue, 24 May 2011 08:57:35 -0400 Received: from cantor2.suse.de ([195.135.220.15]:49743 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756110Ab1EXM5e (ORCPT ); Tue, 24 May 2011 08:57:34 -0400 Date: Tue, 24 May 2011 05:40:44 -0700 From: Greg KH To: Florian Fainelli Cc: lkml , Maxime Bizon Subject: Re: [PATCH] TTY: export NR_LDISC and N_* line discipline numbers to user-space Message-ID: <20110524124044.GD31517@suse.de> References: <201105241043.03347.ffainelli@freebox.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201105241043.03347.ffainelli@freebox.fr> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 24, 2011 at 10:43:03AM +0200, Florian Fainelli wrote: > From: Florian Fainelli > > Since commit (4564f9e5: consolidate line discipline number definitions) > the patch moved all line discipline number from a per-architecture termios.h > to a shared one: tty.h. However, prior to this consolidation work, the > line discipline numbers were outside of an ifdef __KERNEL__/endif block > so these numbers used to be exported to user-space. > > Since such numbers are kernel ABI anyway, and tty.h is already included > for user- space header processing, just move these relevant defines > outside of the ifdef __KERNEL__/endif block in include/linux/tty.h. Any reason you didn't copy _any_ of the people who signed off on that patch, or the original author of that patch? Anyway, this is been this way for four years, since the 2.6.21 kernel release. Since no one has noticed, or complained, since then, how much a problem is this really? Meaning, why has it taken this long for anyone to notice? thanks, greg k-h