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]
Message-ID: <201606050624.7WDIopgc%fengguang.wu@intel.com>
Date:	Sun, 5 Jun 2016 06:18:02 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Dan Williams <dan.j.williams@...el.com>
Cc:	kbuild-all@...org, linux-nvdimm@...ts.01.org,
	Ross Zwisler <ross.zwisler@...ux.intel.com>,
	david@...morbit.com, hch@....de, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 13/13] pmem: kill __pmem address space

Hi,

[auto build test WARNING on v4.7-rc1]
[also build test WARNING on next-20160603]
[cannot apply to linux-nvdimm/libnvdimm-for-next tip/x86/core]
[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/Dan-Williams/deprecate-pcommit/20160605-045935
config: s390-default_defconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
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=s390 

All warnings (new ones prefixed by >>):

   drivers/s390/block/dcssblk.c: In function 'dcssblk_direct_access':
>> drivers/s390/block/dcssblk.c:897:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     *kaddr = dev_info->start + offset;
            ^

vim +897 drivers/s390/block/dcssblk.c

   881		bio_io_error(bio);
   882		return BLK_QC_T_NONE;
   883	}
   884	
   885	static long
   886	dcssblk_direct_access (struct block_device *bdev, sector_t secnum,
   887				void **kaddr, pfn_t *pfn, long size)
   888	{
   889		struct dcssblk_dev_info *dev_info;
   890		unsigned long offset, dev_sz;
   891	
   892		dev_info = bdev->bd_disk->private_data;
   893		if (!dev_info)
   894			return -ENODEV;
   895		dev_sz = dev_info->end - dev_info->start;
   896		offset = secnum * 512;
 > 897		*kaddr = dev_info->start + offset;
   898		*pfn = __pfn_to_pfn_t(PFN_DOWN(dev_info->start + offset), PFN_DEV);
   899	
   900		return dev_sz - offset;
   901	}
   902	
   903	static void
   904	dcssblk_check_params(void)
   905	{

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ