Skip to contentSkip to conversation

x86/ipipe: fix compile error

PATCH Applied Henning Schild 2 participants 2 messages Nov 14, 2017 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/ipipe: fix compile error

61553d8dcb9f introduced a call of "fixup_exception" with too many args, probably a backporting problem. Remove the arg that the 4.4-version of the function did not need.

---
 arch/x86/kernel/ipipe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/ipipe.c +1 -1
index 6b02e3ea4d9a..668ac6a8ba98 100644
@@ -347,7 +347,7 @@ int __ipipe_trap_prologue(struct pt_regs *regs, int trapnr)
 	 * the standard recovery procedure in that case anyway.
 	 */
 	if (unlikely(!root_entry && faulthandler_disabled())) {
-		if (fixup_exception(regs, trapnr))
+		if (fixup_exception(regs))
 			return 1;
 	}
 
Signature · 1 line
2.13.6
#1 lore raw
Quoted 15 lines · Henning Schild

61553d8dcb9f introduced a call of "fixup_exception" with too many args, probably a backporting problem. Remove the arg that the 4.4-version of the function did not need.

---
 arch/x86/kernel/ipipe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/ipipe.c +0 -0
index 6b02e3ea4d9a..668ac6a8ba98 100644

arch/x86/kernel/ipipe.c int __ipipe_trap_prologue(struct pt_regs *regs, int trapnr) · line 353

Quoted 8 lines
arch/x86/kernel/ipipe.c +1 -1
@@ -347,7 +347,7 @@ int __ipipe_trap_prologue(struct pt_regs *regs, int trapnr)
 	 * the standard recovery procedure in that case anyway.
 	 */
 	if (unlikely(!root_entry && faulthandler_disabled())) {
-		if (fixup_exception(regs, trapnr))
+		if (fixup_exception(regs))
 			return 1;
 	}
 

Merged, thanks.

Signature · 1 line
Philippe.