Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4249135imm; Fri, 18 May 2018 01:47:14 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqVHIYOQLp5MniCgxVILcyG5OQP2A/mecm5+rLTHcr3UfW4hOZoj9Kqjg/PdjoqxdBPi+Pc X-Received: by 2002:a62:7105:: with SMTP id m5-v6mr8317618pfc.167.1526633234089; Fri, 18 May 2018 01:47:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526633234; cv=none; d=google.com; s=arc-20160816; b=VQanpM3bJcPgKwEsx7icMLJN1+/Y+mJWxKzwCsdG2vrp/p0qzx1UVLITUEK4BmfwjY 3+UwJ9QiClje2kaAG29qhMMmjjF7MJtFRS0WOwZfOg7bfj20NtgMn0D52PYHs4cmNjGB Ahnfag6Ko116KFJLLyCUtNOxJrABPxcg/uf6FGUHWjvLyzfYOIKYSWLp4XEKWoH6NMiw iFAp7/Hewh0WpmxpyC/6rhtbAVAlv7FOL6dT8K/lJ7x0+TRmuRQhqnugXFCeqAe6zrUF FX6QoBMIrA1OHNLM6C78FdrMyHrxYo6ynM+ykh8DwjzsV9FtoqlEv5OyVDtnqnSSUkwX kl4A== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=cjT7puj4Yz0DPinl9q5mllHbIrP3/Us41du77ucsyEc=; b=YjnkNY07pxua8fkW9aACFsW+0qY2XQN3JynVKs5o2Vb3VY71lBfFQQddtc2Bl7Sk/0 9lQwOzfY9n3kS2cpyWvJ8CltTN9+4jZRMceBdrimkxPtReVy+qozf5Gn+KEgAVmEoAkn +JQzm7Tpa/IkA8YKu/rKGMviNnKKytdLiUJjzB/FWyMgDezxIDlrvwiITwsN5qpxwTT9 BIe6OAN3ucL0brM0/DXYM5aQ3xNZbz02ezunWnFW3YIMfLuhg7a9XODxGRL3U3aWYcAZ BUIe54SIikK5NPZkT60/iEQcgT0H5R2napIE6ux7f17LLmBbnuKXWx9obKN/FBbZrU3r DHmQ== 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 n3-v6si5583455pgr.342.2018.05.18.01.46.59; Fri, 18 May 2018 01:47:14 -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 S1753591AbeERIp2 (ORCPT + 99 others); Fri, 18 May 2018 04:45:28 -0400 Received: from lb1-smtp-cloud8.xs4all.net ([194.109.24.21]:43037 "EHLO lb1-smtp-cloud8.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753139AbeERIoM (ORCPT ); Fri, 18 May 2018 04:44:12 -0400 Received: from xps13 ([83.160.161.190]) by smtp-cloud8.xs4all.net with ESMTPSA id JazKf62Fl4a9TJazNfgahk; Fri, 18 May 2018 10:44:10 +0200 Message-ID: <4e7091873e8a220c454a7ce5a3f52edc5b5c3e3a.camel@tiscali.nl> Subject: Re: [PATCH 38/42] isdn: replace ->proc_fops with ->proc_show From: Paul Bolle To: Christoph Hellwig Cc: Andrew Morton , Alexander Viro , Alexey Dobriyan , Greg Kroah-Hartman , Jiri Slaby , Alessandro Zummo , Alexandre Belloni , linux-acpi@vger.kernel.org, drbd-dev@lists.linbit.com, linux-ide@vger.kernel.org, netdev@vger.kernel.org, linux-rtc@vger.kernel.org, megaraidlinux.pdl@broadcom.com, linux-scsi@vger.kernel.org, devel@driverdev.osuosl.org, linux-afs@lists.infradead.org, linux-ext4@vger.kernel.org, jfs-discussion@lists.sourceforge.net, netfilter-devel@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 18 May 2018 10:43:46 +0200 In-Reply-To: <20180516094346.20506-39-hch@lst.de> References: <20180516094346.20506-1-hch@lst.de> <20180516094346.20506-39-hch@lst.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.2 (3.28.2-1.fc28) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfB6YgMplMqSV6ybdh2qxdjXGwROvDDBp3OOmh9D5hR3uu/4cRLKqNAZc/n7EBVCQ1yFAgWHrTiXbvBEewQW2bC7Mt5PIP5/SWK34tza9oJK9Whl3QxPF bi+FsdhlHHTVvmlIPPICAv3mkuDTXsgzZN6NaQKqFcsAho9oLfS6uKYv5Wsn49VSw8dmsldzxr0sP+3mDsdSEdSf1u78mBIF6F0Idia74ITCgXx7MlidTkMl VxG9AUtIwjq/7eAH2t7/1bA9tXUsb8/yaPlSz8eFP5Z9U8U98HPU5aQOqfrpGJV1Z9+Yf/8FafDpN5hLA+jngK8lhyxQWAhJQepOXVCxW79Fr9zzi5kxbpNf tg6IdZYR+RyJxWzEi5IP/PcZyhtqa0RhdCPkZ+P6jdOPusFp/BZ59Dce6PmCFRBFtjSrvgWnGAU0HkfS9IZFvy2+aU4IiRb/eJ8Yqej6NPVMExLnrGRy5QdQ aNVwaqm8SRCGURfpfuZApplCwvJSIOlhCfc+l6JmG1d4aQM7Omw8DhHIx7QO8GvMtY6+1GCcW3rTTMN52NCfDf9Ojqfg65IYWgA9I3IMRZ8EkZkMVDhV29tZ 9y4Sf89ykYi8b8APbWZgv0/X+NHvgNK1laNAKUzALtFgGB/zAJJ07jcfR9klhbM9coC96CEqOPjsNdFuoVyIJjJkigTWzvJW0kqpPm+ZErUfUIu0WlErJcLc dBTZvSnWNMcB48ZgAfZ+nBs/lpiSss4IsePrKCY+0pr7a7EWiaBPGKHBzFhDTZGZ/rqRLGoED+t1VSB+YImEZRUNs6+1KXy9Vw4t462lTo3eyiVS+mm3t/Mo A2MrnMmgmNDdR5bB/zH0Q+Emc50yVY+ZoYkT0OM4PX0jdA+uEh5bWo8RoTvKzwpyPB4TPP6daRdZrLSUyPyFeJI8QDxtGxbnGQ6ug0q8Hi7FcIqAU306muup I97kuD6ifWJ9F684Gen72EOl+C3bcL8yMRiLsv8TpdWGKf0uH7SXq7rDp5ctk+8+VVUpsw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christoph, (I don't think the patches of this series ever hit the ISDN related addresses still found in MAINTAINERS. And now I might be a bit late.) Christoph Hellwig schreef op wo 16-05-2018 om 11:43 [+0200]: > diff --git a/drivers/isdn/gigaset/capi.c b/drivers/isdn/gigaset/capi.c > index ccec7778cad2..dac5cd35e901 100644 > --- a/drivers/isdn/gigaset/capi.c > +++ b/drivers/isdn/gigaset/capi.c > @@ -2437,19 +2437,6 @@ static int gigaset_proc_show(struct seq_file *m, void *v) > return 0; > } > > -static int gigaset_proc_open(struct inode *inode, struct file *file) > -{ > - return single_open(file, gigaset_proc_show, PDE_DATA(inode)); > -} > - > -static const struct file_operations gigaset_proc_fops = { > - .owner = THIS_MODULE, > - .open = gigaset_proc_open, > - .read = seq_read, > - .llseek = seq_lseek, > - .release = single_release, > -}; > - > /** > * gigaset_isdn_regdev() - register device to LL > * @cs: device descriptor structure. > @@ -2478,8 +2465,7 @@ int gigaset_isdn_regdev(struct cardstate *cs, const char *isdnid) > iif->ctr.register_appl = gigaset_register_appl; > iif->ctr.release_appl = gigaset_release_appl; > iif->ctr.send_message = gigaset_send_message; > - iif->ctr.procinfo = gigaset_procinfo; Is this intentional? You didn't touch the procinfo method in the other ISDN drivers, as far as I can see. (If it was intentional, gigaset_procinfo() can of course be removed.) > - iif->ctr.proc_fops = &gigaset_proc_fops; > + iif->ctr.proc_show = gigaset_proc_show, > INIT_LIST_HEAD(&iif->appls); > skb_queue_head_init(&iif->sendqueue); > atomic_set(&iif->sendqlen, 0); Thanks, Paul Bolle