Re: [PATCH] omfs: fix warning

From: Bob Copeland
Date: Sat Aug 02 2008 - 09:24:50 EST


On Sat, Aug 02, 2008 at 12:07:25PM +0400, Alexander Beregalov wrote:
> From: Alexander Beregalov <a.beregalov@xxxxxxxxx>
>
> omfs: fix warnings
>
> fs/omfs/inode.c:495: warning: format '%llx' expects type 'long long
> unsigned int', but argument 2 has type 'u64'
> fs/omfs/inode.c:495: warning: format '%llx' expects type 'long
> long unsigned int', but argument 3 has type '__be64'
>
> Signed-off-by: Alexander Beregalov <a.beregalov@xxxxxxxxx>
> Cc: Bob Copeland <me@xxxxxxxxxxxxxxx>

Thanks!

Acked-by: Bob Copeland <me@xxxxxxxxxxxxxxx>

(And I'm downloading cross compilers as I type this.)

Andrew, should I continue to send omfs patches through you, or do I need
to publish a git repo?

> "super and root blocks (%llx, %llx)\n",
> - sbi->s_num_blocks, be64_to_cpu(omfs_rb->r_num_blocks));
> + (unsigned long long)sbi->s_num_blocks,
> + (unsigned long long)be64_to_cpu(omfs_rb->r_num_blocks));
> goto out_brelse_bh2;

--
Bob Copeland %% www.bobcopeland.com

--
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/