From patchwork Wed Sep 12 15:13:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 146581 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4948143ljw; Wed, 12 Sep 2018 08:15:52 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaR6RVN6PdxmXhO33z3cxU0bZOJvA7GReVxi3v4PO2QoBmtbZem3inzgk1JQr8BmV8+Z6kP X-Received: by 2002:a62:ac12:: with SMTP id v18-v6mr2948043pfe.126.1536765352401; Wed, 12 Sep 2018 08:15:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536765352; cv=none; d=google.com; s=arc-20160816; b=k29HI2SFBvhHKsyUjiJOWvDicaArqhDRLB4fXxHsyyNpj5ftMZ/pznydU8ry5H2XFa 78RKkH4foT7D01s2+b2eHnGmlyZL+o2BzukBKORUzsTrABJWSNsiKcm4yI5aK0fT+Sc4 EUTCzbyh97ojOYz3UKZ4tqfXCfCylmW9uw1nPkDpCryqcsyR9vkM6xraGU5xT63YipfB Cw2kAfOu6/pJ/xuEDq+XYMR18C7i/oawUmxxfmm9ifsPV7Lw/nY6+qRnDN62O0innQJj 1KUNzQojfWcbOeuU8c244HZ7wX71t0Ea7q+UTTs3RPmGFSDP3WsMKMfSaVVX+r31p8l1 jQUA== 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=YRCDAlGb/zj3Rl4ExB2tP6IXYPVw3CCjDwSzQ/56ZM4=; b=QGno5TOvIRlDEh8u/1c0W6RoKcrwOHVmEJeILHbRb9uVl7lBnV6eDHQ9WnUvz6wAx0 RWnDWWdCO7f6+L8Ea1sHwpUNJnekga/wDDLEF8hze9YtHO5hZPBQzohD5UxM1F2tFpv6 q3TdpSnqPF+iCNligKJzjkjl6Ba5k7ZI2rSgi1C9iJIURkdoUNWTDJxpejpwyEq4WM6K Sp59omwNUPz8f20RIdr69q223+bTsQCsDzhKgL9e5zy1H7bSVDGI5qs/nm82gLnu8qOU oZMRHabsxsMZprYhxlVRwzQPfUYTNDOAfj0b1dfclbr9k+D5/BilGO9xBuWPh+f9IikQ btBw== 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 e1-v6si1247978ple.262.2018.09.12.08.15.52; Wed, 12 Sep 2018 08:15:52 -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 S1728126AbeILUUr (ORCPT + 32 others); Wed, 12 Sep 2018 16:20:47 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:57885 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727866AbeILUUr (ORCPT ); Wed, 12 Sep 2018 16:20:47 -0400 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.129]) with ESMTPA (Nemesis) id 1N2m7Q-1fqMwK0c1M-0138WQ; Wed, 12 Sep 2018 17:15:48 +0200 From: Arnd Bergmann To: viro@zeniv.linux.org.uk Cc: linux-fsdevel@vger.kernel.org, Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH v2 15/17] compat_ioctl: remove PCI ioctl translation Date: Wed, 12 Sep 2018 17:13:07 +0200 Message-Id: <20180912151422.571531-6-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180912151422.571531-1-arnd@arndb.de> References: <20180912150142.157913-1-arnd@arndb.de> <20180912151422.571531-1-arnd@arndb.de> X-Provags-ID: V03:K1:16boItyQJqAAjoblHWeigXKi0Y1vak+TqvOsJf/iQQkL8a1DBec ItX1kkSVdustKRX71Ese5MgtRRuyPFkErY3wuO7KY+yT2YGDv60E1Oe8W/JhrKRew7yMrdh EXbrQkl0WEvccr5Mf8+9pp7VzWtLuz3m3sXBeBLBI+xoxfrkNwxWRKcttVt+d3ruIUABXTO s7o4DXLcpj1AzisCgjcAQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:n/KXENKiRpo=:Vzv2h6i8yIKlj0Gg/ie+qH eMzasZPLz46HWQg84jAdUVZviqWBjmesax+FxMznlnIHy6YXRadXCrS8MUOtIRFUOIozzGG/R 4RxLckVYV5cZW5lpyUUNrE+DSFNqDrzaHhyeoXcv5zXAffyUbYjRQrOtUzRTm+5cNVThxpW1c HsAvvwlzjZ5xjg0MisqSkKBypckrUzTTXA1PIlUj223hnbAKUfmIi/ovcKYHMLkIJqYVmQ+u1 xdNyMmfhxwJIAx+/UGWDj9Dao7v/S7hfxm5TTVmBMmpXGviYcmMNHoFehqLJPlLKMdWHnB21R g82SBbAryB+AWUrnMTp8onlkd+drhuTveqcs2zlx/HROUUKlTUg09824Abo7Ef+GlsMkRiy8X PSTiFG1U1Zv+lMhJFmaf/5nT5SvswkuapT2ybI3US9a41/Hsd/o5+Q4MKkMjT+U/pqvOYIY0l dh2vvIBVZK8wODozsuC3ZZ//ImCwWg25h+3UpN0Nrn2vj4WCntRAVwmVJXSoulPk9UnNg7XNE az6zfxaUpa+1s4LzA10m97V/KdsRcjtL4VDIHiTh61fkICfzS1N6eQMrOn+BtrH/Zkr4f6VoC ekKNMOBMTvwgGW7q/EPn3LVMUg1HzfZ3AG5TLHeDvqXUKHfXE6n8RHZScx3vyiqdh/KgvPYWr j1YN3JH2Xu1+7HKXrMNrpTlmpvWkY6/2AFFGUZxLCyEfzpPtOyATANRdvLdyzxY5koDI= 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 0e3a879339c2..8510cd652bb0 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -43,7 +43,6 @@ #include #include #include -#include #include #include #include @@ -810,10 +809,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) /* dvb */ COMPATIBLE_IOCTL(AUDIO_STOP) COMPATIBLE_IOCTL(AUDIO_PLAY)