Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6492090rwr; Tue, 2 May 2023 00:53:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5oFXfSRkduINJhdG2XJ2DWxUpGeo4WljQ1A3D/0bsHktd9EYrWIuaP+EpQRvezA3du/wah X-Received: by 2002:a05:6a21:6806:b0:f0:3724:a9b0 with SMTP id wr6-20020a056a21680600b000f03724a9b0mr18206747pzb.3.1683014008593; Tue, 02 May 2023 00:53:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683014008; cv=none; d=google.com; s=arc-20160816; b=I8/0HCUppdPKsSGiYaLCUg6qMUjdGbgPUI+l60A436m/RM02EkpVE7i0j+8Nc9Wj6a BY8IaryJwjOS5IDks+RN2YpfOG4QKpXM8hblPlmHTYHy2jYtoD/OGAwWNvLt3mQzZNuZ VCmVL9yJLyB9le4MwIGLaQAXhu9i/h2tCKXaYmy2ZYqNPVZaUd2UJ3WQIl81DpqAZ0sh WyDFhGMowVWvyk3r7xFtWQmOs2oKMcqjizbvl97djFG1oxgSH0Z8Lfxk3a9euM0DAVTG sjVLdLvv6fpEbQ0ZP2mrhT029vO+QHvz9aSzsFWPp5LoIAFslPLV87tdRfoSfNs66VGj BTYA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=73LdjEPGv8P05VTTKrH2LFB7i+ugna+dyrAOtx7vOMA=; b=M4EFJHEs8VK0Icld0bbitjAer/JM5WIohFlHmUqWG7RKLA7oKP3V4B3ja3HKPqKw9n AkAoJsDe3K23oAUl50sN7+5xbK1Kp0viw+vdGFbGjpbsI1GPKrH1PclpErdN98BAcSMf z/yeituW2tzBBlf2j9tJv/cCC8ThDrW45CpT0YEAUxyZojUli/vXI8jkwC8qJ9IbMo1A tw6y7HQTl9ebrnHwC2ZPQRKFwCAYqWtNayA4N2DvKCxiBEdBRtYFy6gFzvkoApSJ5rD9 6qaBBZ5rtyYaJMPfkPHtsuXXxrOOdXoRhMC5C9QT3DBx+edmkZ9Vy+K+ffmF6f0VFgdD C2yQ== ARC-Authentication-Results: i=1; mx.google.com; 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 q4-20020a631f44000000b0051398cda533si26549340pgm.388.2023.05.02.00.53.11; Tue, 02 May 2023 00:53:28 -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; 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 S233286AbjEBHUk (ORCPT + 99 others); Tue, 2 May 2023 03:20:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231915AbjEBHUj (ORCPT ); Tue, 2 May 2023 03:20:39 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B2957273A for ; Tue, 2 May 2023 00:20:37 -0700 (PDT) Received: (from willy@localhost) by mail.home.local (8.17.1/8.17.1/Submit) id 3427KaNZ028037; Tue, 2 May 2023 09:20:36 +0200 Date: Tue, 2 May 2023 09:20:36 +0200 From: Willy Tarreau To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] tools/nolibc: remove LINUX_REBOOT_ constants Message-ID: References: <20230428-nolibc-reboot-v1-1-0bca02d20ba6@weissschuh.net> <781b8ce2-bc3e-4eef-b466-fc0e26f64bb5@t-8ch.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <781b8ce2-bc3e-4eef-b466-fc0e26f64bb5@t-8ch.de> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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 Tue, May 02, 2023 at 09:05:29AM +0200, Thomas Wei?schuh wrote: > 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. OK, now queued on top of my 20230415-nolibc-updates-4a branch that I'll soon send to Paul. Thank you! Willy