Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9914334imu; Sun, 30 Dec 2018 08:10:43 -0800 (PST) X-Google-Smtp-Source: ALg8bN6FCl5i3bJfom10B9CZ/+ZmvAXGokKRlcb6A9UOundgyDrJnOWBvMi1dWzWjTW6VDzXtHzI X-Received: by 2002:a65:4142:: with SMTP id x2mr4764551pgp.356.1546186243387; Sun, 30 Dec 2018 08:10:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546186243; cv=none; d=google.com; s=arc-20160816; b=PXMeUDk0rvKt7F7bvRWcPWG/6LljPt+kl71q0exiz5hpsGtQFlzRgbqyQRlNSqrWBo 2dtpkWeORgnrlsto9+kgsjRxQHm0nI2daKn9enOBbAk1OpXSTPvZLZrvfjguoHnbWj+X 7zZciPObBhfMXlMXhzN6SJVUshBWd7hU1kqYb9JEdXVPStxUYDlwci+dS2bRrDKUkGdk fHAgS7RDwnHq7Akba2ku3kPqAj//OHtBztdnK6aMoYQnemOXQJDvJrst6BJdJVC/txkB j4jTmdI+tZPTW+TgX0tMRGpLxvihKSqScGxI/kRFEB5nvAVyYW1EFOY5o3dp2X5MVWAm MjLg== 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=u2X0ISKSIVet8lTFJByD/Zix0QlvE8+WD685kznoGyb3eljUc8jaTu+14yYno9RpO9 E+l9TGa5mC2P8CbNF8TkMa6mZusyYFV4YbOw198ptfgLItIUVQ+C4sYQrdrgUlZ27pjv Vl02bNnYwM+vzPWLigS+iJVFORQ0Doq5ZUZHOq/+w1+TF79gADM2XBV4sRHvte/tA4L2 l+1bWdC41LZQCEEvtU/Gnth1N5Bj4GRapLFsx6lMHhFI29GvE+4ft+MZYvthu8p7Nih5 O4U2YBaNF47FHoYh8OOJxfGZkx0eUzfXEYyBcwo8JL4MxU6PX7ZzdnfFrp8NP5uPjZnt KLIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=kmbScMng; 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 a2si39422910pgv.33.2018.12.30.08.10.05; Sun, 30 Dec 2018 08:10:43 -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=kmbScMng; 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 S1726525AbeL3QIT (ORCPT + 99 others); Sun, 30 Dec 2018 11:08:19 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:38404 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726269AbeL3QIS (ORCPT ); Sun, 30 Dec 2018 11:08:18 -0500 Received: from zyt.lan (unknown [IPv6:2a02:169:3465::564]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 530AE5C102A; Sun, 30 Dec 2018 17:08:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1546186096; 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=kmbScMngcFvaaUOOMOC/F6ghNgSCcDKZ4tYgSzB/BHpQiUTu58j5H0vs3fFiIGzs5Widl0 zWp8LnAhCKWkhgMESy4znfI7PU8VjrjLls+ZZPY9sEURTyH2W5FBuv1Bo5jO1jbS3+aEMv Ds59A0iywCRmPI4KkHgJ6KiT6Rp10Mc= 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 1/3] ARM: fix argument count to match macro definition Date: Sun, 30 Dec 2018 17:08:17 +0100 Message-Id: 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