Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5556586imm; Wed, 12 Sep 2018 07:44:33 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYL17yCrXOqdEGswS8FQE6dutXQdsCI3KBPsO7y247wOabU2a5wTxXBx4aoUTH9r6s007O7 X-Received: by 2002:a63:a319:: with SMTP id s25-v6mr2637974pge.199.1536763473132; Wed, 12 Sep 2018 07:44:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536763473; cv=none; d=google.com; s=arc-20160816; b=AMSv9GlXswzmXbxtxeqNDx3N5iBEgq4huS7MjVaKANW5hrJQLyCUjxNCN2ZSTjjARV 40AVoMNHE+eL3x7/zRZMBFQ+NZhYhik4rBCjsMKs0xd6wyMxb/TfoDBadKvP/8NN3oQc fmzSCjSWgiqJC2sl3gr97ZAnLM4xfp5ZCE9dRMXeo4JNFZh/q5F3owrz5l2Fx/PzdQ4D rTuP91BW0DW0VGckaF/XVI/ZrxFPp1nZ42ukseLDHI13Mbh2Ks4/7SJmaRav8w2Nn4VG JrIZ3BNSYhM2tOllxYkM1+kdjAd5QutSTj44uke5wBpPxolfku6Tcm155UIMXiFYR96/ j9oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=3Qeaym3JPJyBbzOscHbSFjpdLFMtPShXha3zw/sXOAo=; b=Er/14ETrhb94yKeMzg5ZX8EGJzXJI0uuEP317ABchfpmwACV+Op6NWviq9Eb4QTN9r s+s6wPcDoL+sd4JINY33cmV7yz9mW+lVEssh8hEcfWo89IDdo3uHz3d6KhiginhAL6// 3NEPeghUESSDAjMiJWhfymW5NQg7DEnpvh6oXQ/k/AccEi7ZwwWA8tYjri9kuZampVdr hqazT9WiZEOv/wwFFwSDv2J8j75tooIEeR4+vbvgax62HBKHkVtT/9JO58TCpEnh9L89 Bis09d2q/V4gJH21S+vzHrABHgTiTagHiJ2CRRbVv1jgMb9CgnKALHMS+CCuPHbsGLyW Dokw== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z11-v6si1113114plk.490.2018.09.12.07.44.10; Wed, 12 Sep 2018 07:44:33 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728082AbeILTrA (ORCPT + 99 others); Wed, 12 Sep 2018 15:47:00 -0400 Received: from www.llwyncelyn.cymru ([82.70.14.225]:55788 "EHLO fuzix.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726879AbeILTrA (ORCPT ); Wed, 12 Sep 2018 15:47:00 -0400 Received: from alans-desktop (82-70-14-226.dsl.in-addr.zen.co.uk [82.70.14.226]) by fuzix.org (8.15.2/8.15.2) with ESMTP id w8CEfKOJ013921; Wed, 12 Sep 2018 15:41:20 +0100 Date: Wed, 12 Sep 2018 15:41:19 +0100 From: Alan Cox To: Jaejoong Kim Cc: linux-um@lists.infradead.org, netdev@vger.kernel.org, linux-mmc@vger.kernel.org, linux-s390@vger.kernel.org, devel@driverdev.osuosl.org, greybus-dev@lists.linaro.org, linuxppc-dev@lists.ozlabs.org, linux-serial@vger.kernel.org, sparclinux@vger.kernel.org, linux-usb@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby Subject: Re: [PATCH 00/25] Change tty_port(standard)_install's return type Message-ID: <20180912154119.1fce639d@alans-desktop> In-Reply-To: <1536029091-4426-1-git-send-email-climbbb.kim@gmail.com> References: <1536029091-4426-1-git-send-email-climbbb.kim@gmail.com> Organization: Intel Corporation X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 4 Sep 2018 11:44:26 +0900 Jaejoong Kim wrote: > Many drivers with tty use the tty_stand_install(). But, there is no > need to handle the error, since it always returns 0. And what happens if another change means it can fail again. It's just a property of the current implementation that it can't. It used to fail. This seems to be a ton of unneccessary churn that will end up just having to be reversed again some day in the future. Alan