]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] warning fix: unsigned->signed
authorTomasz Kvarsin <kvarsin@gmail.com>
Mon, 12 Feb 2007 08:52:14 +0000 (00:52 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:29 +0000 (09:48 -0800)
commit1536d597b8adc9ef4ac35ce5e426d2158a3a52ef
treeb9a691fe6b0bc2bf3c98e64348472fa81de7ddab
parentc627847592c659a18b815f2aed859edb087552de
[PATCH] warning fix: unsigned->signed

While compiling my code with -Wconversion using gcc-trunk, I always get a
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.

Signed-off-by: Tomasz Kvarsin
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/buffer.c
include/linux/buffer_head.h