[PATCH] UBIFS: Fix integer overflow warnings
Artem Bityutskiy
dedekind at infradead.org
Sat Jun 27 07:37:09 EDT 2009
On Fri, 2009-06-26 at 17:10 -0700, Kevin Cernekee wrote:
> This warning was observed on MIPS32 using 2.6.31-rc1 and gcc-4.2.0:
>
> fs/ubifs/io.c: In function 'ubifs_wbuf_init':
> fs/ubifs/io.c:860: warning: integer overflow in expression
> fs/ubifs/io.c:860: warning: integer overflow in expression
> fs/ubifs/io.c:860: warning: integer overflow in expression
>
> Signed-off-by: Kevin Cernekee <cernekee at gmail.com>
Thanks for the patch,
however we there is already a fix for this. I'll send it to
Linus soon.
http://git.infradead.org/ubifs-2.6.git?a=commit;h=4804e8b700504978eb4b9397f818ba7ba1227a15
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd
mailing list