From patchwork Fri Jan 8 07:50:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bamvor Zhang Jian X-Patchwork-Id: 59330 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp393874lbb; Thu, 7 Jan 2016 23:53:11 -0800 (PST) X-Received: by 10.98.16.193 with SMTP id 62mr2431134pfq.122.1452239591512; Thu, 07 Jan 2016 23:53:11 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id uw2si69315671pac.223.2016.01.07.23.53.11; Thu, 07 Jan 2016 23:53:11 -0800 (PST) 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; dkim=pass header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754199AbcAHHxB (ORCPT + 29 others); Fri, 8 Jan 2016 02:53:01 -0500 Received: from mail-pf0-f182.google.com ([209.85.192.182]:34798 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752883AbcAHHwY (ORCPT ); Fri, 8 Jan 2016 02:52:24 -0500 Received: by mail-pf0-f182.google.com with SMTP id q63so6425964pfb.1 for ; Thu, 07 Jan 2016 23:52:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JkmPh38Sk6GdPduPQQa/us8js73FUaUvi0WClm8YpUY=; b=e9KVUtqbg9LcFAC5iBTBIRAymutdpug7NdklHB60RqF31vMVt3j7UcJLCnS3xrq0BM AIMQuAedN1AsYsXAg4nD/2pI9HwD8T4QgsB92hkq4qio9xNFHX3HunHyCpCf7groYHko yQPOew1/o38qMZSWi+FjN1puhBtPjAuxfdQpI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=JkmPh38Sk6GdPduPQQa/us8js73FUaUvi0WClm8YpUY=; b=VFu3n4CYTvcHxkuV5tUnpiACHqPIuRqRGBUXS/FFC4eaEdxbculwzjdCY4SnCxBlbw w+To9pWREuQl+4mWzer6qZFXbLVZvOguz2pNU5UXSxmP0Pg9f686S6hMJn6ilrzlGC1K blvlmbR3SGP5/YE6BE1nYKHjc2Ltz88praycX2w73Vrh2G6v14oGNgf99OT2lskyz4xE GMpa0/a953KtxcQP/WCYGkMRgYPDLtBuiF/qt7OYln3ft7G4uxhEzRkaHGu38mVofKeQ A55WXru5Oy1hHxBsdpkX60pLBMuawJHFgGwVlIjOqVB1CHFrQsFX+G92lHFBvg+q2XvU NToQ== X-Gm-Message-State: ALoCoQm5jHfF94d8c7dctJ6CJmO74qS9NLVsjK6AOeq4atEVM0k4+eZx95hH3J1d3IXFHSJ8QVuFLG8TfoCwqklBCFHY8Vj6sg== X-Received: by 10.98.16.193 with SMTP id 62mr2427761pfq.122.1452239544198; Thu, 07 Jan 2016 23:52:24 -0800 (PST) Received: from linux-j170.site ([116.251.213.227]) by smtp.gmail.com with ESMTPSA id y86sm2519253pfa.26.2016.01.07.23.52.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jan 2016 23:52:23 -0800 (PST) From: Bamvor Jian Zhang To: linux-kernel@vger.kernel.org Cc: y2038@lists.linaro.org, gregkh@linuxfoundation.org, arnd@arndb.de, sudipm.mukherjee@gmail.com, broonie@kernel.org, Bamvor Jian Zhang Subject: [PATCH v4 3/3] fs/compat: remove useless compat ioctl for parport device Date: Fri, 8 Jan 2016 15:50:50 +0800 Message-Id: <1452239450-19783-4-git-send-email-bamvor.zhangjian@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1452239450-19783-1-git-send-email-bamvor.zhangjian@linaro.org> References: <1452239450-19783-1-git-send-email-bamvor.zhangjian@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Compat ioctl is already introduced in drivers/char/ppdev.c in order to fix y2038 issue for PP[GS]ETTIME. There is no need to define these here. Suggested-by: Arnd Bergmann Tested-by: Sudip Mukherjee Signed-off-by: Bamvor Jian Zhang --- fs/compat_ioctl.c | 22 ---------------------- 1 file changed, 22 deletions(-) -- 2.1.4 diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index eab31e7..1f2ae50 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -1019,28 +1019,6 @@ COMPATIBLE_IOCTL(PPPIOCGL2TPSTATS) /* PPPOX */ COMPATIBLE_IOCTL(PPPOEIOCSFWD) COMPATIBLE_IOCTL(PPPOEIOCDFWD) -/* ppdev */ -COMPATIBLE_IOCTL(PPSETMODE) -COMPATIBLE_IOCTL(PPRSTATUS) -COMPATIBLE_IOCTL(PPRCONTROL) -COMPATIBLE_IOCTL(PPWCONTROL) -COMPATIBLE_IOCTL(PPFCONTROL) -COMPATIBLE_IOCTL(PPRDATA) -COMPATIBLE_IOCTL(PPWDATA) -COMPATIBLE_IOCTL(PPCLAIM) -COMPATIBLE_IOCTL(PPRELEASE) -COMPATIBLE_IOCTL(PPYIELD) -COMPATIBLE_IOCTL(PPEXCL) -COMPATIBLE_IOCTL(PPDATADIR) -COMPATIBLE_IOCTL(PPNEGOT) -COMPATIBLE_IOCTL(PPWCTLONIRQ) -COMPATIBLE_IOCTL(PPCLRIRQ) -COMPATIBLE_IOCTL(PPSETPHASE) -COMPATIBLE_IOCTL(PPGETMODES) -COMPATIBLE_IOCTL(PPGETMODE) -COMPATIBLE_IOCTL(PPGETPHASE) -COMPATIBLE_IOCTL(PPGETFLAGS) -COMPATIBLE_IOCTL(PPSETFLAGS) /* Big A */ /* sparc only */ /* Big Q for sound/OSS */