From: Artem Bityutskiy <dedekind1@gmail.com>
To: Kevin Cernekee <cernekee@gmail.com>
Cc: linux-mtd@lists.infradead.org, vapier.adi@gmail.com
Subject: Re: [PATCH v4] mtd-utils: clean up compile warnings
Date: Fri, 30 Jul 2010 09:04:01 +0300 [thread overview]
Message-ID: <1280469841.2838.3.camel@localhost.localdomain> (raw)
In-Reply-To: <316b2205ef90aed27bc9bf7b3a5701f0@localhost>
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@gmail.com>
Pushed, thanks.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
prev parent reply other threads:[~2010-07-30 6:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-26 18:37 [PATCH v4] mtd-utils: clean up compile warnings Kevin Cernekee
2010-07-30 6:04 ` Artem Bityutskiy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1280469841.2838.3.camel@localhost.localdomain \
--to=dedekind1@gmail.com \
--cc=cernekee@gmail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=vapier.adi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).