From nobody Sun May 5 22:27:52 2024 Delivered-To: importer2@patchew.org Received-SPF: pass (zohomail.com: domain of vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; envelope-from=linux-kernel-owner@vger.kernel.org; helo=vger.kernel.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1616522528; cv=none; d=zohomail.com; s=zohoarc; b=eWUyG34WyhrRQVGGl+l37fQ59BLrj6A+yTz0BOh5ULwnIrMWhSYjZA1SdUAwGxjVz/hT6TbBHA25Jzn7J2i9zZFLSWN6b3g1iJ/utS/ZHwKaUGb2LXrBkY0VStrkSPj5MneP0BGNBbf8ZIMWmsP7JlAzgzRsGkHg0VvW7fuNzt8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616522528; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:MIME-Version:Message-ID:Sender:Subject:To; bh=OcA3us7dj5BI6tJ+eeMOEdtE5a5md6GmfaWT68Hpme0=; b=EK4Y48YX6rqp30yVpMTHGkTYO3XCc+UQpVgEi8AqYn0HnQhcrKcL175h8S4ocm/IHF/mn8UKnl8IlEZH94X89SwujFeMnWjtsVG9z+7g1sJ/C2KyE0RK/KKICQlm7AMCQiwjgJUkBzvA7mlDBafpW3quvA+5yn3Skdjv7JObaCo= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mx.zohomail.com with SMTP id 1616522528834536.964586963072; Tue, 23 Mar 2021 11:02:08 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231366AbhCWSBn (ORCPT ); Tue, 23 Mar 2021 14:01:43 -0400 Received: from outpost17.zedat.fu-berlin.de ([130.133.4.110]:52443 "EHLO outpost17.zedat.fu-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230370AbhCWSBF (ORCPT ); Tue, 23 Mar 2021 14:01:05 -0400 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by outpost.zedat.fu-berlin.de (Exim 4.94) with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (envelope-from ) id 1lOlFf-00217c-3X; Tue, 23 Mar 2021 18:55:35 +0100 Received: from mx.physik.fu-berlin.de ([160.45.64.218]) by relay1.zedat.fu-berlin.de (Exim 4.94) with esmtps (TLS1.2) tls TLS_DHE_RSA_WITH_AES_128_CBC_SHA (envelope-from ) id 1lOlFf-003u4O-0G; Tue, 23 Mar 2021 18:55:35 +0100 Received: from epyc.physik.fu-berlin.de ([160.45.64.180]) by mx.physik.fu-berlin.de with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1lOlFQ-0000GW-Vz; Tue, 23 Mar 2021 18:55:20 +0100 Received: from glaubitz by epyc.physik.fu-berlin.de with local (Exim 4.94 #2 (Debian)) id 1lOlFQ-003aAf-Mz; Tue, 23 Mar 2021 18:55:20 +0100 From: John Paul Adrian Glaubitz Cc: John Paul Adrian Glaubitz , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Masahiro Yamada , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org Subject: [PATCH] tools: Remove ia64-specific errno.h inclusion from errno.h header Date: Tue, 23 Mar 2021 18:55:11 +0100 Message-Id: <20210323175513.853947-1-glaubitz@physik.fu-berlin.de> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: John Paul Adrian Glaubitz X-Originating-IP: 160.45.64.218 X-ZEDAT-Hint: VR To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" There is no longer an ia64-specific version of the errno.h header below arch/ia64/include/uapi/asm/, so trying to build tools/bpf fails with: CC /usr/src/linux/tools/bpf/bpftool/btf_dumper.o In file included from /usr/src/linux/tools/include/linux/err.h:8, from btf_dumper.c:11: /usr/src/linux/tools/include/uapi/asm/errno.h:13:10: fatal error: ../../../= arch/ia64/include/uapi/asm/errno.h: No such file or directory 13 | #include "../../../arch/ia64/include/uapi/asm/errno.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. Thus, just remove the inclusion of the ia64-specific errno.h so that the build will use the generic errno.h header on this target which was used there anyway as the ia64-specific errno.h was just a wrapper for the generic header. Fixes: c25f867ddd00 ("ia64: remove unneeded uapi asm-generic wrappers") Signed-off-by: John Paul Adrian Glaubitz --- tools/include/uapi/asm/errno.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/include/uapi/asm/errno.h b/tools/include/uapi/asm/errno.h index 637189ec1ab9..d30439b4b8ab 100644 --- a/tools/include/uapi/asm/errno.h +++ b/tools/include/uapi/asm/errno.h @@ -9,8 +9,6 @@ #include "../../../arch/alpha/include/uapi/asm/errno.h" #elif defined(__mips__) #include "../../../arch/mips/include/uapi/asm/errno.h" -#elif defined(__ia64__) -#include "../../../arch/ia64/include/uapi/asm/errno.h" #elif defined(__xtensa__) #include "../../../arch/xtensa/include/uapi/asm/errno.h" #else --=20 2.31.0