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] [day] [month] [year] [list]
Message-ID: <201601211251.oLYwusYs%fengguang.wu@intel.com>
Date:	Thu, 21 Jan 2016 12:25:17 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Ross Zwisler <ross.zwisler@...ux.intel.com>
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org,
	Ross Zwisler <ross.zwisler@...ux.intel.com>,
	Alexander Viro <viro@...iv.linux.org.uk>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Dan Williams <dan.j.williams@...el.com>,
	Dave Chinner <david@...morbit.com>, Jan Kara <jack@...e.com>,
	Matthew Wilcox <willy@...ux.intel.com>,
	linux-fsdevel@...r.kernel.org, linux-nvdimm@...ts.01.org
Subject: Re: [PATCH 4/5] dax: fix PMD handling for fsync/msync

Hi Ross,

[auto build test WARNING on next-20160120]
[cannot apply to v4.4-rc8 v4.4-rc7 v4.4-rc6 v4.4]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Ross-Zwisler/DAX-fsync-msync-fixes/20160121-114036
config: tile-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=tile 

All warnings (new ones prefixed by >>):

>> fs/dax.c:330:0: warning: "PMD_INDEX" redefined [enabled by default]
   arch/tile/include/asm/pgtable_64.h:35:0: note: this is the location of the previous definition
>> fs/dax.c:330:0: warning: "PMD_INDEX" redefined [enabled by default]
   arch/tile/include/asm/pgtable_64.h:35:0: note: this is the location of the previous definition

vim +/PMD_INDEX +330 fs/dax.c

   314			.sector = to_sector(bh, inode),
   315			.size = bh->b_size,
   316		};
   317		struct block_device *bdev = bh->b_bdev;
   318		void *vto;
   319	
   320		if (dax_map_atomic(bdev, &dax) < 0)
   321			return PTR_ERR(dax.addr);
   322		vto = kmap_atomic(to);
   323		copy_user_page(vto, (void __force *)dax.addr, vaddr, to);
   324		kunmap_atomic(vto);
   325		dax_unmap_atomic(bdev, &dax);
   326		return 0;
   327	}
   328	
   329	#define NO_SECTOR -1
 > 330	#define PMD_INDEX(page_index) (page_index & (PMD_MASK >> PAGE_CACHE_SHIFT))
   331	
   332	static int dax_radix_entry(struct address_space *mapping, pgoff_t index,
   333			sector_t sector, bool pmd_entry, bool dirty)
   334	{
   335		struct radix_tree_root *page_tree = &mapping->page_tree;
   336		pgoff_t pmd_index = PMD_INDEX(index);
   337		int type, error = 0;
   338		void *entry;

---
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" (43138 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ