From patchwork Fri Jan 18 16:18:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 156001 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3441269jaa; Fri, 18 Jan 2019 08:21:30 -0800 (PST) X-Google-Smtp-Source: ALg8bN5DGfeLHvDBSeuRWQOX1y3T6jP2A04/2lAcltXdDJJc9nyDQli/mCXFxZY0nLF9IwA7FniV X-Received: by 2002:a17:902:380c:: with SMTP id l12mr19336202plc.326.1547828490134; Fri, 18 Jan 2019 08:21:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547828490; cv=none; d=google.com; s=arc-20160816; b=qUwtJXp9imgJxsyPjlpciqtK/filN3GtqfKumf6Lb8nuuQddbb20f1YM/CHVShIEMC 5VYmW8VMqFarSb+VO9mbLAp17n3YMfbdroIlU1TZiSoqhkzssK/3iq84a13usbpbjP/n heiOo+PyIHerpzNacpE7QXdQAe8JUNVXWo3C1wd1Obx+OpkqcNQP41Z8o6haoP7QnZf5 ecjZ6qMTC19YJOMpR/Oc9XCwehWTUt6xm/IQRZuKC/gfWQI7AU/KxdUp9WCYsmFm5AKy 85DrxBP6Zw4v1p77pdLIF1wVNlYTWOKhIabC/0jX8icFYfeK5rsR6s7FQaLrvQ/e3+aa dNiA== 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=WTpCeow78c0DwfXLR+/yfFMBQfCqxTocNNUymBDHnK8=; b=j717nPnD7cU+W3vaIGiYx5UeMT2J7KwXvv8R5aWoMiKHgwi0HWioLLax9IxUzmiZpb ksWKqyTUu5mTCRA8WMmoX6jvmfPK7hGtAgW4+VWN5hvEuJ3FfTF0fOR5Xh3peb4bPmMK LLRAgEG2+lLX8BPmRbzRpkQ0mJg48Vp1dQhtES/cgazkvHsPCl3mEJfRYlJRkk9EQ33v 2VMcfcuB/i4N6ef70Yr1gNTMVbTJGdsbIewDG5b9/GSNmmkiIN/xvXVCXlbzk67rU92K UlCm2vD2EuRvFQHTRpM9t1OWDpkQZe/KfxgJD+UfYLHfbKUND15mJ4SMeyOQ5zmhAjXb WFIw== 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 u13si4720358plq.268.2019.01.18.08.21.29; Fri, 18 Jan 2019 08:21:30 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728865AbfARQV1 (ORCPT + 13 others); Fri, 18 Jan 2019 11:21:27 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:57485 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728824AbfARQVX (ORCPT ); Fri, 18 Jan 2019 11:21:23 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPA (Nemesis) id 1Moex5-1hYebH2yzJ-00p534; Fri, 18 Jan 2019 17:19:42 +0100 From: Arnd Bergmann To: y2038@lists.linaro.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Cc: Arnd Bergmann , mattst88@gmail.com, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, tony.luck@intel.com, fenghua.yu@intel.com, geert@linux-m68k.org, monstr@monstr.eu, paul.burton@mips.com, deller@gmx.de, benh@kernel.crashing.org, mpe@ellerman.id.au, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, dalias@libc.org, davem@davemloft.net, luto@kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, jcmvbkbc@gmail.com, akpm@linux-foundation.org, deepa.kernel@gmail.com, ebiederm@xmission.com, firoz.khan@linaro.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH v2 20/29] time: fix sys_timer_settime prototype Date: Fri, 18 Jan 2019 17:18:26 +0100 Message-Id: <20190118161835.2259170-21-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190118161835.2259170-1-arnd@arndb.de> References: <20190118161835.2259170-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:r9zYRN1bn3jR2apA4gH3kpzMsx6Z1jHN7Z6MVMR9SqgauRuwsGW g3AmYvhN48u7jGc9XyjbvqlEZyc2h5boSgVfbDl8HeTDSZJ7+36lDncKb0n8beoPpyVukaj I9WNJZ4OTm1Rgh/HwlzJTCDaYv/uB9ZvTrwC0JiXRRAA8+HE+ofgv2cP5P9nOGaG6S/KU8p 4ViaO2EbrciAIgouxqIxw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:XASFSNdrSgg=:32sZlMVf4NdP/xRX5FSGsS 1hID4IEHQyAvdyxeMVrUXuJ+NLrCJ5uDZE7FzjkhtHtfx/SENRonZqNBSFj7g2GBc6UcqbiYC 4y0jx7WV8+9rDgN4Xnu6qMhTRFef+AdfgNDekGoN42LaT+CSo3SDr1bnE423lcTizBLhs7zyN 24zAC1s+Tfpd8KRGJDPXFwoaKKr+rz3J+FdnX2yHY7NLpGcBbBRTUzqtT2wSP5aYdH8mO5eNd 8kseNM2Pn7nHdd5nlCRV6RbmORl+zSQligYu1x5aZeuQne0SAotmLENDMqidJetBLTFCUDL0Z 3h9iy6002wHYr9AAb5Ja4LmZ7NrJ8sHnnShepAP6/cvb9hQRSqAv9OKi2BNGx+kYUtUXaoUB4 LfLbaI+YEEyJxsf84pqG5FUT76vOIUTMH7CCDWJvEdRNKA5ZkNsI1+bSk4XqCGy/cOVvmpxeu nGxza1i8A+ACBnz0IH7AqpEV60bzcx8rrlOVuX73nsGvgCJLaKzzcLxDe9T/LwSLvuwPmfDDY V8hDNOLQeyPO7rK7V2YnmtGE/Q2S6odeUtznHsJefZy8VlgA0H4l4W/YVHfpoxOiqq2JmpNrE l10cLnzMxgSLcVHJdMMAPcY49WQfbo9aSPXl0CyX6i1vTMTPaOwDRL94bv0rOfl38+ea8x4Iz b7ArQdZVUEWmatIdXq25G2pktwQtICJR0s577+vznODrG5wDttLBMXvHeGtrU72aZWSQ64ghA jxdzIhiv6Z/liKFKlOc2lyxLatu/RdmJblr4rQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A small typo has crept into the y2038 conversion of the timer_settime system call. So far this was completely harmless, but once we start using the new version, this has to be fixed. Fixes: 6ff847350702 ("time: Change types to new y2038 safe __kernel_itimerspec") Signed-off-by: Arnd Bergmann --- include/linux/syscalls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.0 diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 938d8908b9e0..baa4b70b02d3 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -591,7 +591,7 @@ asmlinkage long sys_timer_gettime(timer_t timer_id, asmlinkage long sys_timer_getoverrun(timer_t timer_id); asmlinkage long sys_timer_settime(timer_t timer_id, int flags, const struct __kernel_itimerspec __user *new_setting, - struct itimerspec __user *old_setting); + struct __kernel_itimerspec __user *old_setting); asmlinkage long sys_timer_delete(timer_t timer_id); asmlinkage long sys_clock_settime(clockid_t which_clock, const struct __kernel_timespec __user *tp);