Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6465798rwr; Tue, 2 May 2023 00:21:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7JHkzFH0tNjZK53fSSAj945pB9JISvkamWOo8BuQgLEnBm7kQqe5LCvFPOYWamnPAP4eNS X-Received: by 2002:a17:90a:c302:b0:246:75c8:f071 with SMTP id g2-20020a17090ac30200b0024675c8f071mr17590653pjt.3.1683012112118; Tue, 02 May 2023 00:21:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683012112; cv=none; d=google.com; s=arc-20160816; b=giSpyqIhm4Ldhtf6hE9mfx70D73TKnk5OROk/K36DJqRl/88KmLre7DsFfzjvpKqfw /5c+j47y8kOIwvv332K3Rwslp30HglHDCtLqHx4+WDhv5oPgxWLpY0Zw2FR3zfGouBsk utBRCuzNTzeTGER1hkF4Zf5LqjxeJqLMrpLjy1kmO31DXRFaAlMKB4TdJM5PRsvgarqP E+W7F5KSrBEcqwI14cEoY44uk+ghLheJbv7mOIz27jMS382ODwmmv0j3GysUSpNKYRK1 3sUHosITY4V8/7HVSpFFXR9boY5VmvpN40J4oGRxB7dnYL+U6pnqCU9I+OELxHCZ+K2V mRkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=PtYW/uNXTSsFZl8PUHK2ASYPuvlPwqvykBbUA8N0x5A=; b=TzQy9Ur5FT8uDETiBCRHvqTLtvuiH2DjpityhXxRsBBd6NzaLr4SJjg7Wk3vBJAuAg vCYQzLmV8C3AxVNKbAsIvETAVk2YRXwDPV/EZD0hlFq4ltO/xOaXEm28oCnHik/PRt5W RtNFHU0JoWiyiogG7roDwbg7kKSetRa0mpTneZMsPBDXutKcSI6kcKuWqPRvedCvvsFQ Dlv6CxOVUJ0iwx6OxckPFZgmW8YJpymqFNupabpp2f5Ot7yztnu66OLeejVA9y2C1f53 HJFc5ByU9cfln51JtroEtjKHEO0vimV+myhuozycS4w6ra0wQ4KwvTCO8H79l1/nanm+ 6TCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=Lkguk+wf; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id js15-20020a17090b148f00b00249846d1f45si10473205pjb.176.2023.05.02.00.21.38; Tue, 02 May 2023 00:21:52 -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=@t-8ch.de header.s=mail header.b=Lkguk+wf; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233401AbjEBHFd (ORCPT + 99 others); Tue, 2 May 2023 03:05:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbjEBHFc (ORCPT ); Tue, 2 May 2023 03:05:32 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66AF53A86 for ; Tue, 2 May 2023 00:05:31 -0700 (PDT) Date: Tue, 2 May 2023 09:05:29 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=t-8ch.de; s=mail; t=1683011130; bh=OmQ34Rt6+vUMv4eAB/iwE7zXiWGswmkgDUkuNsvIZFg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Lkguk+wfk7eKJE3WMxtM7C+8ukUtebYNhHjLVlPyNyRgpA6sXnv4oxCPRyczl9XnA I8IvOu6dSAd3ngOiMQg277j3anBOxTq4Lm+JlTVKmuhSZjkregtrJJp4XJ4iZEq2Lx J4i4LdpCQlrAHrB8sxG6uJS9oZ1CQ/Qp4HdDDUFo= From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Willy Tarreau Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] tools/nolibc: remove LINUX_REBOOT_ constants Message-ID: <781b8ce2-bc3e-4eef-b466-fc0e26f64bb5@t-8ch.de> References: <20230428-nolibc-reboot-v1-1-0bca02d20ba6@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 On 2023-05-02 08:59:27+0200, Willy Tarreau wrote: > > The following trivial fix on top of my patch would fix the problem: > > > > diff --git a/tools/include/nolibc/sys.h b/tools/include/nolibc/sys.h > > index 5d624dc63a42..9d27131c224e 100644 > > --- a/tools/include/nolibc/sys.h > > +++ b/tools/include/nolibc/sys.h > > @@ -21,6 +21,7 @@ > > #include > > #include // for O_* and AT_* > > #include // for statx() > > +#include // for LINUX_REBOOT_* > > > > #include "arch.h" > > #include "errno.h" > > Indeed it works for me as well. > > > Want me to send a v2 or will you fix it up on your side? > > It depends. If for you it's a fix and needed for 6.4 (or maybe older), > then that one is needed with the "//" comment, and it will later > conflict with your previous cleanup patch that's already queued. If > you're fine with having it queued for 6.5 only however, then I'll just > edit your patch and add that above. I tend to think the second solution > is sufficient given that nobody complained till now ;-) This is absolutely not urgent. 6.5 is fine. Thomas