Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp497531pxb; Tue, 14 Sep 2021 02:19:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyS11zdT7yaTLL5NWLREtiG/ov15pQj2pkXcXUhQy/g/VPjfPQuw8M/Zdt65PHkNr1lquKM X-Received: by 2002:a17:906:4482:: with SMTP id y2mr17601159ejo.484.1631611167941; Tue, 14 Sep 2021 02:19:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631611167; cv=none; d=google.com; s=arc-20160816; b=j7397VDLlm+K7EvJRdllH4RkgbSsZwKB3KwTt0gcgSDEYHGBMvW+EGl/j4JZi+cQ2e dC2uLfTNgtjxZ4DB3QQuAeQCSq0avfaEbKQ0/3oXZfGODDGMHnhHziao59CIfXU2RKMx yJcXrMFtZZm3FCdy8FaqqwOXYrkMLhhF7ZUuHD4B/FhmFbiONnN/eHkgZQ3EtsRBK0xT 4Il2ZDP4sNprmKOMsXUuWfTiWkF3JCK3EClZK5cnjaQqXS8gqdoJ/T3dGFVDJL/NlLhf 37astUIwfQ/LImY/Q/0Rcsxtr8Sh4V/yXsdelzGfAmVjn6/lm18moDXD8mDosE7IwH/0 cadw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=H5D/FfQQgMg0EZ2Qw/2aFXc39r6WsfLpy3vkmHT7Cb4=; b=g3IgaNYvFcvzA6Pg6mKRPX0xHeEAdlogI6i1ZtoQIZ7x7GKYNVN2S4Fk6YuJfOA1Kf RHXGPP0RKDeMsiQz/m1Iv1YOewtMcgnWnvPRRWqTgOQKSp5K5+XvZ0eU2pBPvijf2cm3 u8Ijx3gmlCqVMtrsyy/sJas+KLV7W3lrJv/x43AwiZCWzhn1d/4aeRmyn594IV/mirTV 4QsXAkdlwCTxZ1ILc5G1Eij6vCs8mXJPocgsIqdtRZpliY0YsbSjbdjXqe5XGfCO+TRi WEsbv9+ErziGzZSQk6DbSeaJlTghlbxbRU2a1YqY7pNtN7wQYlLYYmRds5HN0KxyuUa0 QTOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=bu0sP7CW; 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=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e6si10151640ejs.718.2021.09.14.02.19.03; Tue, 14 Sep 2021 02:19:27 -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=@canonical.com header.s=20210705 header.b=bu0sP7CW; 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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229816AbhINJQo (ORCPT + 99 others); Tue, 14 Sep 2021 05:16:44 -0400 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:40556 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230208AbhINJQc (ORCPT ); Tue, 14 Sep 2021 05:16:32 -0400 Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 5C77540179 for ; Tue, 14 Sep 2021 09:15:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1631610909; bh=H5D/FfQQgMg0EZ2Qw/2aFXc39r6WsfLpy3vkmHT7Cb4=; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=bu0sP7CW8Sg0NSBNOnvUjffSBeaabt2u9qWWFSzvoqlV0rsYH/cPhu94+HWkXjEMl 7h4hJ1mNdARqy4pzbblyx4EdtkbLYBZOOL3+vfiemYU9aQJ9Mm8L7h3c1imuVGLq/y vN24S+ZmKqsxSoeTNMGs0WDCzPJJ7Sq5qWpnTAb2DHplhRmVOJ0LmIMlfmLeg8Zcuj 688V8OkopDUPrn2v0xMz/tkZm9EkhxlaqLMughQEY+69qIm2eS5SBZJ9WwKaZ2MH0S czOZF5XsM7itKj15hBbmWy+5IB+8G9gTdnW5CTgCmrLIfCxBFVgPrWh8cPnDUetFpX s9zOs0d2EsA6A== Received: by mail-wm1-f71.google.com with SMTP id j21-20020a05600c1c1500b00300f1679e4dso463705wms.4 for ; Tue, 14 Sep 2021 02:15:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=H5D/FfQQgMg0EZ2Qw/2aFXc39r6WsfLpy3vkmHT7Cb4=; b=B3isRiJ1TMADgjLIgPBgw6m2U8qU9N+BQkOs5+j9WP7JbE4nnwxkgEw+P+FoJFztrf zxkZekRxiMtcQ+ILZOV2ceBJK/OYIjbo+eiFAEVPn65pqvs10pfACLLjL9SLwEPPcZDN akHWlUmTksMp/n88LsyPZNj8NUO39U4c4Se8Z1k3XpZGwrDhTVVGO+vDbFed0bx5FQkP LXHFZttm/fN7cWpAFH5qZ88PBwSaRKSK2NVnlyLfQRlmMxWZob3Xbr5pKQ5xDsIp9Rte N6vZ+xRMp/32HoAfh8NO2uhIGv2ttnD9MWCMo0ZOPh9+ewOq1+e2qkt8t9bo9mrvTX4W Wmqg== X-Gm-Message-State: AOAM531GLjNlvsi2kOpwAAa2JLJ5OgartwCuzos3UH96QD1mPdhCCnHs KJTvzqYc5tKxRa5G5JRf2s/bwHZIJ3EpwQlIGCOF6cB0z6yvtpEYRy1iFpdELD7nBlg2lUXhubF olshLUD5h+vQkZahZTKsdH0DCTmDnwTLnGeSaWxm3IA== X-Received: by 2002:a1c:9a8e:: with SMTP id c136mr980811wme.191.1631610908951; Tue, 14 Sep 2021 02:15:08 -0700 (PDT) X-Received: by 2002:a1c:9a8e:: with SMTP id c136mr980784wme.191.1631610908759; Tue, 14 Sep 2021 02:15:08 -0700 (PDT) Received: from [192.168.3.211] (lk.84.20.244.219.dc.cable.static.lj-kabel.net. [84.20.244.219]) by smtp.gmail.com with ESMTPSA id d8sm10448325wrv.20.2021.09.14.02.15.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Sep 2021 02:15:08 -0700 (PDT) Subject: Re: [PATCH 06/16] tty: remove file from n_tty_ioctl_helper To: Jiri Slaby , gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Paul Mackerras , "David S. Miller" , Jakub Kicinski References: <20210914091134.17426-1-jslaby@suse.cz> <20210914091134.17426-6-jslaby@suse.cz> From: Krzysztof Kozlowski Message-ID: Date: Tue, 14 Sep 2021 11:15:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210914091134.17426-6-jslaby@suse.cz> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/09/2021 11:11, Jiri Slaby wrote: > After the previous patch, there are no users of 'file' in > n_tty_ioctl_helper. So remove it also from there. > > Signed-off-by: Jiri Slaby > Cc: Marcel Holtmann > Cc: Johan Hedberg > Cc: Luiz Augusto von Dentz > Cc: Paul Mackerras > Cc: "David S. Miller" > Cc: Jakub Kicinski > Cc: Krzysztof Kozlowski > --- > drivers/bluetooth/hci_ldisc.c | 2 +- > drivers/net/ppp/ppp_async.c | 2 +- > drivers/net/ppp/ppp_synctty.c | 2 +- > drivers/tty/n_gsm.c | 2 +- > drivers/tty/n_hdlc.c | 2 +- > drivers/tty/n_tty.c | 2 +- > drivers/tty/tty_ioctl.c | 4 ++-- > include/linux/tty.h | 4 ++-- > net/nfc/nci/uart.c | 2 +- > 9 files changed, 11 insertions(+), 11 deletions(-) > For NFC: Acked-by: Krzysztof Kozlowski Best regards, Krzysztof