Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp494478pxb; Thu, 23 Sep 2021 04:53:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMGMFccUInFAUTKkefj6e3BgIn0OT3a8StE7rmTyl0eKTgeNMESDHK3lokD/Ij7zY0XdT3 X-Received: by 2002:a50:8d5b:: with SMTP id t27mr4988791edt.316.1632398013229; Thu, 23 Sep 2021 04:53:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632398013; cv=none; d=google.com; s=arc-20160816; b=X0cTvxghy+pJtlhfiURSOKjo7+Pawe9SzP+ROfbk9hfk9rg8RPTUVxuBFQPkBFj97D 7gCCvyn32I2vfidVrRk+xEcYagB/Giuj7vgZ7kPxlD+F2NfJr4hayzTKLijtk6X9Dj0A EwP2+B3N5VkpbhrGjxRLuCAKZ2EQbjMwF/nzOZhzEVT4HnH7csLQZVNPC2ZySxxj9xDk s9qHwRASZw8NmRd+aUvW1xuGLnCJlkK8fF3SsfqJWIqqhPsUjDu1pDzpBPxkA+VVxJKi 0TD8MoRCZuY6j9/uIEebm9WR4g97CCNwVlyJCCljUaYL0k7sN8PMrn3hRc4bLLorN6XJ wffA== 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:subject:cc:to:from:date :dkim-signature; bh=MBXqOQm4kSYuBo6B/caz1kKnHFqsWR8ERv//jqhBqRw=; b=Fc7lSJKpbUGtuPGJ2jt8p6hdQPTdLO01Ofnayst2b3GzwHoT3fnuR+i6F+cm8vo3u3 zHbORSGmeCezJk4zoFk4N23Ml5+YrUlOdaVvwqIVCdD9ESbPgWxmRF96gG5oqm1zJD9h akT+z90+EubJnZTtb8A0Y+ElfretbvRPP++/4ooAesAKHw0hnD8YKPTu+LOdqLhBNiYQ T2UdTVEc8Ncbq2mbmV0JVhC2HULFqAfdHWL70exkj9ZUYLSxmCSpb0cFAjGt3hY/1A2P 3Z8mrSEB2g+4BDfJii+lxP4Ry8WcoIPrd+TwJL0CPeBcj1Rjdr2HlHu78Nf02FHyakkH s1vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UEd07lA3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jy1si5624407ejc.592.2021.09.23.04.53.09; Thu, 23 Sep 2021 04:53:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UEd07lA3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S240677AbhIWLxS (ORCPT + 99 others); Thu, 23 Sep 2021 07:53:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:57326 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240696AbhIWLxR (ORCPT ); Thu, 23 Sep 2021 07:53:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DF15D60F41; Thu, 23 Sep 2021 11:51:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632397905; bh=tooeYk5RF2FZT1/J+XN4o/HkjCQqxRJOx2tzuHtPtyA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=UEd07lA33a3FY2Hydpi/N8LHwzb1uKolaDQ/FCl6JgcLA3TnL3UGwBwfaDjbYoY7R 71F5pG01B44Ha/093FQuTJrxk1BRsJzh5FBlY1sjCJOG+e7yBRJniwzCfpod61dsfV Nxcn7Ig/eaLR7g/ZbQDj7YFm1atVEoa/oWMTqRBCFhm0enlVqEf/qT14/cE8arNcPf GfJc71agPsmlRBmFAzYLVVTmiNfeGu8BVmuGD6kzot10OkHL1Z1zHjTjQQaqFAPSeZ huBqoqS6vzlDMpXBp4QT1jW4VWE3XIqcPveUAl88wrUyVIsddJRHbWlnqO/Ljd20pi LJCSb2PZvvPQA== Date: Thu, 23 Sep 2021 20:51:42 +0900 From: Masami Hiramatsu To: Ismael Luceno Cc: linux-kernel@vger.kernel.org, Masami Hiramatsu Subject: Re: [PATCH] uapi: Fix undefined __always_inline on non-glibc systems Message-Id: <20210923205142.a0f872407b97466d3d028cd9@kernel.org> In-Reply-To: <20210923005706.1368-1-ismael@iodev.co.uk> References: <20210923005706.1368-1-ismael@iodev.co.uk> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 23 Sep 2021 02:57:06 +0200 Ismael Luceno wrote: > This macro is defined by glibc itself, which makes the issue go unnoticed on > those systems. On non-glibc systems it causes build failures on several > utilities and libraries, like bpftool and objtool. Looks good to me. Acked-by: Masami Hiramatsu Thank you! > > Fixes: 1d509f2a6ebc ("x86/insn: Support big endian cross-compiles") > Fixes: 2d7ce0e8a704 ("tools/virtio: more stubs") > Fixes: 3fb321fde22d ("selftests/net: ipv6 flowlabel") > Fixes: 50b3ed57dee9 ("selftests/bpf: test bpf flow dissection") > Fixes: 9cacf81f8161 ("bpf: Remove extra lock_sock for TCP_ZEROCOPY_RECEIVE") > Fixes: a4b2061242ec ("tools include uapi: Grab a copy of linux/in.h") > Fixes: b12d6ec09730 ("bpf: btf: add btf print functionality") > Fixes: c0dd967818a2 ("tools, include: Grab a copy of linux/erspan.h") > Fixes: c4b6014e8bb0 ("tools: Add copy of perf_event.h to tools/include/linux/") > > Signed-off-by: Ismael Luceno > --- > include/uapi/linux/byteorder/big_endian.h | 1 + > include/uapi/linux/byteorder/little_endian.h | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/include/uapi/linux/byteorder/big_endian.h b/include/uapi/linux/byteorder/big_endian.h > index 2199adc6a6c2..80aa5c41a763 100644 > --- a/include/uapi/linux/byteorder/big_endian.h > +++ b/include/uapi/linux/byteorder/big_endian.h > @@ -9,6 +9,7 @@ #define __BIG_ENDIAN 4321 > #define __BIG_ENDIAN_BITFIELD > #endif > > +#include > #include > #include > > diff --git a/include/uapi/linux/byteorder/little_endian.h b/include/uapi/linux/byteorder/little_endian.h > index 601c904fd5cd..cd98982e7523 100644 > --- a/include/uapi/linux/byteorder/little_endian.h > +++ b/include/uapi/linux/byteorder/little_endian.h > @@ -9,6 +9,7 @@ #define __LITTLE_ENDIAN 1234 > #define __LITTLE_ENDIAN_BITFIELD > #endif > > +#include > #include > #include > > -- > 2.33.0 > -- Masami Hiramatsu