From patchwork Sat Jun 10 16:07:11 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: 105967 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1625457vqr; Sat, 10 Jun 2023 09:13:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ58529xHSz+ARJ8PCiUr+oAFdh4JD8Yd0UNSYJKx/3005ZwFDPAy6kd7XBJ6CFsdnu3CSv+ X-Received: by 2002:a17:907:3605:b0:973:daa0:315 with SMTP id bk5-20020a170907360500b00973daa00315mr4666735ejc.1.1686413598127; Sat, 10 Jun 2023 09:13:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686413598; cv=none; d=google.com; s=arc-20160816; b=od/o85MYwOHVc38vUN3KLmGyElWph0j2Hf6fcywvZ4jW4mRosuJvWraLg9Jb59Tiyn gpRNV4xBZdRz9Ggcoxn/nPSXBPbZ2hrC0jsiW1fokdXSiMcqpVTMvfB5lZ/ucx5JdFLP yQoJ+ldmLrMVpbklS8OGn+WmB0VFESKDU2wrGaVkDZw4pxzprYTLQyfhIzGCD3KPbHBg bjXeiWqSEWSzJLfa1E76RsiXkl+JZFoF248cUy05Lun2dOhIrlgl9yGwOg+pfFRQMq+L QX+At/GVabmit1RfmMho6XmJksivY5Oy0H42oqqunSboCJ3M4gx11BtpX44RsVNr0A9Q YlHw== 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=AvwYa+1b+gn3pQXI5Z99TCOGlSyQIK1HBe30/jd1Z+Q=; b=cSyz8iHfw/ip2/e5K0Qji++vOzvcWbg3KDTTzXs2brlRrpS4C9knfziEasbxmindt1 6HuOz6G7VzeZ/EURSOgGlSCBpwdkzyXodijaxvlrw7lXRGdB4MKdeBhfo7NnhjSci8CA 6Uun0JE4VpRwLa3UnV1e5OGsE0tYHog/cFRWZCHz21aXjkCmMirlU9HfoHj40k2B/E2y 0NuHbTIwZTie2ZuoxTfyw+umN7ET/5nPUJG4vsuXWf/uPiCzV6gYJoUlukqe1biVV32d OjNlvGXRm6SYGm8qTdUFXpzn5Guk+tkZgoDpBVB47A65Pl0grloxbcCADtvxxBDDLy9Z UTvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=pvjFyJiv; 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 kb19-20020a1709070f9300b009572d0759a8si2816555ejc.225.2023.06.10.09.12.53; Sat, 10 Jun 2023 09:13:18 -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=pvjFyJiv; 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 S233234AbjFJQHY (ORCPT + 99 others); Sat, 10 Jun 2023 12:07:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231684AbjFJQHX (ORCPT ); Sat, 10 Jun 2023 12:07:23 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 939A89E; Sat, 10 Jun 2023 09:07:21 -0700 (PDT) Date: Sat, 10 Jun 2023 16:07:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1686413232; 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=AvwYa+1b+gn3pQXI5Z99TCOGlSyQIK1HBe30/jd1Z+Q=; b=pvjFyJivhN4uAWfYQmukt0u+GS2fjgzS8u/TrHL4PovjpM8aAftOaQwXPrl+ozxQJeJCi2 LXg+KWxtLi/2wc7stxMmnVPYhz9dj/HITi3U0ZUKcoxIiE1QqSJfdHonuA+5k8M1YxxEbQ FHDQQUZA6pXDo+6GmKS87IQcYJc7wyNdEslwpttxowWW0KbMPt6gdn+8gAD8rv4mm9l6f0 05dwH8HlpvUGIyh7DnKPXHxtyT43bsR7L2vJ/gmBhUAuYfEt5NrLaAzyZKuQu5ldf6HRI3 frCRSU1H1a3JunFJxazT+KdTUwa5SVnoFc+2mHBrM02tx3jmLu3RDtl/R8qyYw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1686413232; 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=AvwYa+1b+gn3pQXI5Z99TCOGlSyQIK1HBe30/jd1Z+Q=; b=fFl99LW+eDGiuTmU5lP39T73ZicCuZ2wPPS41L9mtsWerBfARzRjY4rj+t6IEtvbliJO+/ nHDHdMENDtiixQAQ== 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: <168641323120.404.166067010257758345.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,URIBL_BLOCKED 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?1768332824855068598?= The following commit has been merged into the timers/core branch of tip: Commit-ID: ad0334ffa4f9ae3dacfd89dae578df97f18a5203 Gitweb: https://git.kernel.org/tip/ad0334ffa4f9ae3dacfd89dae578df97f18a5203 Author: Arnd Bergmann AuthorDate: Wed, 07 Jun 2023 16:28:45 +02:00 Committer: Thomas Gleixner CommitterDate: Sat, 10 Jun 2023 17:57:30 +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.