Re: [PATCH] logfs: fix build warning

2015-10-01 Thread Andrew Morton
On Thu, 10 Sep 2015 15:41:04 +0530 Sudip Mukherjee wrote: > While building we were getting build warning of: > > 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) (&_

Re: [PATCH] logfs: fix build warning

2015-09-29 Thread Sudip Mukherjee
On Tue, Sep 15, 2015 at 01:33:15PM +0530, Sudip Mukherjee wrote: > On Thu, Sep 10, 2015 at 03:41:04PM +0530, Sudip Mukherjee wrote: > > While building we were getting build warning of: > > > > fs/logfs/dev_bdev.c: In function '__bdev_writeseg': > > include/linux/kernel.h:601:17: warning: compariso

Re: [PATCH] logfs: fix build warning

2015-09-15 Thread Sudip Mukherjee
On Thu, Sep 10, 2015 at 03:41:04PM +0530, Sudip Mukherjee wrote: > While building we were getting build warning of: > > 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)

[PATCH] logfs: fix build warning

2015-09-10 Thread Sudip Mukherjee
While building we were getting build warning of: 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 mac