From patchwork Tue Apr 16 20:28:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 162374 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp4661555jan; Tue, 16 Apr 2019 13:28:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxdwXdgkhkLC1wNC0hpCLaJ640YRdYNVwo7cmxdxxmYh+zKiLgtnGK/ml4xvJvKrFnadOcl X-Received: by 2002:a17:902:8d97:: with SMTP id v23mr50381124plo.298.1555446537613; Tue, 16 Apr 2019 13:28:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555446537; cv=none; d=google.com; s=arc-20160816; b=MW1WwJACraqCsrZkaIMlktkMzTDyISTbGyIhdhiVU+Z4i5c0U0C8VZTzoRo5FBLmtB +4vG1/3wtpvbCT+0MuQYRsZEoA52V/gyrmSVMTi/VqhJpRzFhuUYSzZHD1GhxCro4a3i ETCTS4scE8XhDXdxd1DFWv+CMfFmpGfkPQEluUymtpvVfU9/CxsnDSfQFPsVoP7vWfwn m6yOr/gxvWNWSuMcBLabAwsVYXkVJEWRrQl6SHX1GBVTXSFCoJFdCyxIifkyYJm7V2xI Xp3xo42LIFEGmPHhyL/aXbXz3yiTls+0j70egYamIpGnA6rviHLxqs3k44FjdSLT2oUe cVMA== 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:message-id:date:subject:cc:to:from; bh=8zjWXAdqj6JzaP5yHoBBBCSEyQkMeYE+a5ws8YP9nmc=; b=XYN2woHX7Fz26nx1+oC4h9vrZXyDf4wqdQXYRN+4C5pBWmxvn8emRr/Qw5KXjn3NTs rGeAmdaGwjBPEkjhnKdmp4cZ2huJIFJ7t9f4Jbi4ZnBxZk6riBD+ayA/dh70d8v/HN6o /M03tnKA/c964a7K32AtKsfXfdHsO62bd8l+WzKmsyaUTyu0/Ud7kWWXCjlRGsQ3TXqy reOjs416Vq+dsd8/W5sJ5fMAOj5aWRtNZggX4zOcOaToh9unnnth27M8b/AxTpNFxEkg lo3uHqKBQUNRz1BJ8+2RcnrwlZtmYwJQ7y9fn03kTw1aZvuQD+EG/MlDdSt6mmvYgz+Q af7A== 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 l11si43578423pgg.554.2019.04.16.13.28.57; Tue, 16 Apr 2019 13:28:57 -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 S1730849AbfDPU2z (ORCPT + 30 others); Tue, 16 Apr 2019 16:28:55 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:41015 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730806AbfDPU2y (ORCPT ); Tue, 16 Apr 2019 16:28:54 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPA (Nemesis) id 1MqbDs-1gUBSm1HMW-00mbc3; Tue, 16 Apr 2019 22:28:52 +0200 From: Arnd Bergmann To: Alexander Viro Cc: linux-fsdevel@vger.kernel.org, y2038@lists.linaro.org, linux-kernel@vger.kernel.org, Arnd Bergmann Subject: [PATCH v3 24/26] compat_ioctl: remove PCI ioctl translation Date: Tue, 16 Apr 2019 22:28:09 +0200 Message-Id: <20190416202839.248216-5-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190416202839.248216-1-arnd@arndb.de> References: <20190416202013.4034148-1-arnd@arndb.de> <20190416202839.248216-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:3ZKT++MKOIaWAeFxH+phaFXpicA/O7Jg3lc+FQWy7v5x3aALBYl on9zEz0cKj54B1M7rhKFh1IRYSiYTeFR9V3WBrM/vzpq42+fMf2rXxPyCVxIWCokSpZpHn1 x9rjhyKneDSQxQd62jBRag6wXhh+yAgjn5at16tByeIptIGlgDkaoBjMB/Vi+6Zacrgohtv ETUfeFUEStG/uJ2J/vdlA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:45TbWo2gyQg=:M4QrgOdibQp9Wss+0Ojs+h q8WNaqRjebl+99dZRsYoIPhmSn1WPeyB/2YoIPbzbMuiHnrMoXi/zC6YpadBqNqR8cUWhBt2V 860vywT7OHfWu5WLDQo/fIp1NnI6oKyVZZQW0ZAKqyXM5BhyNV7OnpO+CO2vaQ1mUel5UDrm2 pcjtBKnITHUmL5RRUw3mhs1QLygNkPiPMb3lxkQMyqU8WC79xC9E8h4S20LUM6fd7qCccBWf1 vDj9dGlZdB+Nlgij4dM+elWzb2SMU/QE1nQzlLpj0yh+vHOH0HPZa1wKbbECklMYvS1DwQHLw Y+Q/w0kQbPqPbQo9lUTQ7RFopUPKWsFFjku78XEPcuSLWVBjHyNPC9JBgDtwUcRM2XljN8dpl gwhwlMsWFybA2Af67StQe3esH8cVAsN+AtYG8pTh/+uXFrh2Dx/IqOyP8r7Gz6vVGnXmdc7Fu HJUrZ3S7iy/nh3eUYtfzKVJBmjSNwytKejW31w4zxeWcgtlu1BY1kq7f1Knwv2y4iRbb0AdY3 xii+cE8lQuvD+oT7RXdWF0XHchfB7vclYu+ZJrzQthlh4at+SFef8ACqeWkQWvuYej/1Lm8wk f2qa0SSUGF+BYiZr6gRU75CKXHFCKP2rOO3iJ+NJmpTMfWH+rFF3YWov//nlV4lH2uTBfX0qd sc383qhnqLmGLMwmBPwpG4WJagonvuJLymOoMekjYzMMjLweAgJcfrmq7ePBoD148EIAKJLF9 R2anTVQzFLfcwUENhzcaugdCbjdDl/fmg/RVog== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The /proc/pci/ implementation already handles these just fine, so the entries in the table are not needed any more. Signed-off-by: Arnd Bergmann --- fs/compat_ioctl.c | 6 ------ 1 file changed, 6 deletions(-) -- 2.20.0 diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index c81f5241664e..6ad45550b4b1 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -29,7 +29,6 @@ #include #include #include -#include #include #include #include @@ -378,11 +377,6 @@ COMPATIBLE_IOCTL(WDIOC_SETTIMEOUT) COMPATIBLE_IOCTL(WDIOC_GETTIMEOUT) COMPATIBLE_IOCTL(WDIOC_SETPRETIMEOUT) COMPATIBLE_IOCTL(WDIOC_GETPRETIMEOUT) -/* Misc. */ -COMPATIBLE_IOCTL(PCIIOC_CONTROLLER) -COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_IO) -COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_MEM) -COMPATIBLE_IOCTL(PCIIOC_WRITE_COMBINE) }; /*