Roel Kluin <roel.kluin@xxxxxxxxx> writes: > diff --git a/arch/ia64/include/asm/syscall.h b/arch/ia64/include/asm/syscall.h > index 2f758a4..3fc1832 100644 > --- a/arch/ia64/include/asm/syscall.h > +++ b/arch/ia64/include/asm/syscall.h > @@ -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. -- Andreas Schwab, SuSE Labs, schwab@xxxxxxx 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." -- To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |