Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2114171imm; Mon, 3 Sep 2018 19:46:25 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYRSDnEfUv0fIV3F6yk0jTsjmcXtNtjubc59r5EPWtXN1+SY9eLTJY7tJs1RJ2wDJ4bw4Ve X-Received: by 2002:a17:902:7b97:: with SMTP id w23-v6mr31455942pll.66.1536029184998; Mon, 03 Sep 2018 19:46:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536029184; cv=none; d=google.com; s=arc-20160816; b=fRTyyXfsYnMpk9GD0+VrOfskqOMXZrrFYlyxIh3qbBi33x137m3RgwT7h0wviRNfw7 O2A9gD6xACfuSYF4X+EDXIdYHoHpmb/Q31WQ5tiOZm46WJxWu/5DzMOFrMmlYik3woZC QToJ7GsFz+1/tNg2AzNmjoGyChycwLOx4goqQAEQLSHSv2juf5FSZlG0eGXK1ME8EHXM luGBUe4LGh7ER6kXsLfEEPOOQHsLjuwXQ6Fx71OKGNTxctqdgv+4xUGNQ2RCyxdoG5Sp GU+6Uid9btW1elHHVN93mFwRelTzK+LCBdu97a0+QLPRSLsx6IZnmckKJfJ5nOZZgtvd wDnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=iMhPemz6msZZyzFD19nUQgO5wHb0URGKKu4niDcK1R4=; b=gipOjSSNEa2b7apihMt9R9DpaMmfdX1k6O47TwJs+7dxrX3Fd4OUhQcPbWgKEtO89g 8jVnOonkqRcW3oPUNpOemugIMDh98o8uULLm/QXHiLZyuzeoTNCIevSpAgW+M8LgB5HO 8qBVlFaKlXT6VKCA4F+jiaNbBv3YKH0QAGpGf6hk0yFNSBPf5qeo8N/wq03FSLkeFJg9 zFW+gB5fVZxTFlTklmZ9Hpt7KUHr2dtFBw9+nzXI0nV4CR38HsOiHhlBOGMFIrRbMZhK RLXl7/9eUwZch16PLP8MevzOrmJYAyWk5l2oGCW+ERjtQ/qP4593Jv6MOe1CSoT3Yhg+ NB4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VhQlB8Um; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o20-v6si7591355pgd.58.2018.09.03.19.46.09; Mon, 03 Sep 2018 19:46:24 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VhQlB8Um; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726259AbeIDHH4 (ORCPT + 99 others); Tue, 4 Sep 2018 03:07:56 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:45501 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725990AbeIDHH4 (ORCPT ); Tue, 4 Sep 2018 03:07:56 -0400 Received: by mail-pl1-f194.google.com with SMTP id j8-v6so877993pll.12; Mon, 03 Sep 2018 19:45:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=iMhPemz6msZZyzFD19nUQgO5wHb0URGKKu4niDcK1R4=; b=VhQlB8UmNKA3oOJeJao1OY6bcYF/k7cLJxCEGlWQKLusZk+UVP/bcheK8G9PXklcN7 GHPJoNmtkLi5EUoYRvxqr2OAKnTDmSMtV8fwMTzhs6HmvfGwyDF4thEDAWs/jg+zeY68 cmmRJtbCtwbqUk5fNyPyioJbmkrcHrlA2imk/14bpJ/EC8V0erF97VnpzqYYjNPhG2Pe +hG4nLCHcBSpm41n8/4w811VtkX9nqM/3W/x9uAY4NgesnSC45G9xZOuM9EmdNvDtgZP /MCuCKXlIYenELMvi8CNL9njfnB0V2CNOdirUms0z8+0jqNImBiQd4Y/LaIGvdhvA/s4 zIDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=iMhPemz6msZZyzFD19nUQgO5wHb0URGKKu4niDcK1R4=; b=hoS/FC5mmH3xCz8Xip413lNbeL57FW0ALxhsyFoUWqipkVPCRvXou7qgwgvLiLxqlv 73weuJx4Y4YmQiKV7C43OkHZVe+6KqvJSCyJklBnnjnUQQk3RWPAQ+g88sEGfH3NOmQs J7nZk/I5lCRM07OD+vmNOtz0GfcMBwWhGfePpBTtENN6oSeLVfX2tgyVQ+XI5P4wQSKV 46Q7OPpozarrnbnVbxsXIo0BafecIoJMHJZzWo6Q87zCW7U56E0o8YqrLk4ooBFKVV3g 2hBBfPchzTYmaDasLYl9YHJAyV52NLFPY8Rakq8/mwswRXy+EsY/43SPxrnDMpcOjOHX VSRg== X-Gm-Message-State: APzg51AEyNfJXlVrAY5QqVBizktI4r+GdQ7EVWUKNbXWj436S91Nbyu5 a1Qb17yyxAZJHaPsrmKk8IE= X-Received: by 2002:a17:902:714f:: with SMTP id u15-v6mr32303395plm.154.1536029101535; Mon, 03 Sep 2018 19:45:01 -0700 (PDT) Received: from climb.lge.net ([27.122.242.77]) by smtp.gmail.com with ESMTPSA id w16-v6sm33663284pfi.101.2018.09.03.19.44.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Sep 2018 19:45:01 -0700 (PDT) From: Jaejoong Kim To: 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 Cc: Greg Kroah-Hartman , Jiri Slaby Subject: [PATCH 00/25] Change tty_port(standard)_install's return type Date: Tue, 4 Sep 2018 11:44:26 +0900 Message-Id: <1536029091-4426-1-git-send-email-climbbb.kim@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Many drivers with tty use the tty_stand_install(). But, there is no need to handle the error, since it always returns 0. So, change the return type of tty_standard_install() and tty_port_install() to void type and remove unnecessary exception handling where we use these functions. Change return type for tty functions. Patch No.01 tty: Change return type to void Apply tty_port_install() changes. Patch No.02~14 isdn: i4l: isdn_tty: Change return type to void ... Bluetooth: Change return type to void Apply tty_standard_install() changes. Patch No.15~25 um: Change return type to void ... usb: usb-serial: Change return type to void Jaejoong Kim (25): tty: Change return type to void isdn: i4l: isdn_tty: Change return type to void s390: char: con3215: Change return type to void s390: char: tty3270: Change return type to void tty: hvc: hvc_console: Change return type to void tty: hvc: hvcs: Change return type to void tty: mips_ejtag_fdc: Change return type to void tty: n_gsm: Change return type to void tty: serial: kgdb_nmi: Change return type to void tty: synclink: Change return type to void tty: synclinkmp: Change return type to void tty: vt: Change return type to void usb: xhci: dbc: Change return type to void Bluetooth: Change return type to void um: Change return type to void isdn: capi: Change return type to void misc: pti: Change return type to void mmc: core: sdio_uart: Change return type to void staging: fwserial: Change return type to void staging: gdm724x: gdm_tty: Change return type to void staging: greybus: uart: Change return type to void tty: nozomi: Change return type to void tty: vcc: Change return type to void usb: cdc-acm: Change return type to void usb: usb-serial: Change return type to void arch/um/drivers/line.c | 7 +------ drivers/isdn/capi/capi.c | 10 ++++------ drivers/isdn/i4l/isdn_tty.c | 3 ++- drivers/misc/pti.c | 28 +++++++++++++--------------- drivers/mmc/core/sdio_uart.c | 11 ++++------- drivers/s390/char/con3215.c | 3 ++- drivers/s390/char/tty3270.c | 7 +------ drivers/staging/fwserial/fwserial.c | 22 ++++++++-------------- drivers/staging/gdm724x/gdm_tty.c | 11 +++-------- drivers/staging/greybus/uart.c | 10 ++-------- drivers/tty/hvc/hvc_console.c | 7 ++----- drivers/tty/hvc/hvcs.c | 10 ++-------- drivers/tty/mips_ejtag_fdc.c | 4 +++- drivers/tty/n_gsm.c | 9 +-------- drivers/tty/nozomi.c | 8 +++----- drivers/tty/serial/kgdb_nmi.c | 11 +---------- drivers/tty/synclink.c | 3 ++- drivers/tty/synclinkmp.c | 3 ++- drivers/tty/tty_io.c | 10 ++++++---- drivers/tty/tty_port.c | 4 ++-- drivers/tty/vcc.c | 5 +---- drivers/tty/vt/vt.c | 5 +---- drivers/usb/class/cdc-acm.c | 10 +--------- drivers/usb/host/xhci-dbgtty.c | 3 ++- drivers/usb/serial/usb-serial.c | 6 +----- include/linux/tty.h | 4 ++-- net/bluetooth/rfcomm/tty.c | 7 +------ 27 files changed, 73 insertions(+), 148 deletions(-) -- 2.7.4