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:	Mon, 2 Nov 2015 00:04:50 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Stephen Rothwell <sfr@...b.auug.org.au>
Cc:	kbuild-all@...org, Andrew Morton <akpm@...ux-foundation.org>,
	Jens Axboe <axboe@...nel.dk>, linux-next@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Mel Gorman <mgorman@...hsingularity.net>,
	Dan Williams <dan.j.williams@...el.com>
Subject: Re: linux-next: manual merge of the akpm-current tree with the block
 tree

Hi Stephen,

[auto build test WARNING on block/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Stephen-Rothwell/linux-next-manual-merge-of-the-akpm-current-tree-with-the-block-tree/20151101-235406
config: x86_64-randconfig-x018-201544 (attached as .config)
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/linkage.h:4:0,
                    from include/linux/kernel.h:6,
                    from block/blk-core.c:14:
   block/blk-core.c: In function 'blk_queue_enter':
   block/blk-core.c:641:8: error: implicit declaration of function 'gfpflags_allow_blocking' [-Werror=implicit-function-declaration]
      if (!gfpflags_allow_blocking(gfp))
           ^
   include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
     if (__builtin_constant_p((cond)) ? !!(cond) :   \
                               ^
>> block/blk-core.c:641:3: note: in expansion of macro 'if'
      if (!gfpflags_allow_blocking(gfp))
      ^
   block/blk-core.c: In function 'generic_make_request':
   block/blk-core.c:2041:33: error: '__GFP_RECLAIM' undeclared (first use in this function)
      if (likely(blk_queue_enter(q, __GFP_RECLAIM) == 0)) {
                                    ^
   include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
     if (__builtin_constant_p((cond)) ? !!(cond) :   \
                               ^
   block/blk-core.c:2041:3: note: in expansion of macro 'if'
      if (likely(blk_queue_enter(q, __GFP_RECLAIM) == 0)) {
      ^
>> block/blk-core.c:2041:7: note: in expansion of macro 'likely'
      if (likely(blk_queue_enter(q, __GFP_RECLAIM) == 0)) {
          ^
   block/blk-core.c:2041:33: note: each undeclared identifier is reported only once for each function it appears in
      if (likely(blk_queue_enter(q, __GFP_RECLAIM) == 0)) {
                                    ^
   include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
     if (__builtin_constant_p((cond)) ? !!(cond) :   \
                               ^
   block/blk-core.c:2041:3: note: in expansion of macro 'if'
      if (likely(blk_queue_enter(q, __GFP_RECLAIM) == 0)) {
      ^
>> block/blk-core.c:2041:7: note: in expansion of macro 'likely'
      if (likely(blk_queue_enter(q, __GFP_RECLAIM) == 0)) {
          ^
   cc1: some warnings being treated as errors

vim +/if +641 block/blk-core.c

   625	}
   626	
   627	struct request_queue *blk_alloc_queue(gfp_t gfp_mask)
   628	{
   629		return blk_alloc_queue_node(gfp_mask, NUMA_NO_NODE);
   630	}
   631	EXPORT_SYMBOL(blk_alloc_queue);
   632	
   633	int blk_queue_enter(struct request_queue *q, gfp_t gfp)
   634	{
   635		while (true) {
   636			int ret;
   637	
   638			if (percpu_ref_tryget_live(&q->q_usage_counter))
   639				return 0;
   640	
 > 641			if (!gfpflags_allow_blocking(gfp))
   642				return -EBUSY;
   643	
   644			ret = wait_event_interruptible(q->mq_freeze_wq,
   645					!atomic_read(&q->mq_freeze_depth) ||
   646					blk_queue_dying(q));
   647			if (blk_queue_dying(q))
   648				return -ENODEV;
   649			if (ret)

---
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/octet-stream" (24338 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ