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: <201606050542.L1fFwClE%fengguang.wu@intel.com>
Date:	Sun, 5 Jun 2016 05:49:47 +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, linux-kernel@...r.kernel.org, hch@....de
Subject: Re: [PATCH 04/13] libnvdimm, nfit: move flush hint mapping to dimm
 driver

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: x86_64-randconfig-s4-06050512 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   In file included from drivers/nvdimm/core.c:13:0:
>> include/linux/libnvdimm.h:78:37: warning: 'struct device' declared inside parameter list will not be visible outside of this definition or declaration
     int (*populate_flush_hints)(struct device *dev,
                                        ^~~~~~

vim +78 include/linux/libnvdimm.h

    62		 * get_ndd() + put_ndd(), all other nd_mapping to ndd
    63		 * conversions use to_ndd() which respects enabled state of the
    64		 * nvdimm.
    65		 */
    66		struct nvdimm_drvdata *ndd;
    67	};
    68	
    69	/**
    70	 * struct nvdimm_bus_descriptor - operations and attributes for an nvdimm bus
    71	 * @attr_groups: sysfs attributes for this bus
    72	 */
    73	struct nvdimm_bus_descriptor {
    74		const struct attribute_group **attr_groups;
    75		unsigned long cmd_mask;
    76		char *provider_name;
    77		ndctl_fn ndctl;
  > 78		int (*populate_flush_hints)(struct device *dev,
    79				void __iomem *flush_wpq[]);
    80		int (*flush_probe)(struct nvdimm_bus_descriptor *nd_desc);
    81		int (*clear_to_send)(struct nvdimm_bus_descriptor *nd_desc,
    82				struct nvdimm *nvdimm, unsigned int cmd);
    83	};
    84	
    85	struct nd_cmd_desc {
    86		int in_num;

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ