From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C0E1280A38; Tue, 8 Apr 2025 12:49:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744116554; cv=none; b=eJqbCztusaaEi1gNsmrN137IcXrYVV8/OgtMgJdjgzAj7t2JozGCdGIYM76CtmxRKpxOCt0NkhAiRZ9c6epArUGEWmEKOZoQVk8CDvhlyE9W3OE7kk5DNrXnkDO2fAhxL2ZhXs1Cx0okaUSPdLJLD1dIXvxM9G1C63PFApdHUAE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744116554; c=relaxed/simple; bh=YSeMnkedyaVBcsbendMJ4lhcaJ7WyURa3B7rbvHxliE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tvLfntecTlfPgBa+ciqTDEWCZarfARI6QE1pDmE4W969yx/xDpPx7BhVroqbNrgNqJb5Y+0KZcO+n7ugKqsj0Ik8r4vM6V0ooa35nzAQ9AAfU9TRo8N2X7/I7OqaXUJwImJc7jcUfb2s3/OQH3R+gBjPkysNCJGrQOSOPSSR+M0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=w0vqfquo; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="w0vqfquo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F118C4CEEB; Tue, 8 Apr 2025 12:49:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744116553; bh=YSeMnkedyaVBcsbendMJ4lhcaJ7WyURa3B7rbvHxliE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=w0vqfquo/VcDkKiKbhyej4iPfBQKn6rACePWFLllinHGL/g9B7imfJ7R4lOBFbgGj 39/xnwR2wRkoG2X6DUiYZJfP7j8wjxUIZkCnbujW5MjgrpDTqPDDt11yRT5/eI8vdP 6laY7KvpBkTEiA/UwFnIbvE9f+Gt5VekWklGkuVA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Ian Rogers , Josh Poimboeuf , Al Viro , Namhyung Kim , Sasha Levin Subject: [PATCH 6.12 175/423] tools/x86: Fix linux/unaligned.h include path in lib/insn.c Date: Tue, 8 Apr 2025 12:48:21 +0200 Message-ID: <20250408104849.822387389@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250408104845.675475678@linuxfoundation.org> References: <20250408104845.675475678@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ian Rogers [ Upstream commit fad07a5c0f07ad0884e1cb4362fe28c083b5b811 ] tools/arch/x86/include/linux doesn't exist but building is working by virtue of a -I. Building using bazel this fails. Use angle brackets to include unaligned.h so there isn't an invalid relative include. Fixes: 5f60d5f6bbc1 ("move asm/unaligned.h to linux/unaligned.h") Signed-off-by: Ian Rogers Acked-by: Josh Poimboeuf Cc: Al Viro Link: https://lore.kernel.org/r/20250225193600.90037-1-irogers@google.com Signed-off-by: Namhyung Kim Signed-off-by: Sasha Levin --- tools/arch/x86/lib/insn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/arch/x86/lib/insn.c b/tools/arch/x86/lib/insn.c index ab5cdc3337dac..e91d4c4e1c162 100644 --- a/tools/arch/x86/lib/insn.c +++ b/tools/arch/x86/lib/insn.c @@ -13,7 +13,7 @@ #endif #include "../include/asm/inat.h" /* __ignore_sync_check__ */ #include "../include/asm/insn.h" /* __ignore_sync_check__ */ -#include "../include/linux/unaligned.h" /* __ignore_sync_check__ */ +#include /* __ignore_sync_check__ */ #include #include -- 2.39.5