Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1450700
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH BUGFIX V4] block: add missing group association in bio-cloning functions |
| Date | 2016-07-26 19:10 +0200 |
| Message-ID | <rZe1H-4Pb-3@gated-at.bofh.it> (permalink) |
| References | <rZdIl-4pd-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi,
[auto build test WARNING on block/for-next]
[also build test WARNING on v4.7 next-20160726]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Paolo-Valente/block-add-missing-group-association-in-bio-cloning-functions/20160727-005044
base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
config: x86_64-randconfig-x015-201630 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
In file included from block/bio.c:20:0:
include/linux/bio.h: In function 'bio_clone_blkcg_association':
>> include/linux/bio.h:480:30: warning: 'return' with a value, in function returning void
struct bio *src) { return 0; }
^
include/linux/bio.h:479:20: note: declared here
static inline void bio_clone_blkcg_association(struct bio *dst,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/return +480 include/linux/bio.h
464 void zero_fill_bio(struct bio *bio);
465 extern struct bio_vec *bvec_alloc(gfp_t, int, unsigned long *, mempool_t *);
466 extern void bvec_free(mempool_t *, struct bio_vec *, unsigned int);
467 extern unsigned int bvec_nr_vecs(unsigned short idx);
468
469 #ifdef CONFIG_BLK_CGROUP
470 int bio_associate_blkcg(struct bio *bio, struct cgroup_subsys_state *blkcg_css);
471 int bio_associate_current(struct bio *bio);
472 void bio_disassociate_task(struct bio *bio);
473 void bio_clone_blkcg_association(struct bio *dst, struct bio *src);
474 #else /* CONFIG_BLK_CGROUP */
475 static inline int bio_associate_blkcg(struct bio *bio,
476 struct cgroup_subsys_state *blkcg_css) { return 0; }
477 static inline int bio_associate_current(struct bio *bio) { return -ENOENT; }
478 static inline void bio_disassociate_task(struct bio *bio) { }
479 static inline void bio_clone_blkcg_association(struct bio *dst,
> 480 struct bio *src) { return 0; }
481 #endif /* CONFIG_BLK_CGROUP */
482
483 #ifdef CONFIG_HIGHMEM
484 /*
485 * remember never ever reenable interrupts between a bvec_kmap_irq and
486 * bvec_kunmap_irq!
487 */
488 static inline char *bvec_kmap_irq(struct bio_vec *bvec, unsigned long *flags)
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH BUGFIX V4] block: add missing group association in bio-cloning functions Paolo Valente <paolo.valente@linaro.org> - 2016-07-26 18:50 +0200
Re: [PATCH BUGFIX V4] block: add missing group association in bio-cloning functions kbuild test robot <lkp@intel.com> - 2016-07-26 19:10 +0200
[PATCH BUGFIX V5] block: add missing group association in bio-cloning functions Paolo Valente <paolo.valente@linaro.org> - 2016-07-27 07:30 +0200
Re: [PATCH BUGFIX V5] block: add missing group association in bio-cloning functions Jens Axboe <axboe@kernel.dk> - 2016-07-27 16:50 +0200
csiph-web