Re: [PATCH 4/7] Implement a general integer log2 facility in thekernel [try #3]

From: Stephen Rothwell
Date: Wed Sep 13 2006 - 21:20:09 EST


Hi David,

Just a small nit ...

On Wed, 13 Sep 2006 19:35:29 +0100 David Howells <dhowells@xxxxxxxxxx> wrote:
>
> diff --git a/fs/ext2/super.c b/fs/ext2/super.c
> index 681dea8..b4b4eae 100644
> --- a/fs/ext2/super.c
> +++ b/fs/ext2/super.c
> @@ -784,9 +782,9 @@ static int ext2_fill_super(struct super_
> sbi->s_sbh = bh;
> sbi->s_mount_state = le16_to_cpu(es->s_state);
> sbi->s_addr_per_block_bits =
> - log2 (EXT2_ADDR_PER_BLOCK(sb));
> + ilog2 (EXT2_ADDR_PER_BLOCK(sb));
> sbi->s_desc_per_block_bits =
> - log2 (EXT2_DESC_PER_BLOCK(sb));
> + ilog2 (EXT2_DESC_PER_BLOCK(sb));

While you are here, could you get rid of the spaces before the parentheses?

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/