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 5EF711F4294; Tue, 3 Dec 2024 14:34:09 +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=1733236449; cv=none; b=hYa4sG0f7ZVlnehU2TVlFBvrQQ/4TIKQP6/tUKJN1YweuFWbt5hfXjUoo190pxJgS6TgduiBO9RhWQq0ariSt2IIpaHAlJqGBSTKbrLQ+OL/v6eFtJE83dH2MCc8t0okG1d3fZeXRCoVa/JFqS/gV+mParqF7ZWqg3LQS5i4UCw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733236449; c=relaxed/simple; bh=605oniLymwtQ3asqA2Wrf6YbNX9MrORkOTfnGy5hAsw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MCwAEhe7WOf4ZGNtq1VHFKluWF9l8MFsUz6b132HaWWepQ4U+q1Lh9dwkGHudKXwdsA59f5O5/J6XuXYV6CPnL4qqI2jv+N3alCl09fMGfKkKjfODVZuvTemKTRCjMCWi12M7pIRJFp3lMBMRWj98gkCPEfHPbn7U3YoTEIqF2k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=g9EfYrzP; 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="g9EfYrzP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE40AC4CEDA; Tue, 3 Dec 2024 14:34:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1733236449; bh=605oniLymwtQ3asqA2Wrf6YbNX9MrORkOTfnGy5hAsw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g9EfYrzPH69g1BzgB3wacKayA7ZnQ7TMoUZ/x1z75UWL7JK01aguklVq9Hvi5Ihb1 7fPahh0rEb8VoEw/1jLLjM+iQv7tFOzG9kjxzE7zrZVDLRYDYVMpkuPrAkuWiFsYeY nLDOYb1x2eaz7V3Y1Lu9PSgk7nNeetYWBx1J69aE= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Masahiro Yamada , Heiko Carstens , Sasha Levin Subject: [PATCH 4.19 022/138] s390/syscalls: Avoid creation of arch/arch/ directory Date: Tue, 3 Dec 2024 15:30:51 +0100 Message-ID: <20241203141924.395942715@linuxfoundation.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241203141923.524658091@linuxfoundation.org> References: <20241203141923.524658091@linuxfoundation.org> User-Agent: quilt/0.67 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 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Masahiro Yamada [ Upstream commit 0708967e2d56e370231fd07defa0d69f9ad125e8 ] Building the kernel with ARCH=s390 creates a weird arch/arch/ directory. $ find arch/arch arch/arch arch/arch/s390 arch/arch/s390/include arch/arch/s390/include/generated arch/arch/s390/include/generated/asm arch/arch/s390/include/generated/uapi arch/arch/s390/include/generated/uapi/asm The root cause is 'targets' in arch/s390/kernel/syscalls/Makefile, where the relative path is incorrect. Strictly speaking, 'targets' was not necessary in the first place because this Makefile uses 'filechk' instead of 'if_changed'. However, this commit keeps it, as it will be useful when converting 'filechk' to 'if_changed' later. Fixes: 5c75824d915e ("s390/syscalls: add Makefile to generate system call header files") Signed-off-by: Masahiro Yamada Link: https://lore.kernel.org/r/20241111134603.2063226-1-masahiroy@kernel.org Signed-off-by: Heiko Carstens Signed-off-by: Sasha Levin --- arch/s390/kernel/syscalls/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/kernel/syscalls/Makefile b/arch/s390/kernel/syscalls/Makefile index 4d929edc80a62..b801966c94e92 100644 --- a/arch/s390/kernel/syscalls/Makefile +++ b/arch/s390/kernel/syscalls/Makefile @@ -12,7 +12,7 @@ kapi-hdrs-y := $(kapi)/unistd_nr.h uapi-hdrs-y := $(uapi)/unistd_32.h uapi-hdrs-y += $(uapi)/unistd_64.h -targets += $(addprefix ../../../,$(gen-y) $(kapi-hdrs-y) $(uapi-hdrs-y)) +targets += $(addprefix ../../../../,$(gen-y) $(kapi-hdrs-y) $(uapi-hdrs-y)) PHONY += kapi uapi -- 2.43.0