IA64: cast has a higher precedence than '?'
PATCH 1/1 IA64: cast has a higher precedence than '?'
A cast has a higher precedence than '?'
Signed-off-by Roel Kluin <[email protected]>
---
arch/ia64/include/asm/syscall.h +1 -1
@@ -64,7 +64,7 @@ static inline void syscall_set_return_value(struct task_struct *task, {#ifdef CONFIG_IA32_SUPPORT if (IS_IA32_PROCESS (regs)) { - regs->r8 = (long ) error ? error : val; + regs->r8 = (long ) (error ? error : val);return ; }#endif
arch/ia64/include/asm/syscall.h static inline void syscall_set_return_value(struct task_struct *task, · line 67
Quoted 10 lines · Roel Kluin
arch/ia64/include/asm/syscall.h +1
-1@@ -64,7 +64,7 @@ static inline void syscall_set_return_value(struct task_struct *task, {#ifdef CONFIG_IA32_SUPPORT if (IS_IA32_PROCESS (regs)) { - regs->r8 = (long ) error ? error : val; + regs->r8 = (long ) (error ? error : val);
The cast can be removed, it has no influence whatsoever.
Andreas.
Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."