[PATCH v4] mtd-utils: clean up compile warnings

Artem Bityutskiy dedekind1 at gmail.com
Fri Jul 30 02:04:01 EDT 2010


On Mon, 2010-07-26 at 11:37 -0700, Kevin Cernekee wrote:
> gcc 4.4.3 on x86_64:
> 
> libcrc32.c:42: warning: static is not at beginning of declaration
> 
> libfec.c:120: warning: initialization discards qualifiers from pointer target type
> libfec.c:121: warning: initialization discards qualifiers from pointer target type
> 
> libfec.c:417: warning: passing argument 2 of my_malloc discards qualifiers from pointer target type
> 
> recv_image.c:164: warning: comparison of unsigned expression < 0 is always false
> recv_image.c:170: warning: format %d expects type int, but argument 3 has type size_t
> recv_image.c:170: warning: format %d expects type int, but argument 4 has type long unsigned int
> 
> And many more along the same lines.
> 
> Signed-off-by: Kevin Cernekee <cernekee at gmail.com>

Pushed, thanks.
 
-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list