Patch "ARM: 8827/1: fix argument count to match macro definition" has been added to the 4.19-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ARM: 8827/1: fix argument count to match macro definition

to the 4.19-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     arm-8827-1-fix-argument-count-to-match-macro-definit.patch
and it can be found in the queue-4.19 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 929b17b160b52fc144d8c51a716747f90830f307
Author: Stefan Agner <stefan@xxxxxxxx>
Date:   Thu Jan 24 21:41:59 2019 +0100

    ARM: 8827/1: fix argument count to match macro definition
    
    commit baf2df8e15be22b8bd24bdd6fd4575b6641bcfd1 upstream.
    
    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:
      <instantiation>: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 <stefan@xxxxxxxx>
    Reviewed-by: Nicolas Pitre <nico@xxxxxxxxxx>
    Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxx>
    Signed-off-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

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			)



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux