Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4049147rwb; Sun, 30 Jul 2023 23:43:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlGrtp7TwVc2Tqu+JyepHlDw1Lqox+tFUgViAmx/HJncp+8FBSHsE5CpCP5qL0+UHbreO/Tq X-Received: by 2002:a17:903:11d0:b0:1b8:6a09:9cf9 with SMTP id q16-20020a17090311d000b001b86a099cf9mr11248474plh.26.1690785806849; Sun, 30 Jul 2023 23:43:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690785806; cv=none; d=google.com; s=arc-20160816; b=0gKNfNUX2BVicCFYTII8fCnxQi25/d3ry6zXY+mstnsUQDpjkH0cFgcLGXe4X69ff8 d5rZvJf09jyJFv3QW4iFSxHFrV8qw8s/QUds3cHhoiyaJKs8Bj1VqYu3lwqhBB5LPG5M Z2FqOf/STLGsbx8D4SIhuZmBfHQwDih6sJST+xISeRtsVMocEQj9QAq7w5pg1SHBVh8j TVm6vGU1+gJA7QIIu8cAQaN0aCEkoTi6fAYUVmeRX7Ram282sTCScDiwtkT/WQ6QMyot ukSm6gXhBg2Y6RIbIhcO1NC8T3+uqd8lwV82Ng0WNLoUJGLt/ObBURXtLhJdVDTJMlfG h/WQ== 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:date:dkim-signature; bh=PM5MS9Hnwb4aUFy5VGIS5yovRMqPvX+tf7EsLUS461w=; fh=l33mWavnHGYJ2XDeKtGto0RLtWj7njx9xyMvDkqmpRA=; b=Elz5wV8QNI6N9K7KSKmJRwsoNTo50/Dt7QRdLOOa19EWeJgijlSGHTGQzeIACxgJiK wBala5zXQJdtlphsfDDs8KIxNt2RntmTBZKmDatvXdNazrsWL2cf5Sa+h7VzZdB40OQS tW+Q0o+QdQHAH0amQRDuKPZRVsGRHkkqM7RgrM1rh9TXmp3YLqwfbFe2DBwTpmoYvBUQ sgYnlQsPzeEbdLOP53ZSpAPsr//tmM/B46vDuFv/Hh3sW+PP3ESFhjro9v1YVEdfuiAT FYzMCMotDIfLNdbz0N7fGacJODbSxCkYtx/vVKYIFABOkim5k6jaxmzuDCMUNqTTi7zA pmjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=IwqsCH1E; 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 k4-20020a170902c40400b001ae67aab6a6si7262077plk.172.2023.07.30.23.43.14; Sun, 30 Jul 2023 23:43:26 -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=IwqsCH1E; 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 S230016AbjGaGNt (ORCPT + 99 others); Mon, 31 Jul 2023 02:13:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229585AbjGaGNs (ORCPT ); Mon, 31 Jul 2023 02:13:48 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BB76E40; Sun, 30 Jul 2023 23:13:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=t-8ch.de; s=mail; t=1690784026; bh=92ykIX7tsv3yIszfxJZDqwdxurd6Xt4sT0q3KP0Tw3Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IwqsCH1EaLqVeX1w/cWVS+2lgPokaNiGE2t8LkMcRAEveXtnUQYfn530A9nrfc2/y NctzieLkY9+T8y1gOXnNFwuI18MeHzeM5E4tKfhQABXHQYnfAUDk/39Vu1AGaDFwus zOQ1E85s8r4Yrm7aEavSMpY0CItbIkWtsYZhanQo= Date: Mon, 31 Jul 2023 08:13:45 +0200 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Yuan Tan Cc: w@1wt.eu, falcon@tinylab.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v2 1/2] tools/nolibc: add pipe() and pipe2() support Message-ID: References: <23019c9ad3a63d7026a60df8bc41934c3e74e564.1690733545.git.tanyuan@tinylab.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23019c9ad3a63d7026a60df8bc41934c3e74e564.1690733545.git.tanyuan@tinylab.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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-07-31 13:50:45+0800, Yuan Tan wrote: > [..] > +static __attribute__((unused)) > +int pipe(int pipefd[2]) > +{ > + pipe2(pipefd, 0); This is missing a "return". > +} > + > + > /* > * int prctl(int option, unsigned long arg2, unsigned long arg3, > * unsigned long arg4, unsigned long arg5); > -- > 2.34.1 >