linux-sg2042/fs/logfs
Sudip Mukherjee ce4f2fd7ea logfs: fix build warning
fs/logfs/dev_bdev.c: In function '__bdev_writeseg':
include/linux/kernel.h:601:17: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void) (&_min1 == &_min2);  \
fs/logfs/dev_bdev.c:84:14: note: in  expansion of macro 'min'
  max_pages = min(nr_pages, BIO_MAX_PAGES);

fs/logfs/dev_bdev.c: In function 'do_erase':
include/linux/kernel.h:601:17: warning: comparison of distinct pointer types lacks a cast [enabled by default]
 (void) (&_min1 == &_min2);  \
fs/logfs/dev_bdev.c:174:14: note: in expansion of macro 'min'
 max_pages = min(nr_pages, BIO_MAX_PAGES);

Lets use min_t and mention the type.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Cc: Joern Engel <joern@logfs.org>
Cc: Prasad Joshi <prasadjoshi.linux@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-11-05 19:34:48 -08:00
..
Kconfig fs/logfs: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:39:05 -08:00
Makefile
compr.c
dev_bdev.c logfs: fix build warning 2015-11-05 19:34:48 -08:00
dev_mtd.c
dir.c logfs: fix a pagecache leak for symlinks 2015-05-10 22:18:28 -04:00
file.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00
gc.c
inode.c Fix misspellings of "whether" in comments. 2012-11-19 14:31:35 +01:00
journal.c logfs: create a pagecache page if it is not present 2012-07-23 09:18:14 +05:30
logfs.h
logfs_abi.h
readwrite.c fs/logfs/readwrite.c: kernel-doc warning fixes 2014-08-06 18:01:12 -07:00
segment.c logfs: check for the return value after calling find_or_create_page() 2014-01-23 16:36:54 -08:00
super.c fs: Limit sys_mount to only request filesystem modules. 2013-03-03 19:36:31 -08:00