From patchwork Sat Sep 8 14:28:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 146240 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp627867ljw; Sat, 8 Sep 2018 07:31:56 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaOFT+U1neMPvgeTMghicHQPHh0oxmtsAQIzAscY0Ud4HtkLoubpmAAqM67GFgCnpGzPgUf X-Received: by 2002:a62:7d8d:: with SMTP id y135-v6mr13896720pfc.259.1536417116559; Sat, 08 Sep 2018 07:31:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536417116; cv=none; d=google.com; s=arc-20160816; b=w4854NABhXkHVeswKkZlz2S49ZYAjdYJyrkCjU1g0FHbHz/3O4LCaJ5UBbA+RijvvS Di/cv21V8PexIeiL5J+X0M0FivT1L21XxVWM1BlKUW0MXkgeSr+m5iFSk5wp4G4VWN/v WIXBIj9vL6SfTN7u83Ghf/rcwU9WpMYbPHB4BHEPZ6DdcoyJrbxMkjSkTFMAImtDJh3X qhX56oBZ+WEkE4BGteZFZgthGQz9IVpJ/Y831KR7kchcWsPdITcJoIbxFBaOTe3CGZWe ThXy0mx2bs3gVl0L+WFlTDJeAAICCH/ncnJLJ8FYu9FBbzk2/4DrYD2UAybeDqZywmS9 DTYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=GHIr2lYzZeqX1OWd3qjHHhKYE/+ZvO23EAKVdd/STOE=; b=mIXiQEGtBFqRwpDN1nAfnC/ZAQp7EB+q4DxOO1kS9W+965EK/lCvoSnfc1XrgHnQNj nCTdQFgEwK8qcS9MEyQlqMK0KYNbvmLb0OHKPksekG2sUuKUu//fJollQgHkBAb/7gFM x6cLjOHUxRP3KBr6Gk/fzZblV+Ilt818e+IXTMetSEVMA1NyCqZnWb+QOVZo7B0GzJfG JuiVqwb0R1LtTx+yhMhaRn7/1lE156D+w6zuYq5n6HGPk8zUdjj45Do4k0fseemwwMvr hePlDFPwpY9iqvyr5boSpZgNEwcsTUtIsLCy/O/XVFU8CFgurIqEO1nA3RuusfL3ip8E sFkA== 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 d20-v6si12222059pgj.535.2018.09.08.07.31.56; Sat, 08 Sep 2018 07:31:56 -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 S1727707AbeIHTRx (ORCPT + 32 others); Sat, 8 Sep 2018 15:17:53 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:53125 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726498AbeIHTRx (ORCPT ); Sat, 8 Sep 2018 15:17:53 -0400 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1MdNse-1fPJWa0qJM-00ZMfa; Sat, 08 Sep 2018 16:31:52 +0200 From: Arnd Bergmann To: viro@zeniv.linux.org.uk Cc: Arnd Bergmann , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/11] compat_ioctl: remove PCI ioctl translation Date: Sat, 8 Sep 2018 16:28:14 +0200 Message-Id: <20180908142837.2819693-8-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180908142837.2819693-1-arnd@arndb.de> References: <20180908142837.2819693-1-arnd@arndb.de> X-Provags-ID: V03:K1:5i0atZbPU/6NU8g3lethk2tgTnaPSx3cL96LTyt/iN9OTM4WgXC 67Zz3stSmOARnU8rh1TnOzrc0bhhhVx4WUU8a2z0BXswwQmgqStzU0W4rG4qkbejKns8HdE qG2aByc4kotLE79J2Q1ELscEyCzqFQyQNCyFfJx2rdVZpC0w1InNg8r5smujCUqxnhK0dij 4qvOmSKwvaXXAwTO4RFrQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:B+APLvWVNGg=:9uBcQdvy1Q/zEmVZ5M8znf wfwaJlo15jDnM589Yagx84SpsWTIZzjneA0fVQOfkg3pxO2JGLBliym0DhC24c+MqADOcPtb0 p/awAWYA9wi7Ou+XvYE3PPPm2S6ykgTVmQu93hPWN+1Y7PpWjh/g6yKfOnkIMxNHlsG0xL8vQ CTl8/wYz+3LgeviRg8AWmyW9dlq23aom/bu7iL4UiI6tQ2rcRahm58508hSCE93ZeaD1LG/W/ nOFA2k9tCca8Mxzfdz4e9tAIjN9QzyZIzgU9Djzs/klYu3M1i5wxfZxDys5yc3cSC8eOKQyV8 lcB9cJYDsB/b6EbwsY6HVUZrTxv97i7W3rMWok1MfYiUkHySWkb6N+sJqJNXdHPiuIwK5RNX/ 6ll2jx8Ftgy5Yy3n8NKFgvbwK78/m/BQBwusKB/0frBqzNrq1CGb+MLgID8/BPTE9he3YQJ08 AH5l2s7816QY/Z/DwYiJzGf+llDCFcBl7po2kH/Zc33yMrxJ9/3cHc8eKPzPcuG8me10fIAqt uWR1bebRHMmvwcKInNovYgve87ZhJ5fnEm269rxHDynBs22HQrxfAIi4wC6he5TMjwHp004Qc KZ9I/dzLxExdKhDjyoaiev/EZbyI8cxvJR9mgQVJ0A64JnTDC2iPSaXcFXrLHUqMYQ+r8AVM1 ouz/k1v05oTI52hnmCy72GQw1vyTVHFtyRfh2zjEKqYfTOQFuq8JGYgrUgjfcPPUySE0= 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 | 5 ----- 1 file changed, 5 deletions(-) -- 2.18.0 diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 23c0406d8b30..28ebff2d1799 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -44,7 +44,6 @@ #include #include #include -#include #include #include #include @@ -640,10 +639,6 @@ COMPATIBLE_IOCTL(HIDPGETCONNINFO) /* Misc. */ COMPATIBLE_IOCTL(0x41545900) /* ATYIO_CLKR */ COMPATIBLE_IOCTL(0x41545901) /* ATYIO_CLKW */ -COMPATIBLE_IOCTL(PCIIOC_CONTROLLER) -COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_IO) -COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_MEM) -COMPATIBLE_IOCTL(PCIIOC_WRITE_COMBINE) #ifdef TIOCGLTC COMPATIBLE_IOCTL(TIOCGLTC) COMPATIBLE_IOCTL(TIOCSLTC)