Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp268197imu; Thu, 3 Jan 2019 19:23:35 -0800 (PST) X-Google-Smtp-Source: ALg8bN7d9xjpwwBsw4YWJs0Eu0BAaAo+APfzXA7eA67J2hQGu5rZFJhTMfLHeH8xd8OGlHXuo8n+ X-Received: by 2002:a63:134f:: with SMTP id 15mr236252pgt.19.1546572215808; Thu, 03 Jan 2019 19:23:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546572215; cv=none; d=google.com; s=arc-20160816; b=wKNjzVY35t3Pg7eDxHUIF2pDFpc9C7zcWlNYgJbpU/xoa8iL5pG7S7EEbfzFNj4R/b hTuQE4VPHwNa+zOaLQ0DhRlVSp3p7BY+AxUGt5cIDhl6sXlJG6SXjHqGt62pFUXYlzqQ tpov6aGlCrg9TkZn36Nb0UaXp5puDX0pi10gl0SZ/WAxGGhtY1n1P8pig3FlsFpk1J9N nmKzGmY8Phr56lx5HlU5W3zYIuT1sg/8YAFUwfE8VBBYb8CnvkFGkrqqxeR+HH02EC5k cd9UYDYcgjsD3nToC8ujn9CTipYUt4B2xsjgIZjdjw1LfyobisSqN2f49bp9kxHI4KRD n+rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4b4Aplok1v5A3OAOr1AuVES09IdBt8fC2qqk06hsBWY=; b=rb9kKRbon9WV6lj3AtUFLv9GH0FBmx+6qjWsGtUxn3vm7EfkoZyholi+OuSnuft2dD eueiJdq/pJzscpUYETcEfvwM3sHPDVD/m/E/7yZatJiBnyXPa7kIh0UZFFjRFWm5jiby se7jHib86Ffl4H4A2a8yM9Y09cjxt0fjtsnAylL9rG4+H/ugYVBMPaChpb8vCxwTiVY5 4jRXPSn44DWfDPsOFEklyJsjAtsxWU1I4Sl57feQWvGMVhxFZXd97HYXYys87pDJDSzy 3+FMt1HjOexoYvdQmhaCDf1scM42IUiK8JTxIRl+SiJlQk9rPxVkqbLCvSdKxiBxAq+3 hcYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b="A/YEFhdP"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d23si1727975pgj.558.2019.01.03.19.23.20; Thu, 03 Jan 2019 19:23:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b="A/YEFhdP"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728184AbfACVsQ (ORCPT + 99 others); Thu, 3 Jan 2019 16:48:16 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:54112 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727021AbfACVsG (ORCPT ); Thu, 3 Jan 2019 16:48:06 -0500 Received: from zyt.lan (unknown [IPv6:2a02:169:3465::564]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 95C825C0C23; Thu, 3 Jan 2019 22:48:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1546552084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4b4Aplok1v5A3OAOr1AuVES09IdBt8fC2qqk06hsBWY=; b=A/YEFhdPPu1YKy28afnl4+dEVHpb1cR7skEuH/MFDaHVDtu91yrEUNJJCkiUC3vhMJ4Cx6 ooWPIwuLH3WM18FRkOrv9qgPrg45zaxH/cAwC4+UPGM5pMTwBBEKcT2qU29OcHAx6i+vf7 wB1wwIDtdKXjpFqqHMqrERCfa5UrUkM= From: Stefan Agner To: linux@armlinux.org.uk Cc: ndesaulniers@google.com, natechancellor@gmail.com, arnd@arndb.de, ard.biesheuvel@linaro.org, nicolas.pitre@linaro.org, peterz@infradead.org, mingo@redhat.com, will.deacon@arm.com, julien.thierry@arm.com, mark.rutland@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stefan Agner Subject: [PATCH v2 1/3] ARM: fix argument count to match macro definition Date: Thu, 3 Jan 2019 22:48:13 +0100 Message-Id: <591c1d362838b8a83e1fdfea37f7b48fd85dbf44.1546551693.git.stefan@agner.ch> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The macro str8w takes 10 arguments, abort being the 10th. In this particular instantiation the abort argument is passed as 11th argument leading to an error when using LLVM's integrated assembler: :46:47: error: too many positional arguments str8w r0, r3, r4, r5, r6, r7, r8, r9, ip, , abort=19f ^ arch/arm/lib/copy_template.S:277:5: note: while in macro instantiation 18: forward_copy_shift pull=24 push=8 ^ The argument is not used in the macro hence this does not change code generation. Signed-off-by: Stefan Agner --- arch/arm/lib/copy_template.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/lib/copy_template.S b/arch/arm/lib/copy_template.S index 652e4d98cd47..2d54491b0e22 100644 --- a/arch/arm/lib/copy_template.S +++ b/arch/arm/lib/copy_template.S @@ -241,7 +241,7 @@ orr r9, r9, ip, lspush #\push mov ip, ip, lspull #\pull orr ip, ip, lr, lspush #\push - str8w r0, r3, r4, r5, r6, r7, r8, r9, ip, , abort=19f + str8w r0, r3, r4, r5, r6, r7, r8, r9, ip, abort=19f bge 12b PLD( cmn r2, #96 ) PLD( bge 13b ) -- 2.20.1