lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 31 Aug 2018 17:01:30 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Dennis Zhou <dennisszhou@...il.com>
Cc:     kbuild-all@...org, Jens Axboe <axboe@...nel.dk>,
        Tejun Heo <tj@...nel.org>,
        Johannes Weiner <hannes@...xchg.org>,
        Josef Bacik <josef@...icpanda.com>, kernel-team@...com,
        linux-block@...r.kernel.org, cgroups@...r.kernel.org,
        linux-kernel@...r.kernel.org,
        "Dennis Zhou (Facebook)" <dennisszhou@...il.com>
Subject: Re: [PATCH 06/15] blkcg: always associate a bio with a blkg

Hi Dennis,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on block/for-next]
[also build test WARNING on v4.19-rc1 next-20180831]
[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/Dennis-Zhou/blkcg-ref-count-refactor-cleanup-blkcg-avg_lat/20180831-161742
base:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
config: x86_64-randconfig-x019-201834 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   In file included from include/linux/blkdev.h:21:0,
                    from block//partitions/check.h:3,
                    from block//partitions/check.c:22:
>> include/linux/bio.h:566:17: warning: 'struct blkcg_gq' declared inside parameter list will not be visible outside of this definition or declaration
             struct blkcg_gq *blkg) { return 0; }
                    ^~~~~~~~

vim +566 include/linux/bio.h

   555	
   556	#ifdef CONFIG_BLK_CGROUP
   557	int bio_associate_blkcg(struct bio *bio, struct cgroup_subsys_state *blkcg_css);
   558	int bio_associate_blkg(struct bio *bio, struct blkcg_gq *blkg);
   559	int bio_associate_create_blkg(struct request_queue *q, struct bio *bio);
   560	void bio_disassociate_task(struct bio *bio);
   561	void bio_clone_blkcg_association(struct bio *dst, struct bio *src);
   562	#else	/* CONFIG_BLK_CGROUP */
   563	static inline int bio_associate_blkcg(struct bio *bio,
   564				struct cgroup_subsys_state *blkcg_css) { return 0; }
   565	static inline int bio_associate_blkg(struct bio *bio,
 > 566					     struct blkcg_gq *blkg) { return 0; }
   567	static inline int bio_associate_create_blkg(struct request_queue *q,
   568						    struct bio *bio) { return 0; }
   569	static inline void bio_disassociate_task(struct bio *bio) { }
   570	static inline void bio_clone_blkcg_association(struct bio *dst,
   571				struct bio *src) { }
   572	#endif	/* CONFIG_BLK_CGROUP */
   573	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (32602 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ