Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp319546rwd; Mon, 12 Jun 2023 14:09:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Cjw8cs4Bqr3D2yNT10zmmHqAbpTQKIaenhuwpf9cpJ9TgbDK0NQtHF0KymQYirVHe+NJB X-Received: by 2002:aa7:c557:0:b0:516:9f9a:a3a with SMTP id s23-20020aa7c557000000b005169f9a0a3amr6533237edr.1.1686604183795; Mon, 12 Jun 2023 14:09:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686604183; cv=none; d=google.com; s=arc-20160816; b=Di+FFMTf96ZDLgn1Gt46bmQmQ422Ry5KXQuHcVicProqJ/H5UL7aVVqP75hlu3s870 I+NBW6zFH3ZzbJ98DXwK/OjyL9JM0fC+IwhDPXIZvdzCBbIgD+5FCCnSF72Yx8uGHCtR eDAIFWR2SV1ibhHO1HvmHiG+SEQ16mRDZSxm0aHIz+1RxdxdEct5m6v5lmsVBpBNssxy CI+1Oh6/djo2fN9fVl4bxDpwEA7Plb+eB2xno7HKhUC3/gKA97+a4fraIqY0C7q25JWD 6qtm3muXgc1uBWYreih8q4GbUOACO+/T+0Hj6ercpF3BeAiv9RkQX4/hlQTTsxgb7+xr hAkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5lbYzNvSB13ho4baz8lVDYwi3GzJW/A2z6Hjt2XZSek=; b=qQp2fBcNd42FmFws1KsWA25ORAKIzFFxp8gnhR8+6RACx5TEDq71lPZZQJ3n6JsWOR mw4pDHcP7hL0b4AvQcu36/+ziIhzCo3kcCHEvRiNSNgaTMGnchKaRdoF/EnnB1EFHC1Z nTJ4WtzMiQlEoz+HaCh2MxYQktqgXw6RIIDfwOOZxgyVXaSECfmgFCNqrP5/QOlnoOQ7 a7ExYnqHrZytdjjzDTXNcoQe34uTlLGNnIQjlhPDHDtGUKuC7IWPz1zRVrYveQHcwqbb /5+uQ55OQzRAIeNJIVIqw9c78VNfSaBjB8J8qFDp7CxxYIkpf63nn3lZQcR3cz84Nd/C 7QmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tihZiaNX; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k22-20020a056402049600b005182dc07707si3402753edv.10.2023.06.12.14.09.17; Mon, 12 Jun 2023 14:09:43 -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=@kernel.org header.s=k20201202 header.b=tihZiaNX; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238657AbjFLUv5 (ORCPT + 99 others); Mon, 12 Jun 2023 16:51:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238402AbjFLUtw (ORCPT ); Mon, 12 Jun 2023 16:49:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E170E296F for ; Mon, 12 Jun 2023 13:47:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 220A162F35 for ; Mon, 12 Jun 2023 20:45:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3FBCEC43328; Mon, 12 Jun 2023 20:45:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686602717; bh=/HEE7wLoU0aARylBa78hxj5pmV8p3SLHOC7ItTxKH/E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tihZiaNXAFPQV8WTdLoz1e8HNDHvHyM/vmV+hRjqOcMSvSXozg1Dvc/PBJG3aQrNh EL7VCkgaO/qD379Ji2euUx5IyGyf6FcxXy9/zgmcly7JIKwsgyFs/o3tX2PtLDY6h/ Z6D6Te0V3tPh4qYsJP3DPJp4OWWLbfYqVMTqLsH2xrwblhYckqtBPeydIafUqJdLcI +4ADVLzjaw1LoPuEBMTJLKKxN0LfMUyRcCELguDn3+RbqkLI16rkiFY37HTR3nunn8 jHGVbXr/MDczb+1vXBoB0WA8K07MvowhhJfEwIxLRFIM4EB3tPJFX4Iri60T4JvEqL kGarpICXDGIzA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 0DE96CE3A84; Mon, 12 Jun 2023 13:45:16 -0700 (PDT) From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: gwml@vger.gnuweeb.org, kernel-team@meta.com, w@lwt.eu, Zhangjin Wu , Willy Tarreau , "Paul E . McKenney" Subject: [PATCH v2 nolibc 39/53] tools/nolibc: ppoll/ppoll_time64: add a missing argument Date: Mon, 12 Jun 2023 13:45:00 -0700 Message-Id: <20230612204514.292087-39-paulmck@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <8b757cc0-3719-4e63-a755-9710384137bc@paulmck-laptop> References: <8b757cc0-3719-4e63-a755-9710384137bc@paulmck-laptop> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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 From: Zhangjin Wu The ppoll and ppoll_time64 syscalls have 5 arguments, but we only provide 4, align with kernel and add the missing sigsetsize argument. Because the sigmask is NULL, the last sigsetsize argument is ignored, keep it as 0 here is safe enough. Signed-off-by: Zhangjin Wu Signed-off-by: Willy Tarreau Signed-off-by: Paul E. McKenney --- tools/include/nolibc/sys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/include/nolibc/sys.h b/tools/include/nolibc/sys.h index 7836d7e7760d..0160605444e7 100644 --- a/tools/include/nolibc/sys.h +++ b/tools/include/nolibc/sys.h @@ -939,7 +939,7 @@ int sys_poll(struct pollfd *fds, int nfds, int timeout) t.tv_sec = timeout / 1000; t.tv_nsec = (timeout % 1000) * 1000000; } - return my_syscall4(__NR_ppoll, fds, nfds, (timeout >= 0) ? &t : NULL, NULL); + return my_syscall5(__NR_ppoll, fds, nfds, (timeout >= 0) ? &t : NULL, NULL, 0); #elif defined(__NR_poll) return my_syscall3(__NR_poll, fds, nfds, timeout); #else -- 2.40.1