Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1249336lqj; Mon, 3 Jun 2024 15:25:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUYROSERiuSPnBbKp6KLFK3QXzGcaoBUF/5/atZXTtL2Uyilcjy9/WjJmKwCQBzvra3xz00uC0CLJk0R4zR0dbWrIlMdZXpUjZUzhd8dA== X-Google-Smtp-Source: AGHT+IH3iYJqhL3eGFv5ZI+kE0bcAHhnf5CDe5r19t3QKDbxzaFkuO6pQ/aNFj2X3hho8D9Nab6B X-Received: by 2002:a17:90b:368b:b0:2c2:4d73:9a9e with SMTP id 98e67ed59e1d1-2c24d739bd7mr2531046a91.34.1717453504684; Mon, 03 Jun 2024 15:25:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717453504; cv=pass; d=google.com; s=arc-20160816; b=YjJeDai6a2Zr322UWBLbfNKP99LMVr6Sgm2SKx97JuEbkwMtjJhiEw1qRLHWegn8d2 xa74Ytp33l4gioY8tKIGi17EoddeC0ryN1LL8mdiu1eHYzhugQRCamhqgIhboIgvHjF8 xMEMd4yIROXaRYo3ZnqJSffVYwp5lWC3JGMwcM1p//E175Il8k6id+r87KrEoxBLM5fU yVPp9LO0Ke3WttZ0SQAa6BZFT90VuJ7E7oxDn6b4exmYj6H8OFCIQAfVo9dEPgCmh4/C PKZcriVhSu4haZOHVx3vLF0aWw7TeiWIQHcgMtCyZonFlffKRqFnjs2Ed3NtHkR8ABxQ Mx4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mXxdJ2JN1SOUYPuF2ly8UFQpRlWw1p3X7qYh3R4t/+0=; fh=kzQbY2VWCNYHOBrv8n3HKFBQNH7Ctw9D+bVaT5LgeBo=; b=suft72/MGJP6BMPh6uSqk/EjlWvJ8PzoRefI4TEkaBw/7bum1Hie9eM3o9Ric5609k 1rOI6Wgoe3wE2ovbNU162TBCozezFx/MKOkl8IYJWdRtb90y7nBM2XpGxRToSBArczbv nnsNzLHj03htgwRRNnVk0ByKn4LltabX+0H/vHx9poufC0ghrPL4M29Q8O1JIdEhz+0O w90TsDqh9yzI6za6CFZxwSplxxa0+9kSPWq3Nj19q54QZtTFi5WvmK87WmmmXX8bWkYS /d+jWQKPQ9jWUztmmS3hV8QlYiZFs19zJv9sdMSiOVj776cxVD/nvIezZFfJLbLsAIdf f0ZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bLUN3IOT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199762-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199762-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c1c27c8097si7190343a91.44.2024.06.03.15.25.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 15:25:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199762-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bLUN3IOT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199762-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199762-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C7DCB286269 for ; Mon, 3 Jun 2024 22:25:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F90813C918; Mon, 3 Jun 2024 22:24:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bLUN3IOT" 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 B7638522E; Mon, 3 Jun 2024 22:24:58 +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=1717453498; cv=none; b=crSgZjTNMpsKd1BUKUZtQDelQ2yhQtwfwJUlTsI7if/rsc/vgyp4pH3hDUzHhU+iZXgJPmb/daYIXTXh6SGVf+T3Io284nRypZfKw0Nt+pVYBezXuIZRqSV0IG8NWkSgqIbEaMLGZthEe1opbQRDO3GlQX2ibpiqLVsLyFk53q4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717453498; c=relaxed/simple; bh=VUzLKH/jLd+2yyr8nQdfcdBS1mhd68VfVk1ylPUG3WY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LERdSQ/Wq2ItF8VaBU+FFxEOUEz9snfAFQs1llYa9cp7O4oYlI5gwCmKa53URRJAG9SWgT2cdrZ1i3X273QqQ3UbUULMd16txApUS3rclIE1+A8v1y7691Rx8oOOAK+wGUCw/wocKNgruFTPuV7d8gH90ClDZ3znu/XJDUlYb1E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bLUN3IOT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02515C2BD10; Mon, 3 Jun 2024 22:24:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717453498; bh=VUzLKH/jLd+2yyr8nQdfcdBS1mhd68VfVk1ylPUG3WY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bLUN3IOT5S6CGY6XpDOCocLLCLDgiskYA1XNACHrZSwjdKY4MmQua7CJ6t1phSbsZ aa2DvSKbiNTc6J5wwIDPX/RP9IidpzfcWVu9LOJTi8l5Q/NWLZoTw8qbR9H0RSPqPw QSUXwdFTTFpECxJdJm41eGPc38DnKS0FiF/ooGW71faeR8Wxo+rPp2iC6/wqVVmBBM TMddDYUmf3IqrnCfHFR4tNtWlV+Kp1v//tqdqguapEbJe1D/v6bZLAupzt4wi/GFKi oHbyurzqdlaD7OYY2GwDCgEcOSBWOliXEnT91i90LtYGJANPh708Efh4iqImYDY9WQ k8JBJ9URfEXZQ== Date: Mon, 3 Jun 2024 15:24:56 -0700 From: Nathan Chancellor To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nicolas Schier Subject: Re: [PATCH] usr: shorten cmd_initfs in Makefile Message-ID: <20240603222456.GA1802995@thelio-3990X> References: <20240531122825.699771-1-masahiroy@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240531122825.699771-1-masahiroy@kernel.org> On Fri, May 31, 2024 at 09:28:25PM +0900, Masahiro Yamada wrote: > Avoid repetition of long variables. > > No functional change intended. > > Signed-off-by: Masahiro Yamada Reviewed-by: Nathan Chancellor > --- > > usr/Makefile | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/usr/Makefile b/usr/Makefile > index 132ef7e96e6d..75224d927025 100644 > --- a/usr/Makefile > +++ b/usr/Makefile > @@ -62,9 +62,9 @@ $(deps_initramfs): ; > quiet_cmd_initfs = GEN $@ > cmd_initfs = \ > $(CONFIG_SHELL) $< -o $@ -l $(obj)/.initramfs_data.cpio.d \ > - $(if $(CONFIG_INITRAMFS_ROOT_UID), -u $(CONFIG_INITRAMFS_ROOT_UID)) \ > - $(if $(CONFIG_INITRAMFS_ROOT_GID), -g $(CONFIG_INITRAMFS_ROOT_GID)) \ > - $(if $(KBUILD_BUILD_TIMESTAMP), -d "$(KBUILD_BUILD_TIMESTAMP)") \ > + $(addprefix -u , $(CONFIG_INITRAMFS_ROOT_UID)) \ > + $(addprefix -g , $(CONFIG_INITRAMFS_ROOT_GID)) \ > + $(patsubst %,-d "%", $(KBUILD_BUILD_TIMESTAMP)) \ > $(ramfs-input) > > # We rebuild initramfs_data.cpio if: > -- > 2.40.1 >