Re: [PATCH v2] MIPS: math-emu: ieee754int.h: Fix indentation

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

 



On Thu, Jul 16, 2015 at 04:43:33PM +0100, Markos Chandras wrote:

> diff --git a/arch/mips/math-emu/ieee754int.h b/arch/mips/math-emu/ieee754int.h
> index 05389d5e3a93..6383e2c5c1ad 100644
> --- a/arch/mips/math-emu/ieee754int.h
> +++ b/arch/mips/math-emu/ieee754int.h
> @@ -65,8 +65,8 @@ static inline int ieee754_class_nan(int xc)
>  			vc = IEEE754_CLASS_INF;				\
>  		else if (vm & SP_MBIT(SP_FBITS-1))			\
>  			vc = IEEE754_CLASS_SNAN;			\
> -	else								\
> -		vc = IEEE754_CLASS_QNAN;				\
> +		else							\
> +			vc = IEEE754_CLASS_QNAN;			\
>  	} else if (ve == SP_EMIN-1+SP_EBIAS) {				\
>  		if (vm) {						\
>  			ve = SP_EMIN;					\
> @@ -105,8 +105,8 @@ static inline int ieee754_class_nan(int xc)
>  		if (vm) {						\
>  			ve = DP_EMIN;					\
>  			vc = IEEE754_CLASS_DNORM;			\
> -	} else								\
> -		vc = IEEE754_CLASS_ZERO;				\
> +		} else							\
> +			vc = IEEE754_CLASS_ZERO;			\
>  	} else {							\
>  		ve -= DP_EBIAS;						\
>  		vm |= DP_HIDDEN_BIT;					\

Looks correct but the the first segment duplicates
https://patchwork.linux-mips.org/patch/10732/ so I'm applying only
the 2nd segment.

Thanks,

  Ralf




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux