LKML Archive on
help / color / mirror / Atom feed
From: "Tomasz Kvarsin" <>
To: "Andrew Morton" <>
Subject: Re: [PATCH]: warrning fix: unsigned->signed
Date: Wed, 7 Feb 2007 08:31:20 +0300	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

I uses gcc "trunk" with -Wconversion,
 because of they finaly implement warrning for such things:
uint16_t a;
uint8_t b;
b = a;

On 2/7/07, Andrew Morton <> wrote:
> On Wed, 7 Feb 2007 00:39:45 +0300
> "Tomasz Kvarsin" <> 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \
    --subject='Re: [PATCH]: warrning fix: unsigned->signed' \

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