From patchwork Thu Feb 8 13:04:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 198409 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp166973dyd; Thu, 8 Feb 2024 05:31:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGcIH3T3rzqAjDl+FU0dzC4h+F3DjaehTJxNNDyc6+owTSwGZg1ExudXPwHNS5jAJClokAi X-Received: by 2002:a05:6a21:150b:b0:19e:a7c2:eee0 with SMTP id nq11-20020a056a21150b00b0019ea7c2eee0mr5338623pzb.8.1707399118834; Thu, 08 Feb 2024 05:31:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707399118; cv=pass; d=google.com; s=arc-20160816; b=bS6AXUdmsc1ysIFGHUPqtwcV/F9QypmKzdpmpN4DH9qbdz1rfXSrOKUKyfHdxASKbg GZbrlhurXkEPiYLTN+vbPMdZ4nv2ReMYkc83iAp3dKkFxtLXOMG663qVWNR66FpWO3Hu vkbFOuT53E5CtU4CokMPDqgwm/3gYthyHfZKllt+mVxWEhtE5zXeS986djChEDrBbIro HEirsKJSt+LpUWI2ppI/bhhStrPVnAKo3eWKtEkGkvb5rkfHaIgdlvdG4BBgcGNWj87T uS+LG9yTfGD4JE5NEpOEPpoV5zAV/H6dgc7pAXGp3rKwmS+ZiTZNzfk3lLorGBmgwXo0 oJxg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=ItrhzjXgrU37HoKwRFwkN3cl4RKFDsKe3ioFh/KQiRs=; fh=WfOdquohVK5/L+ZsMFf8ADYzH6seMeNJ+6aAEdgcSwM=; b=PsvmkB7lceYi5HNZ0MQVE9PzJ68mbt3gt9E2ValpoleFPZCQH55zh28fx4lSaUjpQU 30hTBAzH8i3/T8gnTZc8jAiJRD4W75PfcTrljecGBO3joCiRU2GwMK5JOfSqkohI4w2f NYIfUBvrWtuNjcfBb17581bcPtMEfbpybw5rvcpuy3JttiFi8mqwsNjkig1s8LXy1ALL kcydL4yLWm6Vu9H+4RFGkbGku3lqFAksRzUqEZGIkRKeILuQi8+mpbxYVvjLAnKH6fCm 56f2EiGoVa/lbLfcHq6uidcEiYtVvVZYkyxWWLPMJOf/8iX7rO9JLZ4mxcc4Dw//3eR6 4HZA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=uF4iIl+N; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-58107-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58107-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de X-Forwarded-Encrypted: i=2; AJvYcCWGtxdVLD3XsCGF6IZZ3CzkOjcvdnN/f5IUvvLulxWdNZQKjt9Fv6yZFJ8+W5oL7xoiCzO/0M2HNfIzldh5TgBJHLbwSA== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id fa13-20020a056a002d0d00b006ddd309cd5asi4189588pfb.168.2024.02.08.05.31.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 05:31:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58107-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=uF4iIl+N; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-58107-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58107-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 24B90B286B3 for ; Thu, 8 Feb 2024 13:06:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B0EC379DA1; Thu, 8 Feb 2024 13:04:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="uF4iIl+N"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="665aNmhI" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 66CAB76C65; Thu, 8 Feb 2024 13:04:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707397483; cv=none; b=bxVIFyESqAMmKFjzvui3jBK0zb4KUd9/cm/MRGyGJsnKW/hIHZb8DmbGmbpfGdLwh/GMldKT3ESN8Crpbmqd1XheKxtamB0AUWBIp6Da6ws6HO0do2zAvIK/Z9Nftr3TJrvX0+ImlhK6RPukFX0bLlLT6b0RGPgquDTN75ncPFE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707397483; c=relaxed/simple; bh=9C+h3t0wM818FscYQmrwPqmLL19g9wTuM7dgIM9JHDw=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=tzVXbKRdYAPjU96kAr0uqpB5txE/XziAAhamwYhnNnV4ZAq+ZCGJXb+IT7FodIL3FkWthe1Boq24LwrsnbSftciTcN2fMJTmDOBCYe9bLc1VUqwxawH8XZwgy6DlZBrh8BMJDW/CmVzkubVXiln3SPpec+ULIihMiMTVuIkWRTM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=uF4iIl+N; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=665aNmhI; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Thu, 08 Feb 2024 13:04:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1707397480; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ItrhzjXgrU37HoKwRFwkN3cl4RKFDsKe3ioFh/KQiRs=; b=uF4iIl+NKsHpumQ3DS5O91pPm6O9FM4DEoncYqm7F5v+BblAAQz4cWtNcdQjKJU9cdS7ue AhasJmHE3dLKs8WJAZ345YZsnKsbXyJFJUoybO2+Fil9WgLt2zIDyIaHmk/8M5ERA7j+ZV 0hf0NjvzhpSH7yBhBKEb2mPIDtdged6JyOMrOKzFZbm4ckxUEjY3+u0cAsqFvVd92GjZ6V 6vJOzIBMpcKylz+UPBI9ZZTiTR/SVuxDdqS9Bv/ql/PQqGQl7tNnivZvNpUAOPdoxgwQYF 5TWwZbsTj//C7NpJeZ8iSfPbfmGXcSAJOnEM1MHws1T4oK+9zjCCoAwrUrizEg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1707397480; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ItrhzjXgrU37HoKwRFwkN3cl4RKFDsKe3ioFh/KQiRs=; b=665aNmhIgB6uPCjY5YGxPO/r63U4wQwpoK1UWmS1gc1NBkMUsgRpRaBUr0U1GTLgCPN33n cRAoMRcA8YyeqcCA== From: "tip-bot2 for Masahiro Yamada" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/vdso] x86/vdso: Use $(addprefix ) instead of $(foreach ) Cc: Masahiro Yamada , "Borislav Petkov (AMD)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20231121235701.239606-4-masahiroy@kernel.org> References: <20231121235701.239606-4-masahiroy@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <170739747989.398.8335577123809642415.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790337737991997698 X-GMAIL-MSGID: 1790337737991997698 The following commit has been merged into the x86/vdso branch of tip: Commit-ID: ac9275b3b4dd11a1c825071b9dbaf7614a399c89 Gitweb: https://git.kernel.org/tip/ac9275b3b4dd11a1c825071b9dbaf7614a399c89 Author: Masahiro Yamada AuthorDate: Wed, 22 Nov 2023 08:57:00 +09:00 Committer: Borislav Petkov (AMD) CommitterDate: Thu, 08 Feb 2024 13:23:01 +01:00 x86/vdso: Use $(addprefix ) instead of $(foreach ) $(addprefix ) is slightly shorter and more intuitive. Signed-off-by: Masahiro Yamada Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/r/20231121235701.239606-4-masahiroy@kernel.org --- arch/x86/entry/vdso/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile index cbfb5aa..439b527 100644 --- a/arch/x86/entry/vdso/Makefile +++ b/arch/x86/entry/vdso/Makefile @@ -40,8 +40,8 @@ obj-$(CONFIG_IA32_EMULATION) += vdso-image-32.o vdso32-setup.o OBJECT_FILES_NON_STANDARD_vdso32-setup.o := n -vobjs := $(foreach F,$(vobjs-y),$(obj)/$F) -vobjs32 := $(foreach F,$(vobjs32-y),$(obj)/$F) +vobjs := $(addprefix $(obj)/, $(vobjs-y)) +vobjs32 := $(addprefix $(obj)/, $(vobjs32-y)) $(obj)/vdso.o: $(obj)/vdso.so @@ -112,7 +112,7 @@ VDSO_LDFLAGS_vdsox32.lds = -m elf32_x86_64 -soname linux-vdso.so.1 \ vobjx32s-y := $(vobjs-y:.o=-x32.o) # same thing, but in the output directory -vobjx32s := $(foreach F,$(vobjx32s-y),$(obj)/$F) +vobjx32s := $(addprefix $(obj)/, $(vobjx32s-y)) # Convert 64bit object file to x32 for x32 vDSO. quiet_cmd_x32 = X32 $@