Re: [PATCH]: warrning fix: unsigned->signed

2007-02-07 Thread Jens Axboe
On Tue, Feb 06 2007, Andrew Morton wrote: > On Wed, 7 Feb 2007 00:39:45 +0300 > "Tomasz Kvarsin" <[EMAIL PROTECTED]> 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 s

Re: [PATCH]: warrning fix: unsigned->signed

2007-02-06 Thread Tomasz Kvarsin
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 <[EMAIL PROTECTED]> wrote: On Wed, 7 Feb 2007 00:39:45 +0300 "Tomasz Kvarsin" <[EMAIL PROTECTED]> wro

Re: [PATCH]: warrning fix: unsigned->signed

2007-02-06 Thread Oleg Verych
> From: Andrew Morton > Newsgroups: gmane.linux.kernel > Subject: Re: [PATCH]: warrning fix: unsigned->signed > Date: Tue, 6 Feb 2007 14:09:36 -0800 Mail-Followup-To: LKML , Oleg Verych <[EMAIL PROTECTED]>, Andrew Morton <[EMAIL PROTECTED]>, "Tomasz Kvars

Re: [PATCH]: warrning fix: unsigned->signed

2007-02-06 Thread Andrew Morton
On Wed, 7 Feb 2007 00:39:45 +0300 "Tomasz Kvarsin" <[EMAIL PROTECTED]> 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 o