Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1235029
| From | Sudip Mukherjee <sudipm.mukherjee@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] logfs: fix build warning |
| Date | 2015-09-29 14:50 +0200 |
| Message-ID | <qe2w2-6Ln-19@gated-at.bofh.it> (permalink) |
| References | <q777s-6Th-17@gated-at.bofh.it> <q8Ttn-7nU-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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: 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> > > --- > Hi, > I know its too early to ping. But I can still see the build warnings > with i386 allmodconfig. Build is at: > https://travis-ci.org/sudipm-mukherjee/parport/jobs/80365417 Another gentle ping. Build warning still shows with next-20150929. regards sudip -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] logfs: fix build warning Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-09-29 14:50 +0200
csiph-web