Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2406733pxu; Mon, 7 Dec 2020 05:59:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJzF66mfnFSa6KockcP4Rk7CGdum3TpzKr25ufCc9p++S8jd9V66Nl81PQAZzfrmO4nyRFeU X-Received: by 2002:aa7:c44b:: with SMTP id n11mr16831826edr.216.1607349562074; Mon, 07 Dec 2020 05:59:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607349562; cv=none; d=google.com; s=arc-20160816; b=x/+tCfvqF48kfoD0WMDFqT0sJS0WyFTvf0Lz8iM1MvurCPx/HhbJiBP2DSp41t6wel ju6Be1L63rOyJNU/YVnE6OhFSWCYQFB00mzqtMEJG1Jx6QCr9MnxhppVf5oDC47Qe1qH fp6rPzHVG24d6ubkKs4E0NJas7A7Xw3m/LUUWTJucCT+SOFS0A58HZDvjlt3hik+YX1L +DNd9w//rsHmuOL2kjyLdfDUupTbaJ7fgTqrbOlJptvxktsg9KGeHEMj8xwE1gcyPP7J 2gEEXJIfzndMXOalBi9qYYCBbWMc8vB0MeFqe2fp9ZKffISvIXmCafZYuOTLu/m5RSb0 fFIw== 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:dkim-signature:date; bh=y6jJTiNO4t8039F2xAJVpCVvpg83TpPOxT6YqPFdgwc=; b=PRrmb9GfoS7fqQFhKUp1H74NzFL1jL2S6FZjFHb2/dtrC5Vs0FB+MA+frhOaBUQ8Ad CKJTD5o6J1Kh7BVdyw22qxTtlqBFITdV5YsGKry2Scuow/AEtGZkj7EbtnZQCOBJ5h7L uHHNvXvZ0cJpJyF2nlW5OCduiYtHRyHjZKcBsxRDHaZsZn+ntI9c116abyjaRq1Zz6rP cSst0qis8AF8KjtLzQlhOh7E2psfR0OfVCDgJ4Xf8ZIQ+JlkZOzrqO2Rhn48u3KnbUrL 4buU1DIy23aTwdiwhaXoosgf7gCDxddjObeRNGYMm3zpheA5V6gaZieW2zdpHwWCcTqM yyag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yvf2FXmb; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jo25si6478341ejb.575.2020.12.07.05.58.58; Mon, 07 Dec 2020 05:59:22 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=yvf2FXmb; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726785AbgLGN4q (ORCPT + 99 others); Mon, 7 Dec 2020 08:56:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:55280 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726046AbgLGN4p (ORCPT ); Mon, 7 Dec 2020 08:56:45 -0500 Date: Mon, 7 Dec 2020 14:57:15 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1607349365; bh=j86uMV4nyGVtSMouy6rinWH1bQBectAHXQddmRlgCYE=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=yvf2FXmbvhSfU3lAlqtKMVjqPy8dj8msx3z87M9FMABLA4qNe1fID7Yb5BSLYmYGr MK3qeZTi1wf55JabHQVoST0ArIR/CcOQbHeKEJQCjAbUNMmoGs17QwxrvTVcuBX+4V K9n33H95RReOfR/ah0mbNgYtDHqeOt/3V/BufnJc= From: Greg Kroah-Hartman To: Adam Borowski Cc: Jiri Slaby , Jann Horn , linux-kernel@vger.kernel.org Subject: Re: [PATCH] tty: Remove dead termiox code Message-ID: References: <20201203020331.2394754-1-jannh@google.com> <5cca5126-60ba-d123-0f7d-47fdbac4c4db@kernel.org> <93834a92-b342-aaee-c400-2883d5df0cdc@kernel.org> <8e993706-46e2-cbed-265f-1ba63cc9274d@kernel.org> <20201207101904.GC2265@angband.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201207101904.GC2265@angband.pl> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 07, 2020 at 11:19:04AM +0100, Adam Borowski wrote: > On Fri, Dec 04, 2020 at 10:10:16AM +0100, Greg Kroah-Hartman wrote: > > On Fri, Dec 04, 2020 at 09:51:07AM +0100, Jiri Slaby wrote: > > > > > > On Fri, Dec 04, 2020 at 08:22:41AM +0100, Jiri Slaby wrote: > > > > > > > On 03. 12. 20, 3:03, Jann Horn wrote: > > > > > > > > Delete this dead code; but leave the definition of struct termiox in the > > > > > > > > UAPI headers intact. > [was snipped] > > > > > > > I am thinking -- can/should we mark the structure as deprecated so that > > > > > > > userspace stops using it eventually? > > > > Note this ^^^^^. He is talking about _not_ touching the definition in the > > > UAPI header. Does the rest below makes more sense now? > > > > No, I'm still confused :) > > > > We can't touch the UAPI definitions, but the fact that this api never > > did anything still is ok as after this patch it continues to not do > > anything. > > > > I'm confused as to what you are proposing... > > The UAPI definition can't be removed, but it would be nice to issue a > compiler _warning_ if it's ever used. > > Like eg. __attribute__ ((deprecated)) Don't add build warnings for no good reasons, that's not nice. As the feature just doesn't work, anyone who tries to use it will very quickly realize that :) thanks, greg k-h