Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp261012pxb; Wed, 15 Sep 2021 01:08:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSJ9aNZsSOFCxpzn5LQYg2m5FTJWU4bq47THT3bojUA9YUkpL59Xj1mHtJd1pfu/oqoKok X-Received: by 2002:a05:6512:c23:: with SMTP id z35mr16655649lfu.62.1631693329554; Wed, 15 Sep 2021 01:08:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631693329; cv=none; d=google.com; s=arc-20160816; b=PPZFJE8bXV5ZccDT8Z5Uu6yTONuZy7aGdrY6Fjb7+bntgwI3aHWNtkk3zEHB4RtR89 u84I4Rk1g3aPSqhpjY5hbsMX+237vMrGt/dUZ+cDrtoqM93Ynv5GE3vjf2RRaRpm1Z7e GzB6+keG/HxmF5hQxMtIEnSYmoPqM3TcslVBSWQ8feMkOqs/E8BaWnclF7hNNHtTmHip CbWDkvNXuOumX18Bf/B8apd8ouw5hSIsrCs0II2on6GMHxALEUfdLRa/gv/o8T7045To XxG9cE69HE4CxycUVna1OW0dbZp4GasWPElmBAq+Wgj7lvdsHblXQ7W0mo45tYygHHpI lYJg== 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; bh=chDPLwsKmzWwJqdZ664JOm1X6nbSYjb42jr3aP3IJ/g=; b=DXu37Fb8XHXgU9SdrIdfybGwvnE1522Jr3XCcbZ3aA7+Kue75smGAKlVo4XHmzAs3l +IbFG36Rjjqam0CpOD1EOiVA7gSQ6GFhNxai2KoKmmx2u0G8sxnl9no6GcR2pXogIfrg dvZhSu9vgJGcdZ99aVr0v41uRq8OLWj5HvIs3QFEsI1bV/9zSrmco8+egyOt0dZzXNFb 0BkcodF83fzHhSQhdIlJvmUNZVgdAYdwMsLMSMs1pkofXjrbwsD7ZGkofAUgBVp4/lzR us5bqHUb31X7zocZW11+2Ai67ecGaRk57upuQ/QJutLlDs/1SmJTj2cjL/0oNdg+NLmo FWBQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b16si18289704ljo.600.2021.09.15.01.07.52; Wed, 15 Sep 2021 01:08:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231610AbhIOIGl (ORCPT + 99 others); Wed, 15 Sep 2021 04:06:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231489AbhIOIGk (ORCPT ); Wed, 15 Sep 2021 04:06:40 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4846C061574 for ; Wed, 15 Sep 2021 01:05:21 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQPun-0002mv-1O; Wed, 15 Sep 2021 10:05:09 +0200 Received: from pengutronix.de (unknown [IPv6:2a0a:edc0:0:701:8a97:9358:ae:5dc8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 6389867E518; Wed, 15 Sep 2021 08:05:06 +0000 (UTC) Date: Wed, 15 Sep 2021 10:05:05 +0200 From: Marc Kleine-Budde To: Jiri Slaby Cc: gregkh@linuxfoundation.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Torokhov , Wolfgang Grandegger , "David S. Miller" , Jakub Kicinski , Paul Mackerras , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Peter Ujfalusi Subject: Re: [PATCH 04/16] tty: make tty_ldisc_ops::hangup return void Message-ID: <20210915080505.rq2gj4e3ltfzinbm@pengutronix.de> References: <20210914091134.17426-1-jslaby@suse.cz> <20210914091134.17426-4-jslaby@suse.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iopoaeuqhybpk76v" Content-Disposition: inline In-Reply-To: <20210914091134.17426-4-jslaby@suse.cz> X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --iopoaeuqhybpk76v Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 14.09.2021 11:11:22, Jiri Slaby wrote: > The documentation says that the return value of tty_ldisc_ops::hangup > hook is ignored. And it really is, so there is no point for its return > type to be int. Switch it to void and all the hooks too. >=20 > Signed-off-by: Jiri Slaby > Cc: Dmitry Torokhov > Cc: Wolfgang Grandegger > Cc: Marc Kleine-Budde > Cc: "David S. Miller" > Cc: Jakub Kicinski > Cc: Paul Mackerras > Cc: Liam Girdwood > Cc: Mark Brown > Cc: Jaroslav Kysela > Cc: Takashi Iwai > Cc: Peter Ujfalusi > --- > Documentation/driver-api/serial/tty.rst | 2 +- > drivers/input/serio/serport.c | 3 +-- > drivers/net/can/slcan.c | 3 +-- For the slcan.c: Acked-by: Marc Kleine-Budde Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --iopoaeuqhybpk76v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEK3kIWJt9yTYMP3ehqclaivrt76kFAmFBqS4ACgkQqclaivrt 76khdgf/X14fNFG2Wsnq+ToDU18WpqftWFAPePHwvLjLnzpK8zeLdyW8zCQWTWPH q+B9F6gKwLMUefIXBFwlqTANCa/YNUdfA0EgTBU4M2m5J4VTMNso+ysHCdj07b3T 4v3dMBevFhWlyRgmUczwGMjCG1TGghaIvhOqv2VQiJBrD51sXIoGcAIToMiUCZaX xx1Uxh5UBQb59OtRTmJPiMieQToImQrUUYDRMUMJP4ObGWUOS1Bjo5xlMxLl8yot CC1nGYy5R2BwKSJ56LFHuYQn8HWRYBjV09oxqB5k9MF3B4g6xYSJjItQ5N76zeXy 5s5+s9JQpy/y3/C+14KLSoEV2Mg6jA== =ADnc -----END PGP SIGNATURE----- --iopoaeuqhybpk76v--