Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp3073796rdb; Tue, 29 Aug 2023 04:50:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGRaBhUs+Ue6RY7aK+w4+uPQGdMyiwUzGTgXN6CUS5X3VHNe0N9WfAlh0zx4fzg3xgbC8nW X-Received: by 2002:aa7:d058:0:b0:522:3d36:ff27 with SMTP id n24-20020aa7d058000000b005223d36ff27mr23104859edo.31.1693309842486; Tue, 29 Aug 2023 04:50:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693309842; cv=none; d=google.com; s=arc-20160816; b=RIPtXCr7sTdDJSfW2c5cgC5rP1b/qInXj0vQPhHwbndvgzjE+80mYsRQUlsHMPqvff ePikJp5/se3xi+7SOng54ikzW/tmbATsiIXKstOY+Ckd5DZRwbchRB9KLzfr9NJTsAOS ZMEgEXHzTa3ccpU3zkSt2oHppvEaALkNiU5y7y3XR3sJvaePnJ7jN6RKIjlXRwWc8qO4 HkAVikJaCm34plQVX5i8RfhvOVikcL16tiS4/NQHXbPg9DCHu27Ujs2oCB2qv54BZ3rj Xm/UskAPFocdbWca6SsNVRpH4Lt0Ferm7Fk/X+hzKGFzo1oXXGz4XLNSWeoD2FH7tLvp jNyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=VWC2vrM2qmDeveGfmO9YnH3wUrItZs3MGKhVV4il+KM=; fh=0rXo+9DbfZCB69fXAjmiYwEoSV+H0o/4GXhSfeToRg8=; b=JUJ5pJLc5qo2e8kW3zMiwGZaXGK4TJalXGaR4AoC1MSIAWVXDX6CYqBYrNq1fm+lyV CUgyGaJ3SDK16+jVkb9ZqTxcbA353U6EtGxVB44hUM+NX44lYI+HvR52zTtPfp8hURob j/SwsDALGJCT4ci0SfeqITSqaqybBZF7MS4y2j5t1HsNfa9+lcBWbwZWLGZ6N/zNC7nm avLCQefaoskMpxwlcrO7pUUN9VpUXuEpOCAaSPKCx5xz8A7JSXpbt0hswELfdp4IHjNe FkOA1z2Uc+N2OD3VQmUks37lg/vAbuuuy1luuNPl6+1RTIoIwPal22ruOOvn36QO53F5 n63Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fxwwGSDQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y18-20020a056402271200b0052bd8711f4esi54229edd.428.2023.08.29.04.50.05; Tue, 29 Aug 2023 04:50:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fxwwGSDQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231992AbjH2LgA (ORCPT + 99 others); Tue, 29 Aug 2023 07:36:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232020AbjH2Lfp (ORCPT ); Tue, 29 Aug 2023 07:35:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1176E109; Tue, 29 Aug 2023 04:35:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 965DD60EAE; Tue, 29 Aug 2023 11:35:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DED71C433C8; Tue, 29 Aug 2023 11:35:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693308942; bh=SEm+29cbjH0OCwAWFWoSuP1sSdbIL6i8Z3mrtpUFzk0=; h=From:To:Cc:Subject:Date:From; b=fxwwGSDQUQw4Q5QfZRDz+zr+x7HkaZksrDhPqVSYDf0eogzHxC0TIV37jg/+XENZf THvUDi8u6zWZAC9/j3G0VwQFVdCEnbZS0FN5CgNdfy11tujT0rGrYhaRoFLS11Yemw UuozUawY2Vma1IZqh6bze75GyzGZ6FOxD378v1V3A1OHNon5VxKMp1dIEs8oVKwuOd AK+ybmDLK8S28oeQSxQ0xH+/ohqHqxlpF7yIWBinJfjS1TuQ+Z9A7/oaQrQEQwXl9A vbcTCtugkxl4bjmlaIbewKYaih+Tc2A6EgjWHx6KrUvEReBb4FuZfguwK2WKc12jcX P4E1qMsfttemw== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Christophe Leroy , Michael Ellerman , Nathan Chancellor , Nicholas Piggin , Nick Desaulniers , Nicolas Schier , linuxppc-dev@lists.ozlabs.org Subject: [PATCH] kbuild: single-quote the format string of printf Date: Tue, 29 Aug 2023 20:35:31 +0900 Message-Id: <20230829113531.4004730-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use single-quotes to avoid escape sequences (\\n). Signed-off-by: Masahiro Yamada --- Makefile | 8 ++++---- arch/powerpc/Makefile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 87a9eef3fb4b..d09600f7a036 100644 --- a/Makefile +++ b/Makefile @@ -1643,12 +1643,12 @@ help: @echo '' @$(if $(boards), \ $(foreach b, $(boards), \ - printf " %-27s - Build for %s\\n" $(b) $(subst _defconfig,,$(b));) \ + printf ' %-27s - Build for %s\n' $(b) $(subst _defconfig,,$(b));) \ echo '') @$(if $(board-dirs), \ $(foreach b, $(board-dirs), \ - printf " %-16s - Show %s-specific targets\\n" help-$(b) $(b);) \ - printf " %-16s - Show all of the above\\n" help-boards; \ + printf ' %-16s - Show %s-specific targets\n' help-$(b) $(b);) \ + printf ' %-16s - Show all of the above\n' help-boards; \ echo '') @echo ' make V=n [targets] 1: verbose build' @@ -1684,7 +1684,7 @@ $(help-board-dirs): help-%: @echo 'Architecture specific targets ($(SRCARCH) $*):' @$(if $(boards-per-dir), \ $(foreach b, $(boards-per-dir), \ - printf " %-24s - Build for %s\\n" $*/$(b) $(subst _defconfig,,$(b));) \ + printf ' %-24s - Build for %s\n' $*/$(b) $(subst _defconfig,,$(b));) \ echo '') diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index dac7ca153886..f49ac05eae20 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -353,7 +353,7 @@ define archhelp echo ' (minus the .dts extension).' echo $(foreach cfg,$(generated_configs), - printf " %-27s - Build for %s\\n" $(cfg) $(subst _defconfig,,$(cfg));) + printf ' %-27s - Build for %s\n' $(cfg) $(subst _defconfig,,$(cfg));) endef PHONY += install -- 2.39.2