LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Tomasz Kvarsin" <kvarsin@gmail.com>
To: "Andrew Morton" <akpm@linux-foundation.org>
Cc: viro@zeniv.linux.org.uk, axboe@kernel.dk, linux-kernel@vger.kernel.org
Subject: Re: [PATCH]: warrning fix: unsigned->signed
Date: Wed, 7 Feb 2007 08:31:20 +0300	[thread overview]
Message-ID: <5157576d0702062131u3365881bw87a29eaabac69c40@mail.gmail.com> (raw)
In-Reply-To: <20070206140936.24bbaded.akpm@linux-foundation.org>

I uses gcc "trunk" with -Wconversion,
 because of they finaly implement warrning for such things:
uint16_t a;
uint8_t b;
b = a;
see
http://gcc.gnu.org/wiki/NewWconversion

On 2/7/07, Andrew Morton <akpm@linux-foundation.org> wrote:
> On Wed, 7 Feb 2007 00:39:45 +0300
> "Tomasz Kvarsin" <kvarsin@gmail.com> wrote:
>
> > While compiling my code, I always get bunch of warrning from headers,
> > here is fix for them:
> > __getblk is alawys called with unsigned argument,
> > but it takes signed, the same story with __bread,__breadahead and so on.
>
> The patch seems OK, but I'm curious to know why you're seeing this warning
> and nobody else is.  Are you using a compiler other than gcc?  If gcc,
> which version?  Did you add any new compiler options?
>
> Thanks.
>

  parent reply	other threads:[~2007-02-07  5:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-06 21:39 Tomasz Kvarsin
2007-02-06 22:09 ` Andrew Morton
2007-02-06 22:55   ` Oleg Verych
2007-02-07  5:31   ` Tomasz Kvarsin [this message]
2007-02-07 11:56   ` Jens Axboe

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=5157576d0702062131u3365881bw87a29eaabac69c40@mail.gmail.com \
    --to=kvarsin@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=axboe@kernel.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    --subject='Re: [PATCH]: warrning fix: unsigned->signed' \
    /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

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).