Re: [PATCH 1/5] cache.h: remove surrounding brackes and realign CE_* constants

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

 



2010/11/26 Nguyán ThÃi Ngác Duy <pclouds@xxxxxxxxx>:
>
> Signed-off-by: Nguyán ThÃi Ngác Duy <pclouds@xxxxxxxxx>
> ---
> Âcache.h | Â 25 ++++++++++++-------------
> Â1 files changed, 12 insertions(+), 13 deletions(-)
>
> diff --git a/cache.h b/cache.h
> index 33decd9..4819cf5 100644
> --- a/cache.h
> +++ b/cache.h
> @@ -170,26 +170,25 @@ struct cache_entry {
> Â*
> Â* In-memory only flags
> Â*/
> -#define CE_UPDATE Â Â(0x10000)
> -#define CE_REMOVE Â Â(0x20000)
> -#define CE_UPTODATE Â(0x40000)
> -#define CE_ADDED Â Â (0x80000)
> +#define CE_UPDATE Â Â Â Â Â Â Â0x10000
> +#define CE_REMOVE Â Â Â Â Â Â Â0x20000
> +#define CE_UPTODATE Â Â Â Â Â Â0x40000
> +#define CE_ADDED Â Â Â Â Â Â Â 0x80000
>
Thanks for fixing this. Maybe these hex can be rewriting as 1 << 0, 1
<< 1 and so on?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]