From patchwork Sun Jun 18 20:49:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 109662 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2634457vqr; Sun, 18 Jun 2023 13:50:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6hqSnEboAUKPg4/VlMXj2rWeqRYsJY+a9+VdeI+PHW7pfroSL9ewEjsUvO7r+qVDfV4FkS X-Received: by 2002:a05:6602:218a:b0:774:9b75:b463 with SMTP id b10-20020a056602218a00b007749b75b463mr7776608iob.7.1687121450720; Sun, 18 Jun 2023 13:50:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687121450; cv=none; d=google.com; s=arc-20160816; b=JvNKjJ6TwwEtIBPdUIokcbRlK/xx0dItZ7QClxGEnd2fG+uO4CJe31rn3ZEwg9Udzd 6inTM79+zkIDW3dkzHfx6XPT+KghLXvVnRmvSkUCUhXj+7OEjWvKeF8IWlCTvJ+pNE+i PkGh9hWori4LU3IacS8xokCgZP4386Nr90jcOGXckZnZqgLylwYLvQzVEsRWpljvv2tW YeS2kVvGE/A3eH0Kl0DdT7kh0qZjF6SyZzes+/bJ1CjXlM597GHk5KUpyIi/blnaJFwK jArDuDNYr4PYu0bJ6yhgRYaGrDvlnnJGfGZENdcGxWQWBPmtDYXwybUzLx/c2lz+3yNH s2ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=2/sGYpIAZ39Bt5pDmlNlm77giPqZA2n3ZHBnu40tfgc=; b=0FSzEuENkNkag/eictXZFC3C/tw5A9cq3Pams8Ric0RiVuiKiALd0koMUT4dQ2Ys8X ItpdKWYodLxfNX0LOUYF/CtigBtWKKGlHYqVNVtqPylYurF6hMhLmAtXOhUN8mrx6Ovs p9dCYKHZNz2uENFb3BgUOZ1M1xpGPOIksG0d9GaFsMLs6silFcFjPIJtQt98RzKwCL61 GGggNHN6QaJVuNdFb1AnX00Ok1DKsjNkrU5ERANMTwfk3onGEaJbIpVj92KYOiow6V58 x7n0GBfssvz9G9diwAnyYxxDoHv1arw7CCWtzsmHDIh/xSWc587VphQTDEdd3e05JXf+ CIWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=D4U6s63E; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f19-20020aa79693000000b0066871180d63si2488639pfk.302.2023.06.18.13.50.36; Sun, 18 Jun 2023 13:50:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=D4U6s63E; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229604AbjFRUuG (ORCPT + 99 others); Sun, 18 Jun 2023 16:50:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjFRUt4 (ORCPT ); Sun, 18 Jun 2023 16:49:56 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33641123; Sun, 18 Jun 2023 13:49:55 -0700 (PDT) Date: Sun, 18 Jun 2023 20:49:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1687121393; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2/sGYpIAZ39Bt5pDmlNlm77giPqZA2n3ZHBnu40tfgc=; b=D4U6s63Ep17GDf/1OPl4BM/fgFyvBOd97Q0iyTR4WshGDQQDLsB7/Y3hQyG/QYl7aDbe6d Z6kDLq3dBZJvMfTjjcY83iZuQhDE1WQMzdylc7e2PIPqkVek+mqC8YPJZ9yASjpV/pctsR bvhdHpWrMo4hbFBRwbMrG/WFLZomPSp1PFk3HyB4beACYPwtXorxoGoeOXH8VVfVFNv+fR Joy3rHFGOc7GLx4tSrNzW12i05E8eCedBE7StWz7pszARLpWd+Rim8lTk2XavxoNSCF7iZ 2cNJXavaeraGpbAoh5kCAKxLRjmLyLvKsoTB+F6febQJ8VPBAAsyf+OmadK6/w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1687121393; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2/sGYpIAZ39Bt5pDmlNlm77giPqZA2n3ZHBnu40tfgc=; b=vDIgSX5nscJQE9VDq4ojWRqxefr4/lGRZEvn1UvsKP3YXtOTGwDI9AlS9RTJZVJ9+u2ZuA 3PwMpCqu7ysccrAQ== From: "tip-bot2 for Arnd Bergmann" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] posix-timers: Add sys_ni_posix_timers() prototype Cc: Arnd Bergmann , Thomas Gleixner , Kees Cook , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230607142925.3126422-1-arnd@kernel.org> References: <20230607142925.3126422-1-arnd@kernel.org> MIME-Version: 1.0 Message-ID: <168712139252.404.12976753569767597191.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768332824855068598?= X-GMAIL-MSGID: =?utf-8?q?1769075062166414821?= The following commit has been merged into the timers/core branch of tip: Commit-ID: 892f439ea17cbf56a36e57c584d583649a64b404 Gitweb: https://git.kernel.org/tip/892f439ea17cbf56a36e57c584d583649a64b404 Author: Arnd Bergmann AuthorDate: Wed, 07 Jun 2023 16:28:45 +02:00 Committer: Thomas Gleixner CommitterDate: Sun, 18 Jun 2023 22:41:53 +02:00 posix-timers: Add sys_ni_posix_timers() prototype The sys_ni_posix_timers() definition causes a warning when the declaration is missing, so this needs to be added along with the normal syscalls, outside of the #ifdef. kernel/time/posix-stubs.c:26:17: error: no previous prototype for 'sys_ni_posix_timers' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann Signed-off-by: Thomas Gleixner Reviewed-by: Kees Cook Link: https://lore.kernel.org/r/20230607142925.3126422-1-arnd@kernel.org --- arch/alpha/kernel/osf_sys.c | 2 -- include/linux/syscalls.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c index 2a9a877..d98701e 100644 --- a/arch/alpha/kernel/osf_sys.c +++ b/arch/alpha/kernel/osf_sys.c @@ -1014,8 +1014,6 @@ SYSCALL_DEFINE2(osf_settimeofday, struct timeval32 __user *, tv, return do_sys_settimeofday64(tv ? &kts : NULL, tz ? &ktz : NULL); } -asmlinkage long sys_ni_posix_timers(void); - SYSCALL_DEFINE2(osf_utimes, const char __user *, filename, struct timeval32 __user *, tvs) { diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 33a0ee3..24871f8 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -1280,6 +1280,7 @@ asmlinkage long sys_ni_syscall(void); #endif /* CONFIG_ARCH_HAS_SYSCALL_WRAPPER */ +asmlinkage long sys_ni_posix_timers(void); /* * Kernel code should not call syscalls (i.e., sys_xyzyyz()) directly.