Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp377748imn; Wed, 3 Aug 2022 07:42:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR7eikaV7TLPtX5xVLRWZ4x5C+yiTYlUfAxNq9TZuB6UpOXsA8j1/cxf5x4kGlLfPpE7JHCH X-Received: by 2002:a17:907:3ea8:b0:730:9756:7c81 with SMTP id hs40-20020a1709073ea800b0073097567c81mr9076260ejc.726.1659537757343; Wed, 03 Aug 2022 07:42:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659537757; cv=none; d=google.com; s=arc-20160816; b=rKTszT6PXUygHcPnAkbYFvNNVAYCdyvX40Qcb24p6c6WzYCy4WxUG4quX0nQv11t1j z/nMo015Tj1wmBqOeMdp67imDq4HkJ9Wz1Dvn/gnAnYwWqSI06ngNiPikKGgVZ2fNvO+ 6WhYpszPBogs5GGJZgbklJuQqxuKnz5BYUd5H2AAIH9p/ulO6M4agsuz9PMEElWialJO 23ydtJ2zCfdVzZ8tzAhKPkZrmoMgXGF9KzN8l1Z5GYkzrp9BkO8pGFuFyGej6iEtsDfw C7hWzehN/+BOT7UlvqmFEjkzcsy5WwWnUoifaRpW+DLHyzRqcz8KVwJLH76ri5saVkU3 7jwQ== 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=a21Mzo/WHyccC08tC0VXa91bkOq8OW9CcHwOisfYdPQ=; b=G+aYhe1cPD35q0iS8Jt8tdypT9DNlpN7LSxT5y7n7cUT9KbvpJqwt5ns7vWland8X4 t1ABLo9X/osZYp8GDXKTURSvoXAY/Y3XeKBTGZRng8pzVXMZ/YwM4PDQqIFg/O5p4+2w e7hxaTx9An9jR4D/oREPVm+Bs2FC+IWDOA6kxAPKHKaB+VJvbBznT+c5mgIN007ZyW37 Ju6MFFtBUKyT63XeOPlBtjYJaX1SDah2sCCq5KWge2O6w6Thi46cvCjwMl0top6JnFO/ LtyMbVVFvXwbU++LJHEjeVv9G8z2sy1VVdUw5zHKpDZt2mGQotSabugSVGLyGknPlLY5 RoyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=EqFaUed3; 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=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g22-20020a056402321600b0043cfcf25a48si5650539eda.489.2022.08.03.07.42.11; Wed, 03 Aug 2022 07:42:37 -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=@linux.dev header.s=key1 header.b=EqFaUed3; 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=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236510AbiHCO0p (ORCPT + 99 others); Wed, 3 Aug 2022 10:26:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229723AbiHCO0n (ORCPT ); Wed, 3 Aug 2022 10:26:43 -0400 Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB424F595; Wed, 3 Aug 2022 07:26:41 -0700 (PDT) Date: Wed, 3 Aug 2022 16:26:37 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1659536799; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=a21Mzo/WHyccC08tC0VXa91bkOq8OW9CcHwOisfYdPQ=; b=EqFaUed3/VNo8MquR1lHM+NIh+hCWF2/EI8Frah6p7AL20Lw8DLnrvPhlPSevM03w2knZG kchAKMl5wnl/lUjTKU6T/NqDJVaduzMDAyWZyxCD3qqiUHKpngV0b3gmK8OaWLp60QWZYy t/CZbZxG5y/ZJE9C5l1p1AMwVEOa2So= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Andrew Jones To: Jinrong Liang Cc: Paolo Bonzini , Wanpeng Li , Sean Christopherson , Jim Mattson , Vitaly Kuznetsov , Joerg Roedel , Jinrong Liang , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] selftests: kvm: Fix a compile error in selftests/kvm/rseq_test.c Message-ID: <20220803142637.3y5fj2cwyvbrwect@kamzik> References: <20220802071240.84626-1-cloudliang@tencent.com> <20220802150830.rgzeg47enbpsucbr@kamzik> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS 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 Wed, Aug 03, 2022 at 09:58:51PM +0800, Jinrong Liang wrote: > My ldd version is (GNU libc) 2.28, and I get a compilation error in this case. > But I use another ldd (Ubuntu GLIBC 2.31-0ubuntu9.2) 2.31 is compiling fine. > This shows that compilation errors may occur in different GNU libc environments. > Would it be more appropriate to use syscall for better compatibility? OK, it's a pity, but no big deal to use syscall(). Reviewed-by: Andrew Jones Thanks, drew