From patchwork Thu Jan 10 17:22:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 155217 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2147903jaa; Thu, 10 Jan 2019 09:23:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN5vFIbxttXkjXvCY8p8BBmqh+EixAAwMPAzeptx1FqQDnl0iLEc7GuExeW1AZOn2A8TimA6 X-Received: by 2002:a63:c451:: with SMTP id m17mr10075031pgg.27.1547141030887; Thu, 10 Jan 2019 09:23:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547141030; cv=none; d=google.com; s=arc-20160816; b=gqXuJpksgMGWFsmlpMkc+LtgEBaoGlVYWJm74qYTlzSegZWK3tGrNQ5a+PgojxO2U5 ewdqaz/zKaGc7UalBq9eSsjAYrNAgMxycGH30pUBDc8eFcMc3Wmh8lxu2rFIRN2RF5z+ jtN1PbBQp8oUHlrektkceazZ6R9LwvERJfMer0dWYRAtvdaFLCSI0U4g/+obE6DDYsY+ 2UOCP4sfXtteytSmIb77kMoEMkKoarjOlpixVHhkYedSvYA0Pqop8bk110Q4YZxrKAb9 1aQH0IrnsaCkjmDhdoAQQM2ZoIhQS0T0pFRlHbGdOaO64D/CQu9jfb/JiJVvQUiA6rE6 r8ww== 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=MUMpddZ7gvXiax6d4bYe1u0nGH8EpCNh/BV0N1kHzHI=; b=LrKjpkq8IgljD6u1Gkq4ZW0EzFGrKhr6ClRenS2wHiNVD/Mzc9xg/x/f/JYzElZZf0 fMP3SMcWiUgaOEwg+NjOshZ6QAxSngPLIA/1qTc3oRrKmLPpLqaw8kMZFE9kPZn6fOkU oyJXwgYn4RTlYIdXPYzb6zstGxx7KgxoDrvndKZG58cO0vPP43I+qsIWqTHv/JknX88l q24erScHiQxfM2fvGvu3yVndw/y/EZinZIKQubCOIcO04oPl5dATGec5nTVi0fdiKdCI p5foEp+sQplEx2Ok58a+BqewUiPgRUHKOq+L4kIPzBsLlCaiDKPLKeoHkEqmJKNIbQ7I 9Acg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-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 u23si18656764pfi.175.2019.01.10.09.23.50; Thu, 10 Jan 2019 09:23:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of netdev-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 netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729885AbfAJRXs (ORCPT + 10 others); Thu, 10 Jan 2019 12:23:48 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:33261 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729803AbfAJRXp (ORCPT ); Thu, 10 Jan 2019 12:23:45 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPA (Nemesis) id 1McH1O-1hI4Fh1sui-00clIh; Thu, 10 Jan 2019 18:22:25 +0100 From: Arnd Bergmann To: y2038@lists.linaro.org, linux-api@vger.kernel.org, linux-kernel@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, linux-arch@vger.kernel.org Subject: [PATCH 03/11] time: fix sys_timer_settime prototype Date: Thu, 10 Jan 2019 18:22:08 +0100 Message-Id: <20190110172216.313063-4-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190110172216.313063-1-arnd@arndb.de> References: <20190110172216.313063-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:3gTXRESf+h45Wvylwj9vM5Tda294DtDs8hhcZWgW4vEmMf66/zd hIB9vsXzYxRm5RZp35Ogjn6bqTec1vMAcTvQChqgMUCCk4LwBUmbpf4G9T4QoD3ki9A93eN nfkWegpv6J8c56JtHNLVhMjiBjGBTG2VcPlkL8lswl45ryU3nIXdFJRuZofh+00SPluw7pB Irr3BMn+tj5jjtoJ7fqtQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:h0tMv83ysn0=:OM4Zv09Xf1B3x0L+/3KO6x e04xJJ8iYmGngbOe2nReDYpA4tuZKa+1MerLoy0MrDtVhYnyD/R/DMr1TkPbJ6MVZYzCMtGdB x7bWaPYwUDzBW9IX4QooXgWxFSxxCifR6bvcemt6R3g8D/lo3gIXvHZ7NDC8T4lPqBgEVjdUp 5mGQaFc486H4LzdBb3XVHnulw6TJSiRZm/EioSczE9ZRUyq1LXpL1YntwKStPelMkgoMuCI9I 4srTCsPoYSNv7a1rzmRy4uhSHNFk5chRt2w04GOQZD6wlRbcWLj7c+0bP9gUHanTiy6k9YYVs 1I+/gzYw3VNVWqiEU24XGmAVbWGmwqtlSIAnoC1Uzx12MK1RH8CPJhHmsEwxGlHr2EDBVcWuF HA+tvdiMxGiCsRnQR9VosZmKFczCJkq3xjcwDml/j8ZBVr6w2njucIHM+295fIp7lbRl/WAIg K/p+CbxNOaOjEEZYTcqNj+RpZW7Xe5o2BHoytjTUArg/KIlH/akMbPD1TCvjAh886BP3gQafp OX/8TKrMiI6LTW36MfHGMgvRQgxpW4CD+u/lLyBO7uiqMAUESBtaexZkWM4G5UEkbNKOmO24Y wXIL/DizPMuoMLMgXzWWrD4iZQ5pbhZ2FmXV3zCbDrRzxpZqhXC63IEnezj/qWZJPybnBUCvy VqHVALmlPBbAQLNfc7h3Fv0mi/yW+8fKVxIxvQVSbRN9UL2cckfBt75dWyBM3v3K+yeOt8wD1 p3EKZTw3ihTagDKn54jsKPyk76ZV1t86nHZnUg== Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@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 0296772e8fe5..8e86d9623d4e 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);