Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2392329pxb; Mon, 20 Sep 2021 21:10:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRKrr5ttXmPkG3k9RBxRh+XbmJRp5YyjtIhYy5i8SBCZ1iaZTv3Hi9GM1uiXWSOTt8auyS X-Received: by 2002:a02:2712:: with SMTP id g18mr21820499jaa.115.1632197450784; Mon, 20 Sep 2021 21:10:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632197450; cv=none; d=google.com; s=arc-20160816; b=ItkhWuU6ELBoNzayuaQrtPghXQT6PxVn4rUoInNU6qIsnyjgY5bGgbZrgNZIs9gaUW 0fGxU/7AksQhD/0jtL+H3En9vey7COrFxjsZ+ASRAHwVyTrnFp1IXCPYQVPUrhJg9PA1 Foe8zE3CKDN5LjPEHpVIrV2rXYOM2IOvwJkHn5mVRs61Gqmv4/eZ8pFEO+QjLOPLYw7q dJzoH0GylNVv2Ddxm5wDdClXJbR9TI/Vp4HseP/SdhiHPjnqf2ZW2R93nEryUt+ve34j /U+xYtnGFryVUjC+iu4WJ2APVLlBif9XvLPhAju7P51BNU48LccWklN/UT3CdnMe7zb4 1fcg== 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:dkim-signature; bh=kJuxCA+lr9aQqZZBT5ST0vvzTYsVU9ziB3RzbVagWdY=; b=Ax9jeMpzDEL2ZrU4T1KYC+OuGEPrkK9bCvgMEq3RphY2v3gPpq22W5BCzsSWbKiDPe 6nMcexoOR9vgxA1dXykriy8j6KPzQRWM4zcwnIZP3yDGGVgMtAPo0AskrDrRfjxOwujy vibaru8jLfttzHQiz97+hIj+ZaZVJa5ry/6E+1dGVBCkOJN+sFpmiNwbHhgWSX3vTFA0 nr1RWRxmcMPtbfOAryrmE6wGQ2jQDjHbK0VDjgaTXa5omFR7zgENkd6FjiSMj3kghgsa 7cRH2aQ222dj0FmH98QKHalafvV2BHO+NK+hwPOctgr4t+lteCUKie4wIYss0zt9PPzy jvqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Zn7eGmlQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v3si17121541jat.11.2021.09.20.21.10.39; Mon, 20 Sep 2021 21:10:50 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Zn7eGmlQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229611AbhIUEAs (ORCPT + 99 others); Tue, 21 Sep 2021 00:00:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbhIUEAm (ORCPT ); Tue, 21 Sep 2021 00:00:42 -0400 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16BCDC061574; Mon, 20 Sep 2021 20:59:15 -0700 (PDT) Received: by mail-pg1-x529.google.com with SMTP id s11so19479909pgr.11; Mon, 20 Sep 2021 20:59:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=kJuxCA+lr9aQqZZBT5ST0vvzTYsVU9ziB3RzbVagWdY=; b=Zn7eGmlQ2ODCP6PbCnG87aTNmNcU9IQZudac1EfAt7dKL8YcLe+9f+nlnOEE/kmIyL 5ldZV6Jr77aLr7D2CmIqb3yd9e5oYOxBLbwwdD/FcoYiDruTd5vQBz+ez333TGmrWq+Y pOBGeFOh3RbbjrsPZDybbugkuvkFA7WJXlZJASPcRogD7BdxlJDT5oaRDM5eF4job5vn /lFlLIJtwIhdx1JBUSE0CCVkgIJ/BFPIgCEkNw1+Y0l6zMxsqv5teWXKE4NkiP1h6U3f vmg0NBRqUx01wO2+BiqjB5amg0BNf7KCgsfRTQH6fjLL3QWn/VQEK9Fc6IKrYp+hWMdD cA9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=kJuxCA+lr9aQqZZBT5ST0vvzTYsVU9ziB3RzbVagWdY=; b=uu50vEBOHy1rKsfzQm4j0NGMrX9Njvki/eJWoXAnGjo5D8Kwa4GxGHyM5phQs4FTPU aNyRk3jTIxQXISX6hUovuw0N2SLV1Kdep0mJi5Xb3q6Jg4DrtFNRWORoDyZfEUMtQiex 1pBo/Yq4x+BqOsiJ7MFNvUYw9KsumHhXig8Li1jpicWJnV1/TFJb4ywKfgN6UirnJPKC RSJDWaUAkantJR7cguYJN4AIRsO0suT1Le2BkQ1+vXZ98HM8pNNlIk2uzGLj8MSa70VX uTJ3sXyDlQLsQqOeogZGWfANCqGJrIDcGvu4cWyYEvkpAdHgYi2P7o+bZOuAJoETUVWT LZZw== X-Gm-Message-State: AOAM532qjcZ+ZSZLDMA2BR0+vkQ2zesrPQ9a5Fsk3jrglPhcV0tHWUv3 ukwcs9i8C9Zr8sgOTuHc9TE= X-Received: by 2002:a63:720d:: with SMTP id n13mr26275111pgc.470.1632196754368; Mon, 20 Sep 2021 20:59:14 -0700 (PDT) Received: from google.com ([2620:15c:202:201:a5b4:f272:6a63:5b57]) by smtp.gmail.com with ESMTPSA id k3sm795327pjg.43.2021.09.20.20.59.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Sep 2021 20:59:13 -0700 (PDT) Date: Mon, 20 Sep 2021 20:59:10 -0700 From: Dmitry Torokhov To: Jiri Slaby Cc: gregkh@linuxfoundation.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Wolfgang Grandegger , Marc Kleine-Budde , "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: References: <20210914091134.17426-1-jslaby@suse.cz> <20210914091134.17426-4-jslaby@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210914091134.17426-4-jslaby@suse.cz> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 14, 2021 at 11:11:22AM +0200, 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. > > 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 +-- Acked-by: Dmitry Torokhov Thanks. -- Dmitry